summaryrefslogtreecommitdiff
path: root/core/pim/today/todayconfig.cpp
Unidiff
Diffstat (limited to 'core/pim/today/todayconfig.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/todayconfig.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/pim/today/todayconfig.cpp b/core/pim/today/todayconfig.cpp
index bfb5ec6..e71c5b0 100644
--- a/core/pim/today/todayconfig.cpp
+++ b/core/pim/today/todayconfig.cpp
@@ -14,31 +14,28 @@
14 * * 14 * *
15 ***************************************************************************/ 15 ***************************************************************************/
16 16
17#include "todayconfig.h" 17#include "todayconfig.h"
18 18
19#include <qpe/config.h> 19#include <qpe/config.h>
20#include <qpe/resource.h> 20#include <qpe/resource.h>
21#include <qpe/qcopenvelope_qws.h> 21#include <qpe/qcopenvelope_qws.h>
22 22
23#include <qcheckbox.h> 23#include <qcheckbox.h>
24#include <qlabel.h> 24#include <qlabel.h>
25#include <qspinbox.h> 25#include <qspinbox.h>
26#include <qtabwidget.h>
27#include <qlayout.h> 26#include <qlayout.h>
28#include <qheader.h> 27#include <qheader.h>
29#include <qhbox.h>
30#include <qvbox.h> 28#include <qvbox.h>
31#include <qtoolbutton.h> 29#include <qtoolbutton.h>
32#include <qtooltip.h>
33#include <qwhatsthis.h> 30#include <qwhatsthis.h>
34 31
35class ToolButton : public QToolButton { 32class ToolButton : public QToolButton {
36 33
37public: 34public:
38 ToolButton( QWidget *parent, const char *name, const QString& icon, QObject *handler, const QString& slot, bool t = FALSE ) 35 ToolButton( QWidget *parent, const char *name, const QString& icon, QObject *handler, const QString& slot, bool t = FALSE )
39 : QToolButton( parent, name ) { 36 : QToolButton( parent, name ) {
40 setPixmap( Resource::loadPixmap( icon ) ); 37 setPixmap( Resource::loadPixmap( icon ) );
41 setAutoRaise( TRUE ); 38 setAutoRaise( TRUE );
42 setFocusPolicy( QWidget::NoFocus ); 39 setFocusPolicy( QWidget::NoFocus );
43 setToggleButton( t ); 40 setToggleButton( t );
44 connect( this, t ? SIGNAL( toggled(bool) ) : SIGNAL( clicked() ), handler, slot ); 41 connect( this, t ? SIGNAL( toggled(bool) ) : SIGNAL( clicked() ), handler, slot );