#ifndef SYSTRAYNOTIFICATIONBACKEND_H_
#define SYSTRAYNOTIFICATIONBACKEND_H_
+#ifndef QT_NO_SYSTEMTRAYICON
+
+#include <QSystemTrayIcon>
+
#include "abstractnotificationbackend.h"
#include "settingspage.h"
void showBubble();
void closeBubble();
void notificationActivated();
+ void notificationActivated(QSystemTrayIcon::ActivationReason);
void animateChanged(const QVariant &);
void showBubbleChanged(const QVariant &);
bool _showBubble;
bool _animate;
QList<Notification> _notifications;
- uint _activeId;
};
class SystrayNotificationBackend::ConfigWidget : public SettingsPage {
bool _showBubble, _animate;
};
+#endif /* QT_NO_SYSTEMTRAYICON */
+
#endif