summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 15:00:00 -0600
committerTimothy Pearson <[email protected]>2013-02-01 15:00:00 -0600
commit556d8aa222de3c71903c747b0d1fb2cf6d8b6fd9 (patch)
treeb6361fc241e790df1a1e9580853474fd86c43d9b /src
parentd9af28e57440af6840de284c673c37c4451f3427 (diff)
downloadkdbusnotification-556d8aa222de3c71903c747b0d1fb2cf6d8b6fd9.tar.gz
kdbusnotification-556d8aa222de3c71903c747b0d1fb2cf6d8b6fd9.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'src')
-rw-r--r--src/daemon/daemon.cpp10
-rw-r--r--src/daemon/daemon.h2
2 files changed, 6 insertions, 6 deletions
diff --git a/src/daemon/daemon.cpp b/src/daemon/daemon.cpp
index 1693e0a..2978027 100644
--- a/src/daemon/daemon.cpp
+++ b/src/daemon/daemon.cpp
@@ -44,7 +44,7 @@
#include "daemon.h"
NotifierContainer* GTKNotifierContainer = NULL;
-void real_handleGTKMain();
+void real_handleGTTDEMain();
NotifierContainer::NotifierContainer() : TQWidget() {
mPopupList.clear();
@@ -59,8 +59,8 @@ NotifierContainer::NotifierContainer() : TQWidget() {
NotifierContainer::~NotifierContainer() {
}
-void NotifierContainer::handleGTKMain() {
- real_handleGTKMain();
+void NotifierContainer::handleGTTDEMain() {
+ real_handleGTTDEMain();
}
void NotifierContainer::displayMessage(TQString title, TQString message, TQString icon, int x, int y) {
@@ -356,7 +356,7 @@ main(int argc, char **argv)
app.setMainWidget(&nc);
GTKNotifierContainer = &nc;
TQTimer *gtkEventProcessor = new TQTimer( &app );
- TQObject::connect( gtkEventProcessor, SIGNAL(timeout()), &nc, SLOT(handleGTKMain()) );
+ TQObject::connect( gtkEventProcessor, SIGNAL(timeout()), &nc, SLOT(handleGTTDEMain()) );
gtkEventProcessor->start( 100, FALSE ); // Every 0.1 seconds poll gtk for DBUS events
app.disableSessionManagement();
app.exec();
@@ -364,7 +364,7 @@ main(int argc, char **argv)
return 0;
}
-void real_handleGTKMain() {
+void real_handleGTTDEMain() {
while (gtk_events_pending())
gtk_main_iteration();
}
diff --git a/src/daemon/daemon.h b/src/daemon/daemon.h
index 092242d..8e85a09 100644
--- a/src/daemon/daemon.h
+++ b/src/daemon/daemon.h
@@ -38,7 +38,7 @@ public:
void processEvents();
public slots:
- void handleGTKMain();
+ void handleGTTDEMain();
void popupClosed(KPassivePopup*);
private: