summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/kdevdesigner_part.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /kdevdesigner/designer/kdevdesigner_part.h
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-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 'kdevdesigner/designer/kdevdesigner_part.h')
-rw-r--r--kdevdesigner/designer/kdevdesigner_part.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/kdevdesigner/designer/kdevdesigner_part.h b/kdevdesigner/designer/kdevdesigner_part.h
index cb2fa79f..b85f0b0b 100644
--- a/kdevdesigner/designer/kdevdesigner_part.h
+++ b/kdevdesigner/designer/kdevdesigner_part.h
@@ -21,7 +21,7 @@
#ifndef _KDEVDESIGNERPART_H_
#define _KDEVDESIGNERPART_H_
-#include <qmap.h>
+#include <tqmap.h>
#include <kparts/part.h>
#include <kparts/factory.h>
@@ -40,27 +40,27 @@ class KDevDesignerPart : public KInterfaceDesigner::Designer
{
Q_OBJECT
public:
- KDevDesignerPart(QWidget *parentWidget, const char *widgetName,
- QObject *parent, const char *name, const QStringList &args);
+ KDevDesignerPart(TQWidget *parentWidget, const char *widgetName,
+ TQObject *parent, const char *name, const TQStringList &args);
virtual ~KDevDesignerPart();
virtual void setReadWrite(bool rw);
virtual void setModified(bool modified);
- void statusMessage(const QString &msg);
+ void statusMessage(const TQString &msg);
//KInterfaceDesigner::Designer methods
- virtual void openProject(const QString &projectFile);
+ virtual void openProject(const TQString &projectFile);
virtual KInterfaceDesigner::DesignerType designerType();
- void emitAddedFunction(const QString &form, KInterfaceDesigner::Function func);
- void emitEditedFunction(const QString &form, KInterfaceDesigner::Function oldFunc, KInterfaceDesigner::Function func);
- void emitRemovedFunction(const QString &form, KInterfaceDesigner::Function func);
+ void emitAddedFunction(const TQString &form, KInterfaceDesigner::Function func);
+ void emitEditedFunction(const TQString &form, KInterfaceDesigner::Function oldFunc, KInterfaceDesigner::Function func);
+ void emitRemovedFunction(const TQString &form, KInterfaceDesigner::Function func);
- void emitEditFunction(const QString &formName, const QString &functionName);
- void emitEditSource(const QString &formName);
+ void emitEditFunction(const TQString &formName, const TQString &functionName);
+ void emitEditSource(const TQString &formName);
- void emitNewStatus(const QString &formName, int status);
+ void emitNewStatus(const TQString &formName, int status);
protected:
virtual bool openFile();
@@ -69,8 +69,8 @@ protected:
void setupDesignerWindow();
void setupActions();
- void stateSync(KAction *kaction, QAction *qaction);
- void setupToolsAction(KRadioAction *toggle, QAction *action);
+ void stateSync(KAction *kaction, TQAction *qaction);
+ void setupToolsAction(KRadioAction *toggle, TQAction *action);
protected slots:
void setToggleActionChecked(bool b);
@@ -119,8 +119,8 @@ protected slots:
private:
MainWindow *m_widget;
- QMap<const QAction*, KRadioAction*> m_actionMap;
- QMap<const KRadioAction*, QAction*> m_actionMap2;
+ TQMap<const TQAction*, KRadioAction*> m_actionMap;
+ TQMap<const KRadioAction*, TQAction*> m_actionMap2;
KRadioAction* pointerAction;
};
@@ -133,9 +133,9 @@ class KDevDesignerPartFactory : public KParts::Factory
public:
KDevDesignerPartFactory();
virtual ~KDevDesignerPartFactory();
- virtual KParts::Part* createPartObject( QWidget *parentWidget, const char *widgetName,
- QObject *parent, const char *name,
- const char *classname, const QStringList &args );
+ virtual KParts::Part* createPartObject( TQWidget *parentWidget, const char *widgetName,
+ TQObject *parent, const char *name,
+ const char *classname, const TQStringList &args );
static KInstance* instance();
private: