summaryrefslogtreecommitdiffstats
path: root/kteatime
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:23:37 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:23:37 -0600
commit251c4d87e52794911ea960530258703584dfd93a (patch)
tree52bc7638a0dad40e8f7005f575d3679ad5e5c20c /kteatime
parent59a076e9336f1eebda8650437e6bc61077be1516 (diff)
downloadtdetoys-251c4d87e52794911ea960530258703584dfd93a.tar.gz
tdetoys-251c4d87e52794911ea960530258703584dfd93a.zip
Rename obsolete tq methods to standard names
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