[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/nsplugins
From: David Faure <faure () kde ! org>
Date: 2006-06-30 18:24:08
Message-ID: 1151691848.463236.22489.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 556577 by dfaure:
Port to DBus
M +4 -7 nspluginloader.cpp
--- trunk/KDE/kdebase/nsplugins/nspluginloader.cpp #556576:556577
@@ -140,13 +140,10 @@
_mapping.setAutoDelete( true );
_filetype.setAutoDelete(true);
- // trap dcop register events
-#warning DBus port: connect to right signal
-#if 0
- QObject::connect(kapp->dcopClient(),
- SIGNAL(applicationRegistered(const QByteArray&)),
- this, SLOT(applicationRegistered(const QByteArray&)));
-#endif
+ // trap dbus register events
+ QObject::connect(QDBus::sessionBus().busService(),
+ SIGNAL(NameAcquired(const QString&)),
+ this, SLOT(applicationRegistered(const QString&)));
// load configuration
KConfig cfg("kcmnspluginrc", false);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic