1 /***************************************************************************
2 * Copyright (C) 2009 by Pino Toscano <pino@kde.org> *
4 * This program is free software; you can redistribute it and/or modify *
5 * it under the terms of the GNU General Public License as published by *
6 * the Free Software Foundation; either version 2 of the License, or *
7 * (at your option) any later version. *
8 ***************************************************************************/
10 #ifndef ANIMATEDWIDGET_H
11 #define ANIMATEDWIDGET_H
13 #include <qbasictimer.h>
17 class AnimatedWidget
: public QWidget
22 AnimatedWidget( const QString
& iconName
, QWidget
*parent
= 0 );
23 virtual ~AnimatedWidget();
30 void paintEvent( QPaintEvent
*event
);
31 void resizeEvent( QResizeEvent
*event
);
32 void timerEvent( QTimerEvent
*event
);