Remove not necessary forward declaration
[rsibreak.git] / plasma / rsibreak.h
blob5984131ec44a7933d03e7dc8f3f158814678003e
1 /*
2 Copyright (C) 2007 Tom Albers <tomalbers@kde.nl>
4 This program is free software; you can redistribute it and/or
5 modify it under the terms of the GNU General Public
6 License as published by the Free Software Foundation; either
7 version 2 of the License, or (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 #ifndef RSIBREAK_H
20 #define RSIBREAK_H
22 #include <plasma/applet.h>
23 #include <QTimer>
25 class RSIBreak : public Plasma::Applet
27 Q_OBJECT
28 public:
29 RSIBreak(QObject *parent, const QStringList &args);
30 ~RSIBreak();
32 QSizeF contentSize () const;
33 void paintInterface( QPainter *painter,
34 const QStyleOptionGraphicsItem *option,
35 const QRect &contentsRect);
36 private slots:
37 void slotUpdate();
39 private:
40 QTimer* m_timer;
43 K_EXPORT_PLASMA_APPLET(rsibreak, RSIBreak)
45 #endif