summaryrefslogtreecommitdiffstats
path: root/kteatime
diff options
context:
space:
mode:
Diffstat (limited to 'kteatime')
-rw-r--r--kteatime/timeedit.cpp10
-rw-r--r--kteatime/timeedit.h2
2 files changed, 6 insertions, 6 deletions
diff --git a/kteatime/timeedit.cpp b/kteatime/timeedit.cpp
index 430e1b6..8cd3d60 100644
--- a/kteatime/timeedit.cpp
+++ b/kteatime/timeedit.cpp
@@ -52,7 +52,7 @@ void WrappingSpinBox::stepDown()
TimeEdit::TimeEdit(TQWidget* parent, const char* name)
: TQWidget(parent, name)
{
- tqlayout = new TQHBoxLayout(this);
+ layout = new TQHBoxLayout(this);
minuteBox = new TQSpinBox(0, 300, 1, this);
// minuteBox->setFixedSize(minuteBox->sizeHint());
@@ -65,11 +65,11 @@ TimeEdit::TimeEdit(TQWidget* parent, const char* name)
TQLabel* sec = new TQLabel(i18n(" sec"),this);
sec->setFixedSize(sec->sizeHint());
- tqlayout->addWidget(minuteBox);
- tqlayout->addWidget(min);
+ layout->addWidget(minuteBox);
+ layout->addWidget(min);
- tqlayout->addWidget(secondBox);
- tqlayout->addWidget(sec);
+ layout->addWidget(secondBox);
+ layout->addWidget(sec);
connect(minuteBox, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(spinBoxValueChanged(int)) );
connect(secondBox, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(spinBoxValueChanged(int)) );
diff --git a/kteatime/timeedit.h b/kteatime/timeedit.h
index c614f57..7ff162f 100644
--- a/kteatime/timeedit.h
+++ b/kteatime/timeedit.h
@@ -67,7 +67,7 @@ signals:
protected:
TQSpinBox *minuteBox;
WrappingSpinBox *secondBox;
- TQBoxLayout* tqlayout;
+ TQBoxLayout* layout;
};
#endif