summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/today.cpp4
-rw-r--r--core/pim/today/todaybase.cpp1
-rw-r--r--core/pim/today/todayconfig.cpp1
3 files changed, 2 insertions, 4 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp
index 66a4152..51aba69 100644
--- a/core/pim/today/today.cpp
+++ b/core/pim/today/today.cpp
@@ -306,30 +306,30 @@ void Today::getDates() {
306 count++; 306 count++;
307 307
308 // show only later appointments 308 // show only later appointments
309 DateBookEventLater *l=new DateBookEventLater(*it, AllDateBookEvents, SHOW_LOCATION, SHOW_NOTES); 309 DateBookEventLater *l=new DateBookEventLater(*it, AllDateBookEvents, SHOW_LOCATION, SHOW_NOTES);
310 layoutDates->addWidget(l); 310 layoutDates->addWidget(l);
311 connect (l, SIGNAL(editEvent(const Event &)), 311 connect (l, SIGNAL(editEvent(const Event &)),
312 this, SLOT(editEvent(const Event &))); 312 this, SLOT(editEvent(const Event &)));
313 } 313 }
314 } 314 }
315 } 315 }
316 if (ONLY_LATER && count==0) { 316 if (ONLY_LATER && count==0) {
317 QLabel* noMoreEvents = new QLabel(AllDateBookEvents); 317 QLabel* noMoreEvents = new QLabel(AllDateBookEvents);
318 noMoreEvents->setText("No more appointments today"); 318 noMoreEvents->setText(tr("No more appointments today"));
319 layoutDates->addWidget(noMoreEvents); 319 layoutDates->addWidget(noMoreEvents);
320 } 320 }
321 } else { 321 } else {
322 QLabel* noEvents = new QLabel(AllDateBookEvents); 322 QLabel* noEvents = new QLabel(AllDateBookEvents);
323 noEvents->setText("No appointments today"); 323 noEvents->setText(tr("No appointments today"));
324 layoutDates->addWidget(noEvents); 324 layoutDates->addWidget(noEvents);
325 } 325 }
326 326
327 layoutDates->addItem(new QSpacerItem(1,1, QSizePolicy::Minimum, QSizePolicy::Expanding)); 327 layoutDates->addItem(new QSpacerItem(1,1, QSizePolicy::Minimum, QSizePolicy::Expanding));
328 sv1->addChild(AllDateBookEvents); 328 sv1->addChild(AllDateBookEvents);
329 AllDateBookEvents->show(); 329 AllDateBookEvents->show();
330} 330}
331 331
332 332
333void Today::getMail() { 333void Today::getMail() {
334 Config cfg("opiemail"); 334 Config cfg("opiemail");
335 cfg.setGroup("today"); 335 cfg.setGroup("today");
diff --git a/core/pim/today/todaybase.cpp b/core/pim/today/todaybase.cpp
index c0b8d34..dfcc34e 100644
--- a/core/pim/today/todaybase.cpp
+++ b/core/pim/today/todaybase.cpp
@@ -14,25 +14,24 @@
14 * the Free Software Foundation; either version 2 of the License, or * 14 * the Free Software Foundation; either version 2 of the License, or *
15 * (at your option) any later version. * 15 * (at your option) any later version. *
16 * * 16 * *
17 ***************************************************************************/ 17 ***************************************************************************/
18 18
19#include "todaybase.h" 19#include "todaybase.h"
20 20
21#include <qframe.h> 21#include <qframe.h>
22#include <qlabel.h> 22#include <qlabel.h>
23#include <qpushbutton.h> 23#include <qpushbutton.h>
24#include <qlayout.h> 24#include <qlayout.h>
25#include <qvariant.h> 25#include <qvariant.h>
26#include <qtooltip.h>
27#include <qwhatsthis.h> 26#include <qwhatsthis.h>
28#include <qimage.h> 27#include <qimage.h>
29#include <qpixmap.h> 28#include <qpixmap.h>
30#include <qscrollview.h> 29#include <qscrollview.h>
31#include <qvbox.h> 30#include <qvbox.h>
32#include <qapplication.h> 31#include <qapplication.h>
33 32
34#include <qpe/resource.h> 33#include <qpe/resource.h>
35 34
36/* 35/*
37 * Constructs a TodayBase which is a child of 'parent', with the 36 * Constructs a TodayBase which is a child of 'parent', with the
38 * name 'name' and widget flags set to 'f' 37 * name 'name' and widget flags set to 'f'
diff --git a/core/pim/today/todayconfig.cpp b/core/pim/today/todayconfig.cpp
index 7c690a7..a908d98 100644
--- a/core/pim/today/todayconfig.cpp
+++ b/core/pim/today/todayconfig.cpp
@@ -7,25 +7,24 @@
7** WARNING! All changes made in this file will be lost! 7** WARNING! All changes made in this file will be lost!
8****************************************************************************/ 8****************************************************************************/
9#include "todayconfig.h" 9#include "todayconfig.h"
10 10
11#include <qcheckbox.h> 11#include <qcheckbox.h>
12#include <qframe.h> 12#include <qframe.h>
13#include <qlabel.h> 13#include <qlabel.h>
14#include <qspinbox.h> 14#include <qspinbox.h>
15#include <qtabwidget.h> 15#include <qtabwidget.h>
16#include <qwidget.h> 16#include <qwidget.h>
17#include <qlayout.h> 17#include <qlayout.h>
18#include <qvariant.h> 18#include <qvariant.h>
19#include <qtooltip.h>
20#include <qwhatsthis.h> 19#include <qwhatsthis.h>
21 20
22/* 21/*
23 * Constructs a todayconfig which is a child of 'parent', with the 22 * Constructs a todayconfig which is a child of 'parent', with the
24 * name 'name' and widget flags set to 'f' 23 * name 'name' and widget flags set to 'f'
25 * 24 *
26 * The dialog will by default be modeless, unless you set 'modal' to 25 * The dialog will by default be modeless, unless you set 'modal' to
27 * TRUE to construct a modal dialog. 26 * TRUE to construct a modal dialog.
28 */ 27 */
29todayconfig::todayconfig( QWidget* parent, const char* name, bool modal, WFlags fl ) 28todayconfig::todayconfig( QWidget* parent, const char* name, bool modal, WFlags fl )
30 : QDialog( parent, name, modal, fl ) 29 : QDialog( parent, name, modal, fl )
31{ 30{