[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/kded
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2010-05-19 17:42:25
Message-ID: 20100519174225.D58DEAC8BC () svn ! kde ! org
[Download RAW message or body]

SVN commit 1128583 by aseigo:

unecessary code; org.kde.kded has /MainApplication quit() which is what kquitapp \
requires. no workarounds are needed these days.


 M  +0 -31     kded.cpp  


--- trunk/KDE/kdelibs/kded/kded.cpp #1128582:1128583
@@ -754,37 +754,6 @@
 }
 
 
-#if 0
-// Thiago: I have no idea what the following class is here for
-// David: the commit log was:
-//       Disable DCOP-Qt bridge but make sure that "dcopquit kded" continues to \
                work.
-//       (see the setQtBridgeEnabled below)
-class KDEDQtDCOPObject : public DCOPObject
-{
-public:
-  KDEDQtDCOPObject() : DCOPObject("qt/kded") { }
-
-  virtual bool process(const DCOPCString &fun, const QByteArray &data,
-                       DCOPCString& replyType, QByteArray &replyData)
-    {
-      if (qApp && (fun == "quit()"))
-      {
-        qApp->quit();
-        replyType = "void";
-        return true;
-      }
-      return DCOPObject::process(fun, data, replyType, replyData);
-    }
-
-  DCOPCStringList functions()
-    {
-       DCOPCStringList res = DCOPObject::functions();
-       res += "void quit()";
-       return res;
-    }
-};
-#endif
-
 KBuildsycocaAdaptor::KBuildsycocaAdaptor(QObject *parent)
    : QDBusAbstractAdaptor(parent)
 {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic