summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/kdevdesigner_part.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
commit48d4a26399959121f33d2bc3bfe51c7827b654fc (patch)
tree5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /kdevdesigner/designer/kdevdesigner_part.h
parent7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff)
downloadtdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz
tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdevdesigner/designer/kdevdesigner_part.h')
-rw-r--r--kdevdesigner/designer/kdevdesigner_part.h26
1 files changed, 14 insertions, 12 deletions
diff --git a/kdevdesigner/designer/kdevdesigner_part.h b/kdevdesigner/designer/kdevdesigner_part.h
index f33969ef..a3a759e4 100644
--- a/kdevdesigner/designer/kdevdesigner_part.h
+++ b/kdevdesigner/designer/kdevdesigner_part.h
@@ -39,9 +39,10 @@ class KRadioAction;
class KDevDesignerPart : public KInterfaceDesigner::Designer
{
Q_OBJECT
+ TQ_OBJECT
public:
- KDevDesignerPart(TQWidget *parentWidget, const char *widgetName,
- TQObject *parent, const char *name, const TQStringList &args);
+ KDevDesignerPart(TQWidget *tqparentWidget, const char *widgetName,
+ TQObject *tqparent, const char *name, const TQStringList &args);
virtual ~KDevDesignerPart();
virtual void setReadWrite(bool rw);
@@ -60,7 +61,7 @@ public:
void emitEditFunction(const TQString &formName, const TQString &functionName);
void emitEditSource(const TQString &formName);
- void emitNewStatus(const TQString &formName, int status);
+ void emitNewtqStatus(const TQString &formName, int status);
protected:
virtual bool openFile();
@@ -103,13 +104,13 @@ protected slots:
void toolsConfigureToolbox();
void toolsEditCustomWidgets();
- void layoutAdjustSize();
- void layoutHLayout();
- void layoutVLayout();
- void layoutGridLayout();
- void layoutSplitHLayout();
- void layoutSplitVLayout();
- void layoutBreak();
+ void tqlayoutAdjustSize();
+ void tqlayoutHLayout();
+ void tqlayoutVLayout();
+ void tqlayoutGridLayout();
+ void tqlayoutSplitHLayout();
+ void tqlayoutSplitVLayout();
+ void tqlayoutBreak();
void windowPreview();
void windowNext();
@@ -130,11 +131,12 @@ class KAboutData;
class KDevDesignerPartFactory : public KParts::Factory
{
Q_OBJECT
+ TQ_OBJECT
public:
KDevDesignerPartFactory();
virtual ~KDevDesignerPartFactory();
- virtual KParts::Part* createPartObject( TQWidget *parentWidget, const char *widgetName,
- TQObject *parent, const char *name,
+ virtual KParts::Part* createPartObject( TQWidget *tqparentWidget, const char *widgetName,
+ TQObject *tqparent, const char *name,
const char *classname, const TQStringList &args );
static KInstance* instance();