From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: Initial conversion of kdepim to TQt This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libkdepim/ktimeedit.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'libkdepim/ktimeedit.cpp') 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 @@ -40,10 +40,10 @@ // Validator for a time value with only hours and minutes (no seconds) // Mostly locale aware. Author: David Faure -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 ) ); -- cgit v1.2.1