diff options
Diffstat (limited to 'kexi/formeditor/test')
-rw-r--r-- | kexi/formeditor/test/kfd_part.cpp | 6 | ||||
-rw-r--r-- | kexi/formeditor/test/kfd_part.h | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/kexi/formeditor/test/kfd_part.cpp b/kexi/formeditor/test/kfd_part.cpp index d95e96ae..f309283f 100644 --- a/kexi/formeditor/test/kfd_part.cpp +++ b/kexi/formeditor/test/kfd_part.cpp @@ -123,8 +123,8 @@ KFDFactory::aboutData() KFormDesigner::WidgetLibrary* KFormDesignerPart::static_formsLibrary = 0L; -KFormDesignerPart::KFormDesignerPart(TQWidget *tqparent, const char *name, bool readOnly, const TQStringList &args) -: KParts::ReadWritePart(tqparent, name), m_count(0) +KFormDesignerPart::KFormDesignerPart(TQWidget *parent, const char *name, bool readOnly, const TQStringList &args) +: KParts::ReadWritePart(parent, name), m_count(0) { setInstance(KFDFactory::instance()); instance()->iconLoader()->addAppDir("kexi"); @@ -138,7 +138,7 @@ KFormDesignerPart::KFormDesignerPart(TQWidget *tqparent, const char *name, bool setUniqueFormMode(false); m_inShell = (!args.grep("shell").isEmpty()); - TQHBox *container = new TQHBox(tqparent, "kfd_container_widget"); + TQHBox *container = new TQHBox(parent, "kfd_container_widget"); m_workspace = new TQWorkspace(container, "kfd_workspace"); m_workspace->show(); diff --git a/kexi/formeditor/test/kfd_part.h b/kexi/formeditor/test/kfd_part.h index 5b264b03..cb2874ae 100644 --- a/kexi/formeditor/test/kfd_part.h +++ b/kexi/formeditor/test/kfd_part.h @@ -44,7 +44,7 @@ class KFORMEDITOR_EXPORT KFDFactory : public KParts::Factory KFDFactory(); virtual ~KFDFactory(); - virtual KParts::Part* createPartObject(TQWidget *parentWidget=0, const char *widgetName=0, TQObject *tqparent=0, const char *name=0, + virtual KParts::Part* createPartObject(TQWidget *parentWidget=0, const char *widgetName=0, TQObject *parent=0, const char *name=0, const char *classname="KParts::Part", const TQStringList &args=TQStringList()); static KInstance *instance(); @@ -60,7 +60,7 @@ class KFORMEDITOR_EXPORT KFormDesignerPart: public KParts::ReadWritePart TQ_OBJECT public: - KFormDesignerPart(TQWidget *tqparent, const char *name, bool readOnly=true, const TQStringList &args=TQStringList()); + KFormDesignerPart(TQWidget *parent, const char *name, bool readOnly=true, const TQStringList &args=TQStringList()); virtual ~KFormDesignerPart(); static KFormDesigner::WidgetLibrary* formsLibrary(); @@ -122,8 +122,8 @@ class KFORMEDITOR_EXPORT FormWidgetBase : public TQWidget, public KFormDesigner: TQ_OBJECT public: - FormWidgetBase(KFormDesignerPart *part, TQWidget *tqparent = 0, const char *name = 0, int WFlags = WDestructiveClose) - : TQWidget(tqparent, name, WFlags), m_part(part) {} + FormWidgetBase(KFormDesignerPart *part, TQWidget *parent = 0, const char *name = 0, int WFlags = WDestructiveClose) + : TQWidget(parent, name, WFlags), m_part(part) {} ~FormWidgetBase() {;} void drawRect(const TQRect& r, int type); |