diff options
Diffstat (limited to 'kbabel/common/msgfmt.h')
-rw-r--r-- | kbabel/common/msgfmt.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/kbabel/common/msgfmt.h b/kbabel/common/msgfmt.h index 1a025312..9831a43f 100644 --- a/kbabel/common/msgfmt.h +++ b/kbabel/common/msgfmt.h @@ -20,11 +20,11 @@ In addition, as a special exception, the copyright holders give permission to link the code of this program with any edition of - the Qt library by Trolltech AS, Norway (or with modified versions - of Qt that use the same license as Qt), and distribute linked + the TQt library by Trolltech AS, Norway (or with modified versions + of TQt that use the same license as TQt), and distribute linked combinations including the two. You must obey the GNU General Public License in all respects for all of the code used other than - Qt. If you modify this file, you may extend this exception to + TQt. If you modify this file, you may extend this exception to your version of the file, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. @@ -42,15 +42,16 @@ class TQString; namespace KBabel { -class KDE_EXPORT Msgfmt : private QObject +class KDE_EXPORT Msgfmt : private TQObject { Q_OBJECT + TQ_OBJECT public: - enum Status{NoExecutable,Ok,SyntaxError,HeaderError,Error,Unsupported}; - Msgfmt(TQObject* parent=0,const char* name=0); + enum tqStatus{NoExecutable,Ok,SyntaxError,HeaderError,Error,Unsupported}; + Msgfmt(TQObject* tqparent=0,const char* name=0); - Status checkSyntax(TQString file,TQString& output, bool gnu = false); - Status checkSyntaxInDir(TQString dir,TQString regexp,TQString& output); + tqStatus checkSyntax(TQString file,TQString& output, bool gnu = false); + tqStatus checkSyntaxInDir(TQString dir,TQString regexp,TQString& output); private slots: void addToOutput(KProcess*,char *buffer, int buflen); |