summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-04-04 15:02:30 (UTC)
committer harlekin <harlekin>2002-04-04 15:02:30 (UTC)
commitb765d3996578024679cd4c0f083070d2784df330 (patch) (side-by-side diff)
treef138ce099ecd5a59c4948132fc1c3d891aa7dca8
parent8d2a3e988c683d9b999f9fa5a3485d6b54465d1c (diff)
downloadopie-b765d3996578024679cd4c0f083070d2784df330.zip
opie-b765d3996578024679cd4c0f083070d2784df330.tar.gz
opie-b765d3996578024679cd4c0f083070d2784df330.tar.bz2
small fixes
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
@@ -302,38 +302,38 @@ void Today::getDates() {
layoutDates->addWidget(l);
connect (l, SIGNAL(editEvent(const Event &)),
this, SLOT(editEvent(const Event &)));
} else if ((time.toString() <= TimeString::dateString((*it).event().end())) ) {
count++;
// show only later appointments
DateBookEventLater *l=new DateBookEventLater(*it, AllDateBookEvents, SHOW_LOCATION, SHOW_NOTES);
layoutDates->addWidget(l);
connect (l, SIGNAL(editEvent(const Event &)),
this, SLOT(editEvent(const Event &)));
}
}
}
if (ONLY_LATER && count==0) {
QLabel* noMoreEvents = new QLabel(AllDateBookEvents);
- noMoreEvents->setText("No more appointments today");
+ noMoreEvents->setText(tr("No more appointments today"));
layoutDates->addWidget(noMoreEvents);
}
} else {
QLabel* noEvents = new QLabel(AllDateBookEvents);
- noEvents->setText("No appointments today");
+ noEvents->setText(tr("No appointments today"));
layoutDates->addWidget(noEvents);
}
layoutDates->addItem(new QSpacerItem(1,1, QSizePolicy::Minimum, QSizePolicy::Expanding));
sv1->addChild(AllDateBookEvents);
AllDateBookEvents->show();
}
void Today::getMail() {
Config cfg("opiemail");
cfg.setGroup("today");
// how many lines should be showed in the task section
int NEW_MAILS = cfg.readNumEntry("newmails",0);
int OUTGOING = cfg.readNumEntry("outgoing",0);
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
@@ -10,33 +10,32 @@
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#include "todaybase.h"
#include <qframe.h>
#include <qlabel.h>
#include <qpushbutton.h>
#include <qlayout.h>
#include <qvariant.h>
-#include <qtooltip.h>
#include <qwhatsthis.h>
#include <qimage.h>
#include <qpixmap.h>
#include <qscrollview.h>
#include <qvbox.h>
#include <qapplication.h>
#include <qpe/resource.h>
/*
* Constructs a TodayBase which is a child of 'parent', with the
* name 'name' and widget flags set to 'f'
*/
TodayBase::TodayBase( QWidget* parent, const char* name, WFlags fl )
: QWidget( parent, name, fl )
{
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
@@ -3,33 +3,32 @@
**
** Created: Thu Feb 14 15:04:33 2002
** by: The User Interface Compiler (uic)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#include "todayconfig.h"
#include <qcheckbox.h>
#include <qframe.h>
#include <qlabel.h>
#include <qspinbox.h>
#include <qtabwidget.h>
#include <qwidget.h>
#include <qlayout.h>
#include <qvariant.h>
-#include <qtooltip.h>
#include <qwhatsthis.h>
/*
* Constructs a todayconfig which is a child of 'parent', with the
* name 'name' and widget flags set to 'f'
*
* The dialog will by default be modeless, unless you set 'modal' to
* TRUE to construct a modal dialog.
*/
todayconfig::todayconfig( QWidget* parent, const char* name, bool modal, WFlags fl )
: QDialog( parent, name, modal, fl )
{
if ( !name )
setName( "todayconfig" );
resize( 175, 232 );
setCaption( tr( "Today config" ) );