From 251c4d87e52794911ea960530258703584dfd93a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:23:37 -0600 Subject: Rename obsolete tq methods to standard names --- kteatime/timeedit.cpp | 10 +++++----- kteatime/timeedit.h | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'kteatime') 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 -- cgit v1.2.1