Clementine-audio-player-Mac.../src/systemtrayicon.h

26 lines
391 B
C
Raw Normal View History

2009-12-24 20:16:07 +01:00
#ifndef SYSTEMTRAYICON_H
#define SYSTEMTRAYICON_H
#include <QSystemTrayIcon>
class SystemTrayIcon : public QSystemTrayIcon {
Q_OBJECT
public:
SystemTrayIcon(QObject* parent = 0);
bool event(QEvent* event);
public slots:
void SetProgress(int percentage);
2009-12-24 20:16:07 +01:00
signals:
void WheelEvent(int delta);
private:
QPixmap icon_;
QPixmap grey_icon_;
2009-12-24 20:16:07 +01:00
};
#endif // SYSTEMTRAYICON_H