summaryrefslogtreecommitdiff
path: root/core/pim/datebook/datebookdayheaderimpl.cpp
authorharlekin <harlekin>2003-03-08 22:19:44 (UTC)
committer harlekin <harlekin>2003-03-08 22:19:44 (UTC)
commit1d96fca5d80a2e7e96f2bd28168175a6e5c5c04a (patch) (unidiff)
tree00ba4dd57941d11a2592e024cb76e71b9b45e6cf /core/pim/datebook/datebookdayheaderimpl.cpp
parent6d0502893df34cc9918a3848133cb8b581e127cc (diff)
downloadopie-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.cpp5
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
@@ -17,20 +17,22 @@
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.
@@ -41,12 +43,15 @@ DateBookDayHeader::DateBookDayHeader( bool useMonday,
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