/***************************************************************************
-* Copyright (C) 2005-08 by the Quassel Project *
+* Copyright (C) 2005-09 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
#ifndef KNOTIFICATIONBACKEND_H_
#define KNOTIFICATIONBACKEND_H_
+#include <KSystemTrayIcon>
+
#include "abstractnotificationbackend.h"
#include "settingspage.h"
private slots:
void notificationActivated();
+ void notificationActivated(QSystemTrayIcon::ActivationReason);
+ void notificationActivated(uint notificationId);
+ void notificationClosed();
private:
class ConfigWidget;
+
+ QHash<KNotification *, uint> _notificationIds;
};
class KNotificationBackend::ConfigWidget : public SettingsPage {