diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 04766b207afba7961d4d802313e426f5a2fbef63 (patch) | |
tree | c888ea1027c793e2d0386a7e5a1a0cd077b03cb3 /kexi/formeditor/kdevelop_plugin | |
parent | b6edfe41c9395f2e20784cbf0e630af6426950a3 (diff) | |
download | koffice-04766b207afba7961d4d802313e426f5a2fbef63.tar.gz koffice-04766b207afba7961d4d802313e426f5a2fbef63.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kexi/formeditor/kdevelop_plugin')
-rw-r--r-- | kexi/formeditor/kdevelop_plugin/kfd_kdev_part.cpp | 6 | ||||
-rw-r--r-- | kexi/formeditor/kdevelop_plugin/kfd_kdev_part.h | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/kexi/formeditor/kdevelop_plugin/kfd_kdev_part.cpp b/kexi/formeditor/kdevelop_plugin/kfd_kdev_part.cpp index 8ab3ae0d..7166e7cc 100644 --- a/kexi/formeditor/kdevelop_plugin/kfd_kdev_part.cpp +++ b/kexi/formeditor/kdevelop_plugin/kfd_kdev_part.cpp @@ -123,8 +123,8 @@ class KFDPart_FormManager : public KFormDesigner::FormManager KFormDesigner::WidgetLibrary* KFormDesignerKDevPart::static_formsLibrary = 0L; -KFormDesignerKDevPart::KFormDesignerKDevPart(TQWidget *tqparent, const char *name, bool readOnly, const TQStringList &args) -: Designer(tqparent, name), m_count(0) +KFormDesignerKDevPart::KFormDesignerKDevPart(TQWidget *parent, const char *name, bool readOnly, const TQStringList &args) +: Designer(parent, name), m_count(0) { setInstance(KFDFactory::instance()); instance()->iconLoader()->addAppDir("kexi"); @@ -138,7 +138,7 @@ KFormDesignerKDevPart::KFormDesignerKDevPart(TQWidget *tqparent, const char *nam setUniqueFormMode(false); m_inShell = (!args.grep("shell").isEmpty()); - TQHBox *container = new TQHBox(tqparent, "kfd_container_widget"); + TQHBox *container = new TQHBox(parent, "kfd_container_widget"); container->setFocusPolicy(TQ_ClickFocus); m_workspace = new TQWorkspace(container, "kfd_workspace"); diff --git a/kexi/formeditor/kdevelop_plugin/kfd_kdev_part.h b/kexi/formeditor/kdevelop_plugin/kfd_kdev_part.h index 72f2ef82..b6929e5c 100644 --- a/kexi/formeditor/kdevelop_plugin/kfd_kdev_part.h +++ b/kexi/formeditor/kdevelop_plugin/kfd_kdev_part.h @@ -45,7 +45,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(); @@ -61,7 +61,7 @@ class KFORMEDITOR_EXPORT KFormDesignerKDevPart : public Designer TQ_OBJECT public: - KFormDesignerKDevPart(TQWidget *tqparent, const char *name, bool readOnly=true, const TQStringList &args=TQStringList()); + KFormDesignerKDevPart(TQWidget *parent, const char *name, bool readOnly=true, const TQStringList &args=TQStringList()); virtual ~KFormDesignerKDevPart(); virtual DesignerType designerType() { return TQtDesigner; } @@ -119,8 +119,8 @@ class KFORMEDITOR_EXPORT FormWidgetBase : public TQWidget, public KFormDesigner: TQ_OBJECT public: - FormWidgetBase(KFormDesignerKDevPart *part, TQWidget *tqparent = 0, const char *name = 0, int WFlags = WDestructiveClose) - : TQWidget(tqparent, name, WFlags), m_part(part) {} + FormWidgetBase(KFormDesignerKDevPart *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); |