diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2015-09-21 23:33:18 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2015-09-21 23:33:18 -0500 |
commit | 2d06be1026fc69b8ef4fa0ce7eff31d63431b6f5 (patch) | |
tree | e160a175689704a9b4d0a86b99e8dda8571ecfbd /src/daemon | |
parent | 8814698e3f5134f697025e5fad2ed940637e9272 (diff) | |
download | kdbusnotification-2d06be1026fc69b8ef4fa0ce7eff31d63431b6f5.tar.gz kdbusnotification-2d06be1026fc69b8ef4fa0ce7eff31d63431b6f5.zip |
Fix incorrect slots
Diffstat (limited to 'src/daemon')
-rw-r--r-- | src/daemon/daemon.cpp | 16 | ||||
-rw-r--r-- | src/daemon/daemon.h | 12 |
2 files changed, 26 insertions, 2 deletions
diff --git a/src/daemon/daemon.cpp b/src/daemon/daemon.cpp index 957541e..d680f72 100644 --- a/src/daemon/daemon.cpp +++ b/src/daemon/daemon.cpp @@ -44,9 +44,21 @@ #include "daemon.h" -TDEPassivePopupStackContainer* GTKNotifierContainer = NULL; +NotificationContainer* GTKNotifierContainer = NULL; void real_handleGTKMain(); +NotificationContainer::NotificationContainer() : TDEPassivePopupStackContainer() { + // +} + +NotificationContainer::~NotificationContainer() { + // +} + +void NotificationContainer::handleGTKMain() { + real_handleGTKMain(); +} + #undef signals #include <dbus/dbus.h> @@ -287,7 +299,7 @@ main(int argc, char **argv) TDECmdLineArgs::init(argc, argv, &aboutData); TDEApplication app; - TDEPassivePopupStackContainer nc; + NotificationContainer nc; app.setMainWidget(&nc); GTKNotifierContainer = &nc; TQTimer *gtkEventProcessor = new TQTimer( &app ); diff --git a/src/daemon/daemon.h b/src/daemon/daemon.h index 8931293..768f438 100644 --- a/src/daemon/daemon.h +++ b/src/daemon/daemon.h @@ -22,6 +22,18 @@ #ifndef NOTIFY_DAEMON_H #define NOTIFY_DAEMON_H +class TDEUI_EXPORT NotificationContainer : public TDEPassivePopupStackContainer +{ + Q_OBJECT + + public: + NotificationContainer(); + ~NotificationContainer(); + + public slots: + void handleGTKMain(); +}; + #include <glib.h> #include <glib-object.h> |