summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-sheet/numberdlg.cpp
authorharlekin <harlekin>2002-08-01 00:47:09 (UTC)
committer harlekin <harlekin>2002-08-01 00:47:09 (UTC)
commitba034bf4cb91b83654056945fc27313a28528015 (patch) (unidiff)
tree4df33783ca21017424135aacc2e45b94437cfdff /noncore/apps/opie-sheet/numberdlg.cpp
parent26ff0c72228b9c89b079dfa381d448b6152eb408 (diff)
downloadopie-ba034bf4cb91b83654056945fc27313a28528015.zip
opie-ba034bf4cb91b83654056945fc27313a28528015.tar.gz
opie-ba034bf4cb91b83654056945fc27313a28528015.tar.bz2
gcc3.x fixes
Diffstat (limited to 'noncore/apps/opie-sheet/numberdlg.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-sheet/numberdlg.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/noncore/apps/opie-sheet/numberdlg.cpp b/noncore/apps/opie-sheet/numberdlg.cpp
index e8de639..90fbaa2 100644
--- a/noncore/apps/opie-sheet/numberdlg.cpp
+++ b/noncore/apps/opie-sheet/numberdlg.cpp
@@ -14,7 +14,7 @@
14 14
15#include "numberdlg.h" 15#include "numberdlg.h"
16 16
17NumberDialog::NumberDialog(QWidget *parent=0) 17NumberDialog::NumberDialog(QWidget *parent)
18 :QDialog(parent, 0, TRUE) 18 :QDialog(parent, 0, TRUE)
19{ 19{
20 edit=new QSpinBox(this); 20 edit=new QSpinBox(this);
@@ -31,7 +31,8 @@ NumberDialog::~NumberDialog()
31{ 31{
32} 32}
33 33
34int NumberDialog::exec(const QString &caption, const QString &text, int value=1, int min=1, int max=99, int step=1) 34int NumberDialog::exec(const QString &caption, const QString &text,
35 int value, int min, int max, int step)
35{ 36{
36 setCaption(caption); 37 setCaption(caption);
37 label->setText(text); 38 label->setText(text);