diff options
Diffstat (limited to 'src/kernel/qtranslator.cpp')
-rw-r--r-- | src/kernel/qtranslator.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/kernel/qtranslator.cpp b/src/kernel/qtranslator.cpp index 884c81977..9e429b789 100644 --- a/src/kernel/qtranslator.cpp +++ b/src/kernel/qtranslator.cpp @@ -54,7 +54,7 @@ static inline int qt_open(const char *pathname, int flags, mode_t mode) #include "ntqtranslator.h" -#ifndef QT_NO_TRANSLATION +#ifndef TQT_NO_TRANSLATION #include "ntqfileinfo.h" #include "ntqwidgetlist.h" @@ -192,7 +192,7 @@ public: TQTranslatorPrivate() : unmapPointer( 0 ), unmapLength( 0 ), messageArray( 0 ), offsetArray( 0 ), contextArray( 0 ) -#ifndef QT_NO_TRANSLATION_BUILDER +#ifndef TQT_NO_TRANSLATION_BUILDER , messages( 0 ) #endif { } @@ -207,7 +207,7 @@ public: TQByteArray * offsetArray; TQByteArray * contextArray; -#ifndef QT_NO_TRANSLATION_BUILDER +#ifndef TQT_NO_TRANSLATION_BUILDER TQMap<TQTranslatorMessage, void *> * messages; #endif #ifdef Q_WS_WIN @@ -602,7 +602,7 @@ bool TQTranslator::do_load( const uchar *data, int len ) return ok; } -#ifndef QT_NO_TRANSLATION_BUILDER +#ifndef TQT_NO_TRANSLATION_BUILDER /*! Saves this message file to \a filename, overwriting the previous @@ -685,7 +685,7 @@ void TQTranslator::clear() delete d->contextArray; d->contextArray = 0; } -#ifndef QT_NO_TRANSLATION_BUILDER +#ifndef TQT_NO_TRANSLATION_BUILDER delete d->messages; d->messages = 0; #endif @@ -705,7 +705,7 @@ void TQTranslator::clear() } } -#ifndef QT_NO_TRANSLATION_BUILDER +#ifndef TQT_NO_TRANSLATION_BUILDER /*! Converts this message file to the compact format used to store @@ -973,7 +973,7 @@ TQTranslatorMessage TQTranslator::findMessage( const char* context, if ( comment == 0 ) comment = ""; -#ifndef QT_NO_TRANSLATION_BUILDER +#ifndef TQT_NO_TRANSLATION_BUILDER if ( d->messages ) { TQMap<TQTranslatorMessage, void *>::ConstIterator it; @@ -1078,14 +1078,14 @@ bool TQTranslator::isEmpty() const { return !( d->unmapPointer || d->unmapLength || d->messageArray || d->offsetArray || d->contextArray -#ifndef QT_NO_TRANSLATION_BUILDER +#ifndef TQT_NO_TRANSLATION_BUILDER || (d->messages && d->messages->count()) #endif ); } -#ifndef QT_NO_TRANSLATION_BUILDER +#ifndef TQT_NO_TRANSLATION_BUILDER /*! Returns a list of the messages in the translator. This function is @@ -1475,4 +1475,4 @@ bool TQTranslatorMessage::operator<( const TQTranslatorMessage& m ) const otherwise returns FALSE. */ -#endif // QT_NO_TRANSLATION +#endif // TQT_NO_TRANSLATION |