diff options
Diffstat (limited to 'tqtinterface/qt4/src/kernel/tqtranslator.h')
-rw-r--r-- | tqtinterface/qt4/src/kernel/tqtranslator.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tqtinterface/qt4/src/kernel/tqtranslator.h b/tqtinterface/qt4/src/kernel/tqtranslator.h index b42c983..6713568 100644 --- a/tqtinterface/qt4/src/kernel/tqtranslator.h +++ b/tqtinterface/qt4/src/kernel/tqtranslator.h @@ -125,14 +125,14 @@ class TQ_EXPORT TQTranslator: public QTranslator, virtual public TQt public: TQTranslator( TQObject * tqparent = 0, const char * name = 0 ) : QTranslator( tqparent ) { setObjectName(QString::fromAscii(name)); } - inline TQString find(const char *context, const char *sourceText, const char * comment = 0) const { return translate(context, sourceText, comment); } +// inline TQString find(const char *context, const char *sourceText, const char * comment = 0) const { return translate(context, sourceText, comment); } // Everything below is part of the old API and is therefore incompatible with Qt4 functions which expect a pure QTranslator object or object pointer #ifndef TQT_NO_COMPAT - inline TQString tqfind( const char *context, const char *sourceText, const char * comment = 0 ) const { return tqfindMessage( context, sourceText, comment ).translation(); } + inline TQString find( const char *context, const char *sourceText, const char * comment = 0 ) const { return findMessage( context, sourceText, comment ).translation(); } #endif - virtual TQTranslatorMessage tqfindMessage( const char *, const char *, const char * = 0 ) const; + virtual TQTranslatorMessage findMessage( const char *, const char *, const char * = 0 ) const; #ifndef TQT_NO_TRANSLATION_BUILDER enum SaveMode { Everything, Stripped }; @@ -147,7 +147,7 @@ public: void squeeze( SaveMode = Everything ); void unsqueeze(); - bool tqcontains( const char *, const char *, const char * comment = 0 ) const; + bool contains( const char *, const char *, const char * comment = 0 ) const; TQValueList<TQTranslatorMessage> messages() const; #endif @@ -222,11 +222,11 @@ public: ~TQTranslator(); #ifndef TQT_NO_COMPAT - TQString tqfind( const char *context, const char *sourceText, const char * comment = 0 ) const { - return tqfindMessage( context, sourceText, comment ).translation(); + TQString find( const char *context, const char *sourceText, const char * comment = 0 ) const { + return findMessage( context, sourceText, comment ).translation(); } #endif - virtual TQTranslatorMessage tqfindMessage( const char *, const char *, + virtual TQTranslatorMessage findMessage( const char *, const char *, const char * = 0 ) const; bool load( const TQString & filename, @@ -253,7 +253,7 @@ public: void remove( const char *context, const char *sourceText ) { remove( TQTranslatorMessage(context, sourceText, "") ); } - bool tqcontains( const char *, const char *, const char * comment = 0 ) const; + bool contains( const char *, const char *, const char * comment = 0 ) const; void squeeze( SaveMode = Everything ); void unsqueeze(); |