diff options
Diffstat (limited to 'src/upcvalidator.h')
-rw-r--r-- | src/upcvalidator.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/upcvalidator.h b/src/upcvalidator.h index 73afa09..6239486 100644 --- a/src/upcvalidator.h +++ b/src/upcvalidator.h @@ -14,21 +14,22 @@ #ifndef UPCVALIDATOR_H #define UPCVALIDATOR_H -#include <qvalidator.h> +#include <tqvalidator.h> namespace Tellico { /** * @author Robby Stephenson */ -class UPCValidator : public QValidator { +class UPCValidator : public TQValidator { Q_OBJECT + TQ_OBJECT public: - UPCValidator(QObject* parent, const char* name=0); + UPCValidator(TQObject* tqparent, const char* name=0); - virtual QValidator::State validate(QString& input, int& pos) const; - virtual void fixup(QString& input) const; + virtual TQValidator::State validate(TQString& input, int& pos) const; + virtual void fixup(TQString& input) const; void setCheckISBN(bool b) { m_checkISBN = b; } @@ -36,7 +37,7 @@ signals: void signalISBN(); private: - State decodeCat(QString& str) const; + State decodeCat(TQString& str) const; bool m_checkISBN : 1; mutable bool m_isbn : 1; |