summaryrefslogtreecommitdiffstats
path: root/libkdepim/ktimeedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/ktimeedit.cpp')
-rw-r--r--libkdepim/ktimeedit.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/libkdepim/ktimeedit.cpp b/libkdepim/ktimeedit.cpp
index 9b9559523..7512b89ee 100644
--- a/libkdepim/ktimeedit.cpp
+++ b/libkdepim/ktimeedit.cpp
@@ -20,8 +20,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#include <tqkeycode.h>
@@ -40,10 +40,10 @@
// Validator for a time value with only hours and minutes (no seconds)
// Mostly locale aware. Author: David Faure <faure@kde.org>
-class KOTimeValidator : public QValidator
+class KOTimeValidator : public TQValidator
{
public:
- KOTimeValidator(TQWidget* parent, const char* name=0) : TQValidator(parent, name) {}
+ KOTimeValidator(TQWidget* tqparent, const char* name=0) : TQValidator(tqparent, name) {}
virtual State validate(TQString& str, int& /*cursorPos*/) const
{
@@ -102,11 +102,11 @@ public:
}
};
-// KTimeWidget/QTimeEdit provide nicer editing, but don't provide a combobox.
+// KTimeWidget/TQTimeEdit provide nicer editing, but don't provide a combobox.
// Difficult to get all in one...
-// But Qt-3.2 will offer TQLineEdit::setMask, so a "99:99" tqmask would help.
-KTimeEdit::KTimeEdit( TQWidget *parent, TQTime qt, const char *name )
- : TQComboBox( true, parent, name )
+// But TQt-3.2 will offer TQLineEdit::setMask, so a "99:99" tqmask would help.
+KTimeEdit::KTimeEdit( TQWidget *tqparent, TQTime qt, const char *name )
+ : TQComboBox( true, tqparent, name )
{
setInsertionPolicy( NoInsertion );
setValidator( new KOTimeValidator( this ) );