From eba47f8f0637f451e21348187591e1f1fd58ac74 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:23:46 +0000 Subject: TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kpovmodeler/pmscanner.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'kpovmodeler/pmscanner.h') diff --git a/kpovmodeler/pmscanner.h b/kpovmodeler/pmscanner.h index 6a3e8529..9d2515ea 100644 --- a/kpovmodeler/pmscanner.h +++ b/kpovmodeler/pmscanner.h @@ -20,9 +20,9 @@ #ifndef PMSCANNER_H #define PMSCANNER_H -#include -#include -#include +#include +#include +#include /** * Dictionary of reserved words for fast lookup @@ -30,7 +30,7 @@ * The class @ref PMScanner has two static dictionaries: one for reserved * words and one for directives. The constructor will insert the items. */ -class PMReservedWordDict : protected QAsciiDict +class PMReservedWordDict : protected TQAsciiDict { public: /** @@ -55,7 +55,7 @@ public: */ int find( const char* key ) const { - int* result = QAsciiDict::find( key ); + int* result = TQAsciiDict::find( key ); if( result ) return *result; return -1; @@ -70,9 +70,9 @@ class PMScanner { public: /** - * Creates a scanner that scans the QIODevice device + * Creates a scanner that scans the TQIODevice device */ - PMScanner( QIODevice* device ); + PMScanner( TQIODevice* device ); /** * Deletes the scanner */ @@ -110,7 +110,7 @@ public: /** * Returns the error string if current token is SCANNER_ERROR_TOK */ - QString error( ) const { return m_error; } + TQString error( ) const { return m_error; } /** * Special parse method for a function statement */ @@ -168,7 +168,7 @@ private: TOKEN_END_ST }; - QIODevice* m_pDevice; + TQIODevice* m_pDevice; int m_char; int m_token; @@ -184,7 +184,7 @@ private: bool m_bFunctionMode; int m_line; - QString m_error; + TQString m_error; }; -- cgit v1.2.3