-rw-r--r-- | core/pim/datebook/datebook.cpp | 4 | ||||
-rw-r--r-- | core/pim/datebook/opie-datebook.control | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/core/pim/datebook/datebook.cpp b/core/pim/datebook/datebook.cpp index 76260e2..c0a744a 100644 --- a/core/pim/datebook/datebook.cpp +++ b/core/pim/datebook/datebook.cpp | |||
@@ -107,69 +107,69 @@ DateBook::DateBook( QWidget *parent, const char *, WFlags f ) | |||
107 | monthView = 0; | 107 | monthView = 0; |
108 | 108 | ||
109 | QPEToolBar *bar = new QPEToolBar( this ); | 109 | QPEToolBar *bar = new QPEToolBar( this ); |
110 | bar->setHorizontalStretchable( TRUE ); | 110 | bar->setHorizontalStretchable( TRUE ); |
111 | 111 | ||
112 | QPEMenuBar *mb = new QPEMenuBar( bar ); | 112 | QPEMenuBar *mb = new QPEMenuBar( bar ); |
113 | mb->setMargin( 0 ); | 113 | mb->setMargin( 0 ); |
114 | 114 | ||
115 | QPEToolBar *sub_bar = new QPEToolBar(this); | 115 | QPEToolBar *sub_bar = new QPEToolBar(this); |
116 | 116 | ||
117 | QPopupMenu *view = new QPopupMenu( this ); | 117 | QPopupMenu *view = new QPopupMenu( this ); |
118 | QPopupMenu *settings = new QPopupMenu( this ); | 118 | QPopupMenu *settings = new QPopupMenu( this ); |
119 | 119 | ||
120 | mb->insertItem( tr( "View" ), view ); | 120 | mb->insertItem( tr( "View" ), view ); |
121 | mb->insertItem( tr( "Settings" ), settings ); | 121 | mb->insertItem( tr( "Settings" ), settings ); |
122 | 122 | ||
123 | QActionGroup *g = new QActionGroup( this ); | 123 | QActionGroup *g = new QActionGroup( this ); |
124 | g->setExclusive( TRUE ); | 124 | g->setExclusive( TRUE ); |
125 | 125 | ||
126 | QAction *a = new QAction( tr( "New" ), Resource::loadPixmap( "new" ), | 126 | QAction *a = new QAction( tr( "New" ), Resource::loadPixmap( "new" ), |
127 | QString::null, 0, this, 0 ); | 127 | QString::null, 0, this, 0 ); |
128 | connect( a, SIGNAL( activated() ), this, SLOT( fileNew() ) ); | 128 | connect( a, SIGNAL( activated() ), this, SLOT( fileNew() ) ); |
129 | a->addTo( sub_bar ); | 129 | a->addTo( sub_bar ); |
130 | 130 | ||
131 | a = new QAction( tr( "Today" ), Resource::loadPixmap( "to_day" ), QString::null, 0, g, 0 ); | 131 | a = new QAction( tr( "Today" ), Resource::loadPixmap( "datebook/to_day" ), QString::null, 0, g, 0 ); |
132 | connect( a, SIGNAL( activated() ), this, SLOT( slotToday() ) ); | 132 | connect( a, SIGNAL( activated() ), this, SLOT( slotToday() ) ); |
133 | a->addTo( sub_bar ); | 133 | a->addTo( sub_bar ); |
134 | a->addTo( view ); | 134 | a->addTo( view ); |
135 | 135 | ||
136 | a = new QAction( tr( "Day" ), Resource::loadPixmap( "day" ), QString::null, 0, g, 0 ); | 136 | a = new QAction( tr( "Day" ), Resource::loadPixmap( "day" ), QString::null, 0, g, 0 ); |
137 | connect( a, SIGNAL( activated() ), this, SLOT( viewDay() ) ); | 137 | connect( a, SIGNAL( activated() ), this, SLOT( viewDay() ) ); |
138 | a->addTo( sub_bar ); | 138 | a->addTo( sub_bar ); |
139 | a->addTo( view ); | 139 | a->addTo( view ); |
140 | a->setToggleAction( TRUE ); | 140 | a->setToggleAction( TRUE ); |
141 | a->setOn( TRUE ); | 141 | a->setOn( TRUE ); |
142 | dayAction = a; | 142 | dayAction = a; |
143 | 143 | ||
144 | a = new QAction( tr( "Week" ), Resource::loadPixmap( "week" ), QString::null, 0, g, 0 ); | 144 | a = new QAction( tr( "Week" ), Resource::loadPixmap( "week" ), QString::null, 0, g, 0 ); |
145 | connect( a, SIGNAL( activated() ), this, SLOT( viewWeek() ) ); | 145 | connect( a, SIGNAL( activated() ), this, SLOT( viewWeek() ) ); |
146 | a->addTo( sub_bar ); | 146 | a->addTo( sub_bar ); |
147 | a->addTo( view ); | 147 | a->addTo( view ); |
148 | a->setToggleAction( TRUE ); | 148 | a->setToggleAction( TRUE ); |
149 | weekAction = a; | 149 | weekAction = a; |
150 | 150 | ||
151 | a = new QAction( tr( "WeekLst" ), Resource::loadPixmap( "weeklst" ), QString::null, 0, g, 0 ); | 151 | a = new QAction( tr( "WeekLst" ), Resource::loadPixmap( "datebook/weeklst" ), QString::null, 0, g, 0 ); |
152 | connect( a, SIGNAL( activated() ), this, SLOT( viewWeekLst() ) ); | 152 | connect( a, SIGNAL( activated() ), this, SLOT( viewWeekLst() ) ); |
153 | a->addTo( sub_bar ); | 153 | a->addTo( sub_bar ); |
154 | a->addTo( view ); | 154 | a->addTo( view ); |
155 | a->setToggleAction( TRUE ); | 155 | a->setToggleAction( TRUE ); |
156 | weekLstAction = a; | 156 | weekLstAction = a; |
157 | 157 | ||
158 | a = new QAction( tr( "Month" ), Resource::loadPixmap( "month" ), QString::null, 0, g, 0 ); | 158 | a = new QAction( tr( "Month" ), Resource::loadPixmap( "month" ), QString::null, 0, g, 0 ); |
159 | connect( a, SIGNAL( activated() ), this, SLOT( viewMonth() ) ); | 159 | connect( a, SIGNAL( activated() ), this, SLOT( viewMonth() ) ); |
160 | a->addTo( sub_bar ); | 160 | a->addTo( sub_bar ); |
161 | a->addTo( view ); | 161 | a->addTo( view ); |
162 | a->setToggleAction( TRUE ); | 162 | a->setToggleAction( TRUE ); |
163 | monthAction = a; | 163 | monthAction = a; |
164 | 164 | ||
165 | a = new QAction( tr( "Find" ), Resource::loadPixmap( "mag" ), QString::null, 0, g, 0 ); | 165 | a = new QAction( tr( "Find" ), Resource::loadPixmap( "mag" ), QString::null, 0, g, 0 ); |
166 | connect( a, SIGNAL(activated()), this, SLOT(slotFind()) ); | 166 | connect( a, SIGNAL(activated()), this, SLOT(slotFind()) ); |
167 | a->addTo( sub_bar ); | 167 | a->addTo( sub_bar ); |
168 | 168 | ||
169 | a = new QAction( tr( "Alarm and Start Time..." ), QString::null, 0, 0 ); | 169 | a = new QAction( tr( "Alarm and Start Time..." ), QString::null, 0, 0 ); |
170 | connect( a, SIGNAL( activated() ), this, SLOT( slotSettings() ) ); | 170 | connect( a, SIGNAL( activated() ), this, SLOT( slotSettings() ) ); |
171 | a->addTo( settings ); | 171 | a->addTo( settings ); |
172 | 172 | ||
173 | QPopupMenu *default_view = new QPopupMenu(this); | 173 | QPopupMenu *default_view = new QPopupMenu(this); |
174 | settings->insertItem( tr( "Default View" ),default_view ); | 174 | settings->insertItem( tr( "Default View" ),default_view ); |
175 | default_view->setCheckable(TRUE); | 175 | default_view->setCheckable(TRUE); |
diff --git a/core/pim/datebook/opie-datebook.control b/core/pim/datebook/opie-datebook.control index 9bef119..6cd96ff 100644 --- a/core/pim/datebook/opie-datebook.control +++ b/core/pim/datebook/opie-datebook.control | |||
@@ -1,9 +1,9 @@ | |||
1 | Files: bin/datebook apps/Applications/datebook.desktop | 1 | Files: bin/datebook apps/Applications/datebook.desktop pics/datebook |
2 | Priority: optional | 2 | Priority: optional |
3 | Section: opie/applications | 3 | Section: opie/applications |
4 | Maintainer: Warwick Allison <warwick@trolltech.com> | 4 | Maintainer: Warwick Allison <warwick@trolltech.com> |
5 | Architecture: arm | 5 | Architecture: arm |
6 | Version: $QPE_VERSION-$SUB_VERSION | 6 | Version: $QPE_VERSION-$SUB_VERSION |
7 | Depends: opie-base ($QPE_VERSION), libopie ($QPE_VERSION) | 7 | Depends: opie-base ($QPE_VERSION), libopie ($QPE_VERSION) |
8 | Description: A datebook/appointment manager | 8 | Description: A datebook/appointment manager |
9 | A datebook/appointment manager for the Opie environment. | 9 | A datebook/appointment manager for the Opie environment. |