summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/datebook/datebookdayheader.ui14
-rw-r--r--core/pim/datebook/datebookdayheaderimpl.cpp5
2 files changed, 7 insertions, 12 deletions
diff --git a/core/pim/datebook/datebookdayheader.ui b/core/pim/datebook/datebookdayheader.ui
index bb0c1ac..308bad3 100644
--- a/core/pim/datebook/datebookdayheader.ui
+++ b/core/pim/datebook/datebookdayheader.ui
@@ -62,9 +62,9 @@
62 <string></string> 62 <string></string>
63 </property> 63 </property>
64 <property stdset="1"> 64 <property stdset="1">
65 <name>pixmap</name> 65 <name>pixmap</name>
66 <pixmap>image0</pixmap> 66 <pixmap></pixmap>
67 </property> 67 </property>
68 <property stdset="1"> 68 <property stdset="1">
69 <name>toggleButton</name> 69 <name>toggleButton</name>
70 <bool>false</bool> 70 <bool>false</bool>
@@ -369,9 +369,9 @@
369 <string></string> 369 <string></string>
370 </property> 370 </property>
371 <property stdset="1"> 371 <property stdset="1">
372 <name>pixmap</name> 372 <name>pixmap</name>
373 <pixmap>image1</pixmap> 373 <pixmap></pixmap>
374 </property> 374 </property>
375 <property stdset="1"> 375 <property stdset="1">
376 <name>autoRepeat</name> 376 <name>autoRepeat</name>
377 <bool>true</bool> 377 <bool>true</bool>
@@ -382,18 +382,8 @@
382 </property> 382 </property>
383 </widget> 383 </widget>
384 </hbox> 384 </hbox>
385</widget> 385</widget>
386<images>
387 <image>
388 <name>image0</name>
389 <data format="XPM.GZ" length="582">789c6dcfcd4e843010c0f13b4fd1d01b31bb6cb325211b1f41e3d1c4789876a60bcbd7aeae07637c773b6d5985d870e0f7ef50605b88e7a707516cb3f72b5c5b2b6c036fa2c08f61f87c79bdffcaf2dd5ef0558b5d7e97e51b61c5e33412df4b7f2fcbb09896a94ab557817063cd744cad74a915734aac35308740d018d9332d5ab0c8ec1229f2c2448d156a661b489ee1ab4e4cf2a08a790e24020abb0dd355442eec8e914e45526215790c749e8e89891069125de466b1fe14295705ccaa5863e2d05cc01894925b2a7e8217dd8a631eb169fd509af10fd1a9ebfbdf32008d9d0c07cd274f70ee162773ba2cdfee935c977ffe6b2edf87ec07796f81cd</data>
390 </image>
391 <image>
392 <name>image1</name>
393 <data format="XPM.GZ" length="627">789c7dcfc94ec3301006e07b9ec28a6f114a13cbb1a8108f00e28884387819676993340b07847877329ea8697a60ec83bfdf232f8784bdbfbdb0e4104db39e6bcb6ca54796b8afb6fdfef87cfe89e25cb2650ac1f2f8218a5366d96bdf01aef9b2e65928a4458a0c07b25c29890352e63293e19c53a0968f52230159e8c22981744495133552097554a1f982b4ce6aeb9013d215165c81ec894e109b4070ca85378f2b35f18c04050214b20d04d010762ba457003eecd6442f88f34a45f4817ea147762b35d1acf4c47457d784737d9f18ebee1363614bf852c6f812b6c460f90abb6e93ba694ed7c49fdbaeee2f76b83da71ba772e0db5d9ccf4b07dfdd5e858edd9b2948fff9d796fc3e457f660e8d47</data>
394 </image>
395</images>
396<connections> 386<connections>
397 <connection> 387 <connection>
398 <sender>forward</sender> 388 <sender>forward</sender>
399 <signal>clicked()</signal> 389 <signal>clicked()</signal>
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
@@ -19,16 +19,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 *
@@ -43,8 +45,11 @@ DateBookDayHeader::DateBookDayHeader( bool useMonday,
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