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) (side-by-side diff)
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
@@ -20,6 +20,7 @@
#include "datebookdayheaderimpl.h"
#include <qpe/datebookmonth.h>
+#include <qpe/resource.h>
#include <qpe/timestring.h>
#include <qbuttongroup.h>
@@ -28,6 +29,7 @@
#include <qtimer.h>
#include <qtoolbutton.h>
+
/*
* Constructs a DateBookDayHeader which is a child of 'parent', with the
* name 'name' and widget flags set to 'f'
@@ -44,6 +46,9 @@ DateBookDayHeader::DateBookDayHeader( bool useMonday,
setupNames();
+ forward->setPixmap( Resource::loadPixmap( "forward" ) );
+ back->setPixmap( Resource::loadPixmap( "back" ) );
+
setBackgroundMode( PaletteButton );
grpDays->setBackgroundMode( PaletteButton );
}