diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /lib/interfaces/external/designer.h | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/interfaces/external/designer.h')
-rw-r--r-- | lib/interfaces/external/designer.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/interfaces/external/designer.h b/lib/interfaces/external/designer.h index d0fdebd6..c254ab07 100644 --- a/lib/interfaces/external/designer.h +++ b/lib/interfaces/external/designer.h @@ -39,13 +39,13 @@ enum FunctionType { /**Function.*/ struct Function{ /**Return type.*/ - QString returnType; + TQString returnType; /**Function name.*/ - QString function; + TQString function; /**Specifier, e.g. virtual, static, etc.*/ - QString specifier; + TQString specifier; /**Access, e.g. private, protected, public, etc.*/ - QString access; + TQString access; /**Function type.*/ FunctionType type; }; @@ -66,31 +66,31 @@ mimetype then it becomes automatically integrated into KDevelop IDE. class Designer: public KParts::ReadWritePart{ Q_OBJECT public: - Designer(QObject *parent, const char *name); + Designer(TQObject *parent, const char *name); /**Reimplement this to be able to open projects.*/ - virtual void openProject(const QString &projectFile) = 0; + virtual void openProject(const TQString &projectFile) = 0; /**Reimplement this return the type of this designer.*/ virtual DesignerType designerType() = 0; signals: /**Emit this signal when a function was added by a designer. For example, when a slot or a callback function was defined.*/ - void addedFunction(DesignerType type, const QString &formName, Function function); + void addedFunction(DesignerType type, const TQString &formName, Function function); /**Emit this signal when a function was removed by a designer.*/ - void removedFunction(DesignerType type, const QString &formName, Function function); + void removedFunction(DesignerType type, const TQString &formName, Function function); /**Emit this signal when a function signature was edited by a designer.*/ - void editedFunction(DesignerType type, const QString &formName, Function oldFunction, Function function); + void editedFunction(DesignerType type, const TQString &formName, Function oldFunction, Function function); /**Emit this signal when a designer wants to open the editor with function definition.*/ - void editFunction(DesignerType type, const QString &formName, const QString &functionName); + void editFunction(DesignerType type, const TQString &formName, const TQString &functionName); /**Emit this signal when a designer wants to open the editor for a form sources.*/ - void editSource(DesignerType type, const QString &formName); + void editSource(DesignerType type, const TQString &formName); /**Emitted when a form state is changed in the designer. @param formName An absolute name of the form file. @param status 0: form is clean, 1: form is modified.*/ - void newStatus(const QString &formName, int status); + void newStatus(const TQString &formName, int status); }; } |