summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmsymboltable.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/pmsymboltable.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/pmsymboltable.h')
-rw-r--r--kpovmodeler/pmsymboltable.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/kpovmodeler/pmsymboltable.h b/kpovmodeler/pmsymboltable.h
index 27e88785..481a2916 100644
--- a/kpovmodeler/pmsymboltable.h
+++ b/kpovmodeler/pmsymboltable.h
@@ -28,8 +28,8 @@
class PMObject;
class PMDeclare;
-#include <qdict.h>
-#include <qstring.h>
+#include <tqdict.h>
+#include <tqstring.h>
/**
* Entry in a @ref PMSymbolTable. Can be a @ref PMValue or a @ref PMObject
@@ -42,11 +42,11 @@ public:
/**
* Creates a entry for an object
*/
- PMSymbol( const QString& id, PMDeclare* o );
+ PMSymbol( const TQString& id, PMDeclare* o );
/**
* Creates a entry for a value
*/
- PMSymbol( const QString& id, const PMValue& v );
+ PMSymbol( const TQString& id, const PMValue& v );
/**
* Destructor
*/
@@ -59,11 +59,11 @@ public:
/**
* Returns the id of the symbol
*/
- QString id( ) const { return m_id; }
+ TQString id( ) const { return m_id; }
/**
* Sets the id
*/
- void setId( const QString& id );
+ void setId( const TQString& id );
/**
* Returns the stored object
*/
@@ -92,13 +92,13 @@ private:
PMDeclare* m_pObj;
PMSymbol* m_pRenamedSymbol;
PMValue* m_pVal;
- QString m_id;
+ TQString m_id;
};
/**
* Symbol table for povray #declare statements
*/
-class PMSymbolTable : public QDict<PMSymbol>
+class PMSymbolTable : public TQDict<PMSymbol>
{
public:
/**
@@ -112,7 +112,7 @@ public:
/**
* Returns a free id with prefix prefix and a number as suffix
*/
- QString findNewID( const QString& prefix );
+ TQString findNewID( const TQString& prefix );
/**
* Returns a free id with prefix prefix and a number as suffix and assigns
* it to the object.
@@ -120,9 +120,9 @@ public:
* Does NOT add the object to the symbol table.
*
* Returns the new symbol.*/
- PMSymbol* findNewID( const QString& prefix, PMDeclare* obj );
+ PMSymbol* findNewID( const TQString& prefix, PMDeclare* obj );
private:
- QDict<int> m_lastID;
+ TQDict<int> m_lastID;
};
#endif