diff options
Diffstat (limited to 'src/widgets/ntqvalidator.h')
-rw-r--r-- | src/widgets/ntqvalidator.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/widgets/ntqvalidator.h b/src/widgets/ntqvalidator.h index 04902acd4..95696343e 100644 --- a/src/widgets/ntqvalidator.h +++ b/src/widgets/ntqvalidator.h @@ -52,7 +52,7 @@ class Q_EXPORT TQValidator : public TQObject { - Q_OBJECT + TQ_OBJECT public: TQValidator( TQObject * parent, const char *name = 0 ); ~TQValidator(); @@ -63,7 +63,7 @@ public: virtual void fixup( TQString & ) const; private: -#if defined(Q_DISABLE_COPY) +#if defined(TQ_DISABLE_COPY) TQValidator( const TQValidator & ); TQValidator& operator=( const TQValidator & ); #endif @@ -72,7 +72,7 @@ private: class Q_EXPORT TQIntValidator : public TQValidator { - Q_OBJECT + TQ_OBJECT Q_PROPERTY( int bottom READ bottom WRITE setBottom ) Q_PROPERTY( int top READ top WRITE setTop ) @@ -92,7 +92,7 @@ public: int top() const { return t; } private: -#if defined(Q_DISABLE_COPY) +#if defined(TQ_DISABLE_COPY) TQIntValidator( const TQIntValidator & ); TQIntValidator& operator=( const TQIntValidator & ); #endif @@ -104,7 +104,7 @@ private: class Q_EXPORT TQDoubleValidator : public TQValidator { - Q_OBJECT + TQ_OBJECT Q_PROPERTY( double bottom READ bottom WRITE setBottom ) Q_PROPERTY( double top READ top WRITE setTop ) Q_PROPERTY( int decimals READ decimals WRITE setDecimals ) @@ -127,7 +127,7 @@ public: int decimals() const { return d; } private: -#if defined(Q_DISABLE_COPY) +#if defined(TQ_DISABLE_COPY) TQDoubleValidator( const TQDoubleValidator & ); TQDoubleValidator& operator=( const TQDoubleValidator & ); #endif @@ -139,7 +139,7 @@ private: class Q_EXPORT TQRegExpValidator : public TQValidator { - Q_OBJECT + TQ_OBJECT // Q_PROPERTY( TQRegExp regExp READ regExp WRITE setRegExp ) public: @@ -154,7 +154,7 @@ public: const TQRegExp& regExp() const { return r; } private: -#if defined(Q_DISABLE_COPY) +#if defined(TQ_DISABLE_COPY) TQRegExpValidator( const TQRegExpValidator& ); TQRegExpValidator& operator=( const TQRegExpValidator& ); #endif |