Diffstat (limited to 'noncore/apps/tableviewer/ui/commonwidgets.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/tableviewer/ui/commonwidgets.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/apps/tableviewer/ui/commonwidgets.cpp b/noncore/apps/tableviewer/ui/commonwidgets.cpp index bf4c36f..4c47951 100644 --- a/noncore/apps/tableviewer/ui/commonwidgets.cpp +++ b/noncore/apps/tableviewer/ui/commonwidgets.cpp @@ -25,13 +25,13 @@ #include <qpe/datebookmonth.h> #include <qpopupmenu.h> #include <qspinbox.h> #include "commonwidgets.h" -DateEdit::DateEdit( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ) +DateEdit::DateEdit( QWidget *parent, const char *name, WFlags f ) : QToolButton(parent, name) { QPopupMenu *m1 = new QPopupMenu(this); dateSelector = new DateBookMonth(m1, 0, TRUE); m1->insertItem(dateSelector); setPopup(m1); @@ -79,13 +79,13 @@ void DateEdit::subValueChanged() QDate current = dateSelector->selectedDate(); setText(current.toString()); emit valueChanged(current); } -TimeEdit::TimeEdit( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ) +TimeEdit::TimeEdit( QWidget *parent, const char *name, WFlags f ) : QWidget(parent, name, f) { QHBoxLayout *layout = new QHBoxLayout(this, 0); layout->addWidget(hourKey = new QSpinBox(1, 12, 1, this)); hourKey->setWrapping(true); @@ -187,13 +187,13 @@ void TimeEdit::clear() void TimeEdit::subValueChanged() { emit valueChanged(time()); } -IntEdit::IntEdit( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ) +IntEdit::IntEdit( QWidget *parent, const char *name, WFlags f ) : QSpinBox(INT_MIN, INT_MAX, 1, parent, name) { setValue(0); } |