diff options
Diffstat (limited to 'umbrello/umbrello/codegenerators/cppcodegenerationpolicy.h')
-rw-r--r-- | umbrello/umbrello/codegenerators/cppcodegenerationpolicy.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/umbrello/umbrello/codegenerators/cppcodegenerationpolicy.h b/umbrello/umbrello/codegenerators/cppcodegenerationpolicy.h index cda5d1f8..69d3490f 100644 --- a/umbrello/umbrello/codegenerators/cppcodegenerationpolicy.h +++ b/umbrello/umbrello/codegenerators/cppcodegenerationpolicy.h @@ -17,7 +17,7 @@ #ifndef CPPCODEGENERATIONPOLICY_H #define CPPCODEGENERATIONPOLICY_H -#include <qstring.h> +#include <tqstring.h> #include "codegenpolicyext.h" #include "../codegenerationpolicy.h" @@ -142,20 +142,20 @@ public: * of the CPP code. In the next 4 methods, we give accessors that allow getting * the names of the classes, and their include files for string and vectors. */ - QString getStringClassName(); - QString getStringClassNameInclude(); - QString getVectorClassName(); - QString getVectorClassNameInclude(); + TQString getStringClassName(); + TQString getStringClassNameInclude(); + TQString getVectorClassName(); + TQString getVectorClassNameInclude(); /** determine if the string include is global one */ bool stringIncludeIsGlobal (); bool vectorIncludeIsGlobal (); /** also allow setting these parameters! */ - void setStringClassName(const QString &value); - void setStringClassNameInclude(const QString &value); - void setVectorClassName(const QString &value); - void setVectorClassNameInclude(const QString &value); + void setStringClassName(const TQString &value); + void setStringClassNameInclude(const TQString &value); + void setVectorClassName(const TQString &value); + void setVectorClassNameInclude(const TQString &value); /** allow setting of these params */ void setStringIncludeIsGlobal (bool value); @@ -164,14 +164,14 @@ public: /** More flexible generation. We want to allow the user to specify how the * bodies of the vector methods should be auto-generated. */ - QString getVectorMethodAppend(const QString & variableName ="", const QString & itemClassName = ""); - QString getVectorMethodRemove(const QString & variableName ="", const QString & itemClassName = ""); - QString getVectorMethodInit(const QString & variableName ="", const QString & itemClassName = ""); + TQString getVectorMethodAppend(const TQString & variableName ="", const TQString & itemClassName = ""); + TQString getVectorMethodRemove(const TQString & variableName ="", const TQString & itemClassName = ""); + TQString getVectorMethodInit(const TQString & variableName ="", const TQString & itemClassName = ""); /** Be somewhat flexible about how new object classes are initialized. * Not sure if this should be user configureable. For now, it isnt. */ - QString getObjectMethodInit(const QString & variableName ="", const QString & itemClassName = ""); + TQString getObjectMethodInit(const TQString & variableName ="", const TQString & itemClassName = ""); /** * set the defaults for this code generator from the passed generator. @@ -192,7 +192,7 @@ public: * Create a new dialog interface for this object. * @return dialog object */ - CodeGenerationPolicyPage * createPage ( QWidget *parent = 0, const char * name = 0); + CodeGenerationPolicyPage * createPage ( TQWidget *parent = 0, const char * name = 0); protected: @@ -213,14 +213,14 @@ private: bool m_stringIncludeIsGlobal; bool m_vectorIncludeIsGlobal; - QString m_stringClassName; - QString m_stringClassNameInclude; - QString m_vectorClassName; - QString m_vectorClassNameInclude; - QString m_vectorMethodAppendBase; - QString m_vectorMethodRemoveBase; - QString m_vectorMethodInitBase; - QString m_objectMethodInitBase; + TQString m_stringClassName; + TQString m_stringClassNameInclude; + TQString m_vectorClassName; + TQString m_vectorClassNameInclude; + TQString m_vectorMethodAppendBase; + TQString m_vectorMethodRemoveBase; + TQString m_vectorMethodInitBase; + TQString m_objectMethodInitBase; }; |