summaryrefslogtreecommitdiffstats
path: root/lib/interfaces/external/designer.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/interfaces/external/designer.h')
-rw-r--r--lib/interfaces/external/designer.h24
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);
};
}