summaryrefslogtreecommitdiffstats
path: root/src/daemon/NotificationsService.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/NotificationsService.cpp')
-rw-r--r--src/daemon/NotificationsService.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/daemon/NotificationsService.cpp b/src/daemon/NotificationsService.cpp
index 3fee190..297068f 100644
--- a/src/daemon/NotificationsService.cpp
+++ b/src/daemon/NotificationsService.cpp
@@ -32,7 +32,6 @@ NotificationsService::NotificationsService(TQT_DBusConnection &conn)
: org::freedesktop::NotificationsInterface(), mConnection(&conn)
{
// TODO Auto-generated constructor stub
-
}
NotificationsService::~NotificationsService()
@@ -59,7 +58,8 @@ bool NotificationsService::GetCapabilities(TQStringList& return_caps, TQT_DBusEr
}
void NotificationsService::CloseNotificationAsync(int asyncCallId, TQ_UINT32 id) {
- // Do nothing
+
+ CloseNotificationAsyncReply(asyncCallId);
}
bool NotificationsService::ReloadSettings(TQT_DBusError& error) {
@@ -84,7 +84,7 @@ void NotificationsService::NotifyAsync(
const TQMap<TQString, TQT_DBusVariant>& hints, TQ_INT32 timeout)
{
- notificationMap[id] = new NotifyWidget(0, app_name.ascii() );
+ notificationMap[id] = new NotifyWidget(0, app_name.ascii(), id );
notificationMap[id]->setFrameStyle( TQFrame::NoFrame );
notificationMap[id]->setIcon(icon);
notificationMap[id]->setPaletteBackgroundColor(TQt::black);
@@ -102,6 +102,6 @@ void NotificationsService::NotifyAsync(
}
-void NotificationsService::handleMethodReply(const TQT_DBusMessage& reply){
+void NotificationsService::handleMethodReply(const TQT_DBusMessage& reply) {
mConnection->send(reply);
}