summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmscanner.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kpovmodeler/pmscanner.h
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz
tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpovmodeler/pmscanner.h')
-rw-r--r--kpovmodeler/pmscanner.h20
1 files changed, 10 insertions, 10 deletions
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 <qiodevice.h>
-#include <qstring.h>
-#include <qasciidict.h>
+#include <tqiodevice.h>
+#include <tqstring.h>
+#include <tqasciidict.h>
/**
* 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<int>
+class PMReservedWordDict : protected TQAsciiDict<int>
{
public:
/**
@@ -55,7 +55,7 @@ public:
*/
int find( const char* key ) const
{
- int* result = QAsciiDict<int>::find( key );
+ int* result = TQAsciiDict<int>::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;
};