author | harlekin <harlekin> | 2003-03-08 22:19:44 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-03-08 22:19:44 (UTC) |
commit | 1d96fca5d80a2e7e96f2bd28168175a6e5c5c04a (patch) (unidiff) | |
tree | 00ba4dd57941d11a2592e024cb76e71b9b45e6cf /core/pim/datebook/datebookdayheaderimpl.cpp | |
parent | 6d0502893df34cc9918a3848133cb8b581e127cc (diff) | |
download | opie-1d96fca5d80a2e7e96f2bd28168175a6e5c5c04a.zip opie-1d96fca5d80a2e7e96f2bd28168175a6e5c5c04a.tar.gz opie-1d96fca5d80a2e7e96f2bd28168175a6e5c5c04a.tar.bz2 |
use icons from inline instead of inlining some icons in the ui file
Diffstat (limited to 'core/pim/datebook/datebookdayheaderimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/datebook/datebookdayheaderimpl.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/pim/datebook/datebookdayheaderimpl.cpp b/core/pim/datebook/datebookdayheaderimpl.cpp index fbcb3d2..7d77153 100644 --- a/core/pim/datebook/datebookdayheaderimpl.cpp +++ b/core/pim/datebook/datebookdayheaderimpl.cpp | |||
@@ -11,48 +11,53 @@ | |||
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | #include "datebookdayheaderimpl.h" | 20 | #include "datebookdayheaderimpl.h" |
21 | 21 | ||
22 | #include <qpe/datebookmonth.h> | 22 | #include <qpe/datebookmonth.h> |
23 | #include <qpe/resource.h> | ||
23 | #include <qpe/timestring.h> | 24 | #include <qpe/timestring.h> |
24 | 25 | ||
25 | #include <qbuttongroup.h> | 26 | #include <qbuttongroup.h> |
26 | #include <qpopupmenu.h> | 27 | #include <qpopupmenu.h> |
27 | #include <qstringlist.h> | 28 | #include <qstringlist.h> |
28 | #include <qtimer.h> | 29 | #include <qtimer.h> |
29 | #include <qtoolbutton.h> | 30 | #include <qtoolbutton.h> |
30 | 31 | ||
32 | |||
31 | /* | 33 | /* |
32 | * Constructs a DateBookDayHeader which is a child of 'parent', with the | 34 | * Constructs a DateBookDayHeader which is a child of 'parent', with the |
33 | * name 'name' and widget flags set to 'f' | 35 | * name 'name' and widget flags set to 'f' |
34 | * | 36 | * |
35 | * The dialog will by default be modeless, unless you set 'modal' to | 37 | * The dialog will by default be modeless, unless you set 'modal' to |
36 | * TRUE to construct a modal dialog. | 38 | * TRUE to construct a modal dialog. |
37 | */ | 39 | */ |
38 | DateBookDayHeader::DateBookDayHeader( bool useMonday, | 40 | DateBookDayHeader::DateBookDayHeader( bool useMonday, |
39 | QWidget* parent, const char* name ) | 41 | QWidget* parent, const char* name ) |
40 | : DateBookDayHeaderBase( parent, name ), | 42 | : DateBookDayHeaderBase( parent, name ), |
41 | bUseMonday( useMonday ) | 43 | bUseMonday( useMonday ) |
42 | { | 44 | { |
43 | connect(date,SIGNAL(pressed()),this,SLOT(pickDate())); | 45 | connect(date,SIGNAL(pressed()),this,SLOT(pickDate())); |
44 | 46 | ||
45 | setupNames(); | 47 | setupNames(); |
46 | 48 | ||
49 | forward->setPixmap( Resource::loadPixmap( "forward" ) ); | ||
50 | back->setPixmap( Resource::loadPixmap( "back" ) ); | ||
51 | |||
47 | setBackgroundMode( PaletteButton ); | 52 | setBackgroundMode( PaletteButton ); |
48 | grpDays->setBackgroundMode( PaletteButton ); | 53 | grpDays->setBackgroundMode( PaletteButton ); |
49 | } | 54 | } |
50 | 55 | ||
51 | /* | 56 | /* |
52 | * Destroys the object and frees any allocated resources | 57 | * Destroys the object and frees any allocated resources |
53 | */ | 58 | */ |
54 | DateBookDayHeader::~DateBookDayHeader() | 59 | DateBookDayHeader::~DateBookDayHeader() |
55 | { | 60 | { |
56 | // no need to delete child widgets, Qt does it all for us | 61 | // no need to delete child widgets, Qt does it all for us |
57 | } | 62 | } |
58 | 63 | ||