projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve systray notifications
[quassel.git]
/
src
/
qtui
/
systraynotificationbackend.h
diff --git
a/src/qtui/systraynotificationbackend.h
b/src/qtui/systraynotificationbackend.h
index
dc5fbb5
..
f4e2c6e
100644
(file)
--- a/
src/qtui/systraynotificationbackend.h
+++ b/
src/qtui/systraynotificationbackend.h
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
-* Copyright (C) 2005-0
8
by the Quassel Project *
+* Copyright (C) 2005-0
9
by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-32,18
+32,15
@@
class SystrayNotificationBackend : public AbstractNotificationBackend {
public:
SystrayNotificationBackend(QObject *parent = 0);
public:
SystrayNotificationBackend(QObject *parent = 0);
- ~SystrayNotificationBackend();
void notify(const Notification &);
void close(uint notificationId);
void notify(const Notification &);
void close(uint notificationId);
-
SettingsPage *c
onfigWidget() const;
+
virtual SettingsPage *createC
onfigWidget() const;
private slots:
void showBubble();
void closeBubble();
private slots:
void showBubble();
void closeBubble();
- void startAnimation();
- void stopAnimation();
- void blink();
+ void notificationActivated();
void animateChanged(const QVariant &);
void showBubbleChanged(const QVariant &);
void animateChanged(const QVariant &);
void showBubbleChanged(const QVariant &);
@@
-51,12
+48,10
@@
private slots:
private:
class ConfigWidget;
private:
class ConfigWidget;
- SettingsPage *_configWidget;
bool _showBubble;
bool _animate;
bool _showBubble;
bool _animate;
- bool _iconActive;
- QTimer _animationTimer;
QList<Notification> _notifications;
QList<Notification> _notifications;
+ uint _activeId;
};
class SystrayNotificationBackend::ConfigWidget : public SettingsPage {
};
class SystrayNotificationBackend::ConfigWidget : public SettingsPage {