diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-28 20:34:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-28 20:34:15 +0000 |
commit | 1c1403293485f35fd53db45aaa77a01cdd9627e7 (patch) | |
tree | 38559cd68cd4f63023fb5f6375def9db3b8b491e /plugins/infowidget/localefloatvalidator.h | |
parent | 894f94545727610df22c4f73911d62d58266f695 (diff) | |
download | ktorrent-1c1403293485f35fd53db45aaa77a01cdd9627e7.tar.gz ktorrent-1c1403293485f35fd53db45aaa77a01cdd9627e7.zip |
TQt4 port ktorrent
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktorrent@1238733 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'plugins/infowidget/localefloatvalidator.h')
-rw-r--r-- | plugins/infowidget/localefloatvalidator.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/plugins/infowidget/localefloatvalidator.h b/plugins/infowidget/localefloatvalidator.h index d4d12ee..3466445 100644 --- a/plugins/infowidget/localefloatvalidator.h +++ b/plugins/infowidget/localefloatvalidator.h @@ -22,23 +22,24 @@ #ifndef LOCALEFLOATVALIDATOR_H #define LOCALEFLOATVALIDATOR_H -#include <qvalidator.h> -class QRegExp; +#include <tqvalidator.h> +class TQRegExp; namespace kt{ /** * @author Jonas Widarsson * * A float validator that respects KLocale::decimalSymbol() */ - class LocaleFloatValidator : public QValidator + class LocaleFloatValidator : public TQValidator { Q_OBJECT + TQ_OBJECT public: - LocaleFloatValidator( QObject * parent, const char *name = 0 ); + LocaleFloatValidator( TQObject * tqparent, const char *name = 0 ); - virtual QValidator::State validate( QString & str, int & pos) const; + virtual TQValidator::State validate( TQString & str, int & pos) const; private: - QRegExp regexp; + TQRegExp regexp; }; } |