Fix incorrect slots

pull/1/head
Timothy Pearson 9 years ago
parent 8814698e3f
commit 2d06be1026

@ -44,9 +44,21 @@
#include "daemon.h" #include "daemon.h"
TDEPassivePopupStackContainer* GTKNotifierContainer = NULL; NotificationContainer* GTKNotifierContainer = NULL;
void real_handleGTKMain(); void real_handleGTKMain();
NotificationContainer::NotificationContainer() : TDEPassivePopupStackContainer() {
//
}
NotificationContainer::~NotificationContainer() {
//
}
void NotificationContainer::handleGTKMain() {
real_handleGTKMain();
}
#undef signals #undef signals
#include <dbus/dbus.h> #include <dbus/dbus.h>
@ -287,7 +299,7 @@ main(int argc, char **argv)
TDECmdLineArgs::init(argc, argv, &aboutData); TDECmdLineArgs::init(argc, argv, &aboutData);
TDEApplication app; TDEApplication app;
TDEPassivePopupStackContainer nc; NotificationContainer nc;
app.setMainWidget(&nc); app.setMainWidget(&nc);
GTKNotifierContainer = &nc; GTKNotifierContainer = &nc;
TQTimer *gtkEventProcessor = new TQTimer( &app ); TQTimer *gtkEventProcessor = new TQTimer( &app );

@ -22,6 +22,18 @@
#ifndef NOTIFY_DAEMON_H #ifndef NOTIFY_DAEMON_H
#define 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.h>
#include <glib-object.h> #include <glib-object.h>

Loading…
Cancel
Save