summaryrefslogtreecommitdiff
authorsimon <simon>2002-04-30 14:44:34 (UTC)
committer simon <simon>2002-04-30 14:44:34 (UTC)
commita0cdb6f85e270e20bd5383e980df9dcf862a93ce (patch) (side-by-side diff)
tree5942039766e8dcf62376c27109430a62ae69afd2
parentc63b1853bb26bcd5ae21b73eb21d858a56534914 (diff)
downloadopie-a0cdb6f85e270e20bd5383e980df9dcf862a93ce.zip
opie-a0cdb6f85e270e20bd5383e980df9dcf862a93ce.tar.gz
opie-a0cdb6f85e270e20bd5383e980df9dcf862a93ce.tar.bz2
- no default args in method impls
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/clickablelabel.cpp6
-rw-r--r--core/pim/today/today.cpp20
2 files changed, 13 insertions, 13 deletions
diff --git a/core/pim/today/clickablelabel.cpp b/core/pim/today/clickablelabel.cpp
index 6912c34..e11cef6 100644
--- a/core/pim/today/clickablelabel.cpp
+++ b/core/pim/today/clickablelabel.cpp
@@ -1,17 +1,17 @@
#include "clickablelabel.h"
-ClickableLabel::ClickableLabel(QWidget* parent = 0,
- const char* name = 0,
- WFlags fl = 0) :
+ClickableLabel::ClickableLabel(QWidget* parent,
+ const char* name,
+ WFlags fl) :
QLabel(parent,name,fl)
{
setFrameShape(NoFrame);
setFrameShadow(Sunken);
}
void ClickableLabel::mousePressEvent( QMouseEvent *e ) {
setFrameShape(Panel);
repaint();
}
void ClickableLabel::mouseReleaseEvent( QMouseEvent *e ) {
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp
index 01d1a13..1b4408c 100644
--- a/core/pim/today/today.cpp
+++ b/core/pim/today/today.cpp
@@ -459,29 +459,29 @@ void Today::startMail() {
QCopEnvelope f("QPE/System", "execute(QString)");
f << QString("qtmail");
}
Today::~Today() {
}
/*
* Gets the events for the current day, if it should get all dates
*/
DateBookEvent::DateBookEvent(const EffectiveEvent &ev,
- QWidget* parent = 0,
- int SHOW_LOCATION = 0,
- int SHOW_NOTES = 0,
- const char* name = 0,
- WFlags fl = 0) :
+ QWidget* parent,
+ int SHOW_LOCATION,
+ int SHOW_NOTES,
+ const char* name,
+ WFlags fl) :
ClickableLabel(parent,name,fl), event(ev) {
QString msg;
//QTime time = QTime::currentTime();
Config config( "qpe" );
config.setGroup( "Time" );
// if 24 h format
ampm = config.readBoolEntry( "AMPM", TRUE );
if (!ONLY_LATER) {
@@ -526,29 +526,29 @@ QString DateBookEvent::ampmTime(QTime tm) {
s.sprintf( "%2d:%02d %s", hour, tm.minute(),
(tm.hour() >= 12) ? "PM" : "AM" );
return s;
} else {
s.sprintf( "%2d:%02d", tm.hour(), tm.minute() );
return s;
}
}
DateBookEventLater::DateBookEventLater(const EffectiveEvent &ev,
- QWidget* parent = 0,
- int SHOW_LOCATION = 0,
- int SHOW_NOTES = 0,
- const char* name = 0,
- WFlags fl = 0) :
+ QWidget* parent,
+ int SHOW_LOCATION,
+ int SHOW_NOTES,
+ const char* name,
+ WFlags fl) :
ClickableLabel(parent,name,fl), event(ev) {
QString msg;
QTime time = QTime::currentTime();
Config config( "qpe" );
config.setGroup( "Time" );
// if 24 h format
ampm = config.readBoolEntry( "AMPM", TRUE );
if ((time.toString() <= TimeString::dateString((ev).event().end())) ) {