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.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/interfaces/external/designer.h b/lib/interfaces/external/designer.h
index c254ab07..72d7508a 100644
--- a/lib/interfaces/external/designer.h
+++ b/lib/interfaces/external/designer.h
@@ -26,14 +26,14 @@ namespace KInterfaceDesigner{
/**The type of a GUI Designer.*/
enum DesignerType {
- QtDesigner /**<Qt Designer.*/,
+ TQtDesigner /**<TQt Designer.*/,
Glade /**<Glade (version >= 3).*/
};
/**Function type.*/
enum FunctionType {
ftFunction /**<Simple function or a callback.*/,
- ftQtSlot /**<Qt slot.*/
+ ftTQtSlot /**<TQt slot.*/
};
/**Function.*/
@@ -65,8 +65,9 @@ mimetype then it becomes automatically integrated into KDevelop IDE.
*/
class Designer: public KParts::ReadWritePart{
Q_OBJECT
+ TQ_OBJECT
public:
- Designer(TQObject *parent, const char *name);
+ Designer(TQObject *tqparent, const char *name);
/**Reimplement this to be able to open projects.*/
virtual void openProject(const TQString &projectFile) = 0;
@@ -90,7 +91,7 @@ signals:
/**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 TQString &formName, int status);
+ void newtqStatus(const TQString &formName, int status);
};
}