summaryrefslogtreecommitdiffstats
path: root/kteatime/timeedit.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 14:04:47 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 14:07:22 +0900
commitcb5e787fde24bc986f17de4c78b5840f8ed85856 (patch)
tree3850303789d1016581d3194ea627075c3e0edb5c /kteatime/timeedit.cpp
parent6a9f2bb7d4d98953ac416ceb3c5539ddfa931bb8 (diff)
downloadtdetoys-cb5e787fde24bc986f17de4c78b5840f8ed85856.tar.gz
tdetoys-cb5e787fde24bc986f17de4c78b5840f8ed85856.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kteatime/timeedit.cpp')
-rw-r--r--kteatime/timeedit.cpp16
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();