-rw-r--r-- | core/pim/datebook/datebook.cpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/core/pim/datebook/datebook.cpp b/core/pim/datebook/datebook.cpp index 6ec6cc2..e8d808f 100644 --- a/core/pim/datebook/datebook.cpp +++ b/core/pim/datebook/datebook.cpp | |||
@@ -22,2 +22,4 @@ | |||
22 | 22 | ||
23 | #define QTOPIA_INTERNAL_FD | ||
24 | |||
23 | #include "datebook.h" | 25 | #include "datebook.h" |
@@ -112,2 +114,7 @@ DateBook::DateBook( QWidget *parent, const char *, WFlags f ) | |||
112 | 114 | ||
115 | a = new QAction( tr( "Today" ), Resource::loadPixmap( "to_day" ), QString::null, 0, g, 0 ); | ||
116 | connect( a, SIGNAL( activated() ), this, SLOT( slotToday() ) ); | ||
117 | a->addTo( sub_bar ); | ||
118 | a->addTo( view ); | ||
119 | |||
113 | a = new QAction( tr( "Day" ), Resource::loadPixmap( "day" ), QString::null, 0, g, 0 ); | 120 | a = new QAction( tr( "Day" ), Resource::loadPixmap( "day" ), QString::null, 0, g, 0 ); |
@@ -136,6 +143,2 @@ DateBook::DateBook( QWidget *parent, const char *, WFlags f ) | |||
136 | 143 | ||
137 | a = new QAction( tr( "Today" ), QString::null, 0, 0 ); | ||
138 | connect( a, SIGNAL( activated() ), this, SLOT( slotToday() ) ); | ||
139 | a->addTo( view ); | ||
140 | |||
141 | a = new QAction( tr( "Alarm and Start Time..." ), QString::null, 0, 0 ); | 144 | a = new QAction( tr( "Alarm and Start Time..." ), QString::null, 0, 0 ); |
@@ -258,3 +261,3 @@ QDate DateBook::currentDate() | |||
258 | QDate d = QDate::currentDate(); | 261 | QDate d = QDate::currentDate(); |
259 | 262 | ||
260 | if ( dayView && views->visibleWidget() == dayView ) { | 263 | if ( dayView && views->visibleWidget() == dayView ) { |