-rw-r--r-- | core/pim/today/todaybase.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/pim/today/todaybase.cpp b/core/pim/today/todaybase.cpp index feb9a84..f2958ad 100644 --- a/core/pim/today/todaybase.cpp +++ b/core/pim/today/todaybase.cpp | |||
@@ -1,44 +1,43 @@ | |||
1 | /* | 1 | /* |
2 | * todaybase.cpp | 2 | * todaybase.cpp |
3 | * | 3 | * |
4 | * copyright : (c) 2002, 2003 by Maximilian Reiß | 4 | * copyright : (c) 2002, 2003 by Maximilian Reiß |
5 | * email : harlekin@handhelds.org | 5 | * email : harlekin@handhelds.org |
6 | * | 6 | * |
7 | */ | 7 | */ |
8 | /*************************************************************************** | 8 | /*************************************************************************** |
9 | * * | 9 | * * |
10 | * This program is free software; you can redistribute it and/or modify * | 10 | * This program is free software; you can redistribute it and/or modify * |
11 | * it under the terms of the GNU General Public License as published by * | 11 | * it under the terms of the GNU General Public License as published by * |
12 | * the Free Software Foundation; either version 2 of the License, or * | 12 | * the Free Software Foundation; either version 2 of the License, or * |
13 | * (at your option) any later version. * | 13 | * (at your option) any later version. * |
14 | * * | 14 | * * |
15 | ***************************************************************************/ | 15 | ***************************************************************************/ |
16 | 16 | ||
17 | #include "todaybase.h" | 17 | #include "todaybase.h" |
18 | 18 | ||
19 | #include <qvbox.h> | 19 | #include <qvbox.h> |
20 | #include <qlabel.h> | ||
21 | #include <qwhatsthis.h> | 20 | #include <qwhatsthis.h> |
22 | 21 | ||
23 | #include <qpe/resource.h> | 22 | #include <qpe/resource.h> |
24 | 23 | ||
25 | 24 | ||
26 | TodayBase::TodayBase( QWidget* parent, const char* name, WFlags ) | 25 | TodayBase::TodayBase( QWidget* parent, const char* name, WFlags ) |
27 | : QWidget( parent, name, WStyle_ContextHelp ) { | 26 | : QWidget( parent, name, WStyle_ContextHelp ) { |
28 | 27 | ||
29 | QPixmap logo = Resource::loadPixmap( "today/today_logo"); // logo | 28 | QPixmap logo = Resource::loadPixmap( "today/today_logo"); // logo |
30 | QPixmap opiezilla = Resource::loadPixmap("today/opiezilla" ); //the opiezilla | 29 | QPixmap opiezilla = Resource::loadPixmap("today/opiezilla" ); //the opiezilla |
31 | QPixmap config = Resource::loadPixmap( "SettingsIcon" ); // config icon | 30 | QPixmap config = Resource::loadPixmap( "SettingsIcon" ); // config icon |
32 | 31 | ||
33 | layout = 0L; | 32 | layout = 0L; |
34 | 33 | ||
35 | QPalette pal = this->palette(); | 34 | QPalette pal = this->palette(); |
36 | QColor col = pal.color( QPalette::Active, QColorGroup::Background ); | 35 | QColor col = pal.color( QPalette::Active, QColorGroup::Background ); |
37 | pal.setColor( QPalette::Active, QColorGroup::Button, col ); | 36 | pal.setColor( QPalette::Active, QColorGroup::Button, col ); |
38 | pal.setColor( QPalette::Inactive, QColorGroup::Button, col ); | 37 | pal.setColor( QPalette::Inactive, QColorGroup::Button, col ); |
39 | pal.setColor( QPalette::Normal, QColorGroup::Button, col ); | 38 | pal.setColor( QPalette::Normal, QColorGroup::Button, col ); |
40 | pal.setColor( QPalette::Disabled, QColorGroup::Button, col ); | 39 | pal.setColor( QPalette::Disabled, QColorGroup::Button, col ); |
41 | this->setPalette( pal ); | 40 | this->setPalette( pal ); |
42 | 41 | ||
43 | // --- logo Section --- | 42 | // --- logo Section --- |
44 | QPalette pal2; | 43 | QPalette pal2; |