diff options
Diffstat (limited to 'kteatime/timeedit.cpp')
-rw-r--r-- | kteatime/timeedit.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kteatime/timeedit.cpp b/kteatime/timeedit.cpp index 221029d..032b12e 100644 --- a/kteatime/timeedit.cpp +++ b/kteatime/timeedit.cpp @@ -71,10 +71,10 @@ TimeEdit::TimeEdit(TQWidget* parent, const char* name) 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)) ); - connect(secondBox, TQT_SIGNAL(wrapUp()), TQT_SLOT(wrappedUp())); - connect(secondBox, TQT_SIGNAL(wrapDown()), TQT_SLOT(wrappedDown())); + connect(minuteBox, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(spinBoxValueChanged(int)) ); + connect(secondBox, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(spinBoxValueChanged(int)) ); + connect(secondBox, TQ_SIGNAL(wrapUp()), TQ_SLOT(wrappedUp())); + connect(secondBox, TQ_SIGNAL(wrapDown()), TQ_SLOT(wrappedDown())); } TimeEdit::~TimeEdit() @@ -107,7 +107,7 @@ int TimeEdit::value() return minuteBox->value()*60 + secondBox->value(); } -/** SLOT: Handle wrap-up of seconds-box */ +/** Slot: Handle wrap-up of seconds-box */ void TimeEdit::wrappedUp() { if (minuteBox->value() != minuteBox->maxValue()) { @@ -117,7 +117,7 @@ void TimeEdit::wrappedUp() } } -/** SLOT: Handle wrap-down of seconds-box */ +/** Slot: Handle wrap-down of seconds-box */ void TimeEdit::wrappedDown() { // well, the "if" should always be true @@ -128,7 +128,7 @@ void TimeEdit::wrappedDown() } } -/** SLOT: Handle any change in minutes of seconds */ +/** Slot: Handle any change in minutes of seconds */ void TimeEdit::spinBoxValueChanged(int) { if (value() == 0) { @@ -139,7 +139,7 @@ void TimeEdit::spinBoxValueChanged(int) emit valueChanged(value()); } -/** TQT_SLOT (overloading TQSpinBox): set focus */ +/** Slot (overloading TQSpinBox): set focus */ void TimeEdit::setFocus() { minuteBox->setFocus(); |