summaryrefslogtreecommitdiffstats
path: root/kalarm/lib/timespinbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/lib/timespinbox.cpp')
-rw-r--r--kalarm/lib/timespinbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kalarm/lib/timespinbox.cpp b/kalarm/lib/timespinbox.cpp
index 1a2a65008..ccf0c4492 100644
--- a/kalarm/lib/timespinbox.cpp
+++ b/kalarm/lib/timespinbox.cpp
@@ -124,7 +124,7 @@ TQString TimeSpinBox::mapValueToText(int v)
int TimeSpinBox::mapTextToValue(bool* ok)
{
TQString text = cleanText();
- int colon = text.tqfind(':');
+ int colon = text.find(':');
if (colon >= 0)
{
// [h]:m format for any time value
@@ -309,7 +309,7 @@ TQValidator::State TimeSpinBox::TimeValidator::validate(TQString& text, int& /*c
bool ok;
int hr = 0;
int mn = 0;
- int colon = cleanText.tqfind(':');
+ int colon = cleanText.find(':');
if (colon >= 0)
{
TQString minute = cleanText.mid(colon + 1);