From 32b67ac0690de411b26b1d5e715b188c27442248 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- parts/filelist/filelist_item.cpp | 4 ++-- parts/filelist/filelist_item.h | 2 +- parts/filelist/filelist_widget.cpp | 4 ++-- parts/filelist/filelist_widget.h | 2 +- parts/filelist/projectviewconfig.cpp | 4 ++-- parts/filelist/projectviewconfig.h | 2 +- parts/filelist/projectviewpart.cpp | 4 ++-- parts/filelist/projectviewpart.h | 2 +- parts/filelist/projectviewprojectconfig.cpp | 4 ++-- parts/filelist/projectviewprojectconfig.h | 2 +- parts/filelist/toolbarguibuilder.cpp | 12 ++++++------ parts/filelist/toolbarguibuilder.h | 6 +++--- 12 files changed, 24 insertions(+), 24 deletions(-) (limited to 'parts/filelist') diff --git a/parts/filelist/filelist_item.cpp b/parts/filelist/filelist_item.cpp index 4e53e9f3..9fd8fe31 100644 --- a/parts/filelist/filelist_item.cpp +++ b/parts/filelist/filelist_item.cpp @@ -20,8 +20,8 @@ FileListItem * FileListItem::s_activeItem = 0; -FileListItem::FileListItem( TQListView * tqparent, KURL const & url, DocumentState state ) - : TQListViewItem( tqparent, url.fileName() ), +FileListItem::FileListItem( TQListView * parent, KURL const & url, DocumentState state ) + : TQListViewItem( parent, url.fileName() ), _url( url ) { diff --git a/parts/filelist/filelist_item.h b/parts/filelist/filelist_item.h index fd0d0a77..6b88b09e 100644 --- a/parts/filelist/filelist_item.h +++ b/parts/filelist/filelist_item.h @@ -23,7 +23,7 @@ class FileListItem : public TQListViewItem { public: - FileListItem( TQListView * tqparent, KURL const & url, DocumentState = Clean ); + FileListItem( TQListView * parent, KURL const & url, DocumentState = Clean ); KURL url(); diff --git a/parts/filelist/filelist_widget.cpp b/parts/filelist/filelist_widget.cpp index 5f026628..49fed3bf 100644 --- a/parts/filelist/filelist_widget.cpp +++ b/parts/filelist/filelist_widget.cpp @@ -34,8 +34,8 @@ * @param part * @return */ -FileListWidget::FileListWidget(ProjectviewPart *part, TQWidget *tqparent) - : KListView(tqparent), TQToolTip( viewport() ), _part( part ) +FileListWidget::FileListWidget(ProjectviewPart *part, TQWidget *parent) + : KListView(parent), TQToolTip( viewport() ), _part( part ) { addColumn( "" ); header()->hide(); diff --git a/parts/filelist/filelist_widget.h b/parts/filelist/filelist_widget.h index f2c2bd51..3de67a57 100644 --- a/parts/filelist/filelist_widget.h +++ b/parts/filelist/filelist_widget.h @@ -37,7 +37,7 @@ class FileListWidget : public KListView, public TQToolTip public: - FileListWidget(ProjectviewPart *part, TQWidget *tqparent=0); + FileListWidget(ProjectviewPart *part, TQWidget *parent=0); ~FileListWidget(); protected: diff --git a/parts/filelist/projectviewconfig.cpp b/parts/filelist/projectviewconfig.cpp index c552a5fd..0f138e1a 100644 --- a/parts/filelist/projectviewconfig.cpp +++ b/parts/filelist/projectviewconfig.cpp @@ -25,8 +25,8 @@ #include -ProjectviewConfig::ProjectviewConfig(TQWidget *tqparent, const char *name) - : ProjectviewConfigBase(tqparent, name) +ProjectviewConfig::ProjectviewConfig(TQWidget *parent, const char *name) + : ProjectviewConfigBase(parent, name) { KConfig * config = kapp->config(); config->setGroup("File List Plugin"); diff --git a/parts/filelist/projectviewconfig.h b/parts/filelist/projectviewconfig.h index d81de3a9..6ebf2ef5 100644 --- a/parts/filelist/projectviewconfig.h +++ b/parts/filelist/projectviewconfig.h @@ -29,7 +29,7 @@ class ProjectviewConfig: public ProjectviewConfigBase Q_OBJECT TQ_OBJECT public: - ProjectviewConfig(TQWidget *tqparent = 0, const char *name = 0); + ProjectviewConfig(TQWidget *parent = 0, const char *name = 0); public slots: void accept(); diff --git a/parts/filelist/projectviewpart.cpp b/parts/filelist/projectviewpart.cpp index 2fa329dd..903f1dd1 100644 --- a/parts/filelist/projectviewpart.cpp +++ b/parts/filelist/projectviewpart.cpp @@ -68,8 +68,8 @@ K_EXPORT_COMPONENT_FACTORY(libkdevfilelist, projectviewFactory(data)) #define GLOBALDOC_OPTIONS 1 #define PROJECTDOC_OPTIONS 2 -ProjectviewPart::ProjectviewPart(TQObject *tqparent, const char *name, const TQStringList &/*args*/) - : KDevPlugin(&data, tqparent, name ? name : "FileListPart") +ProjectviewPart::ProjectviewPart(TQObject *parent, const char *name, const TQStringList &/*args*/) + : KDevPlugin(&data, parent, name ? name : "FileListPart") { setInstance(projectviewFactory::instance()); setXMLFile("kdevfilelist.rc"); diff --git a/parts/filelist/projectviewpart.h b/parts/filelist/projectviewpart.h index c8555f8b..dc0287b7 100644 --- a/parts/filelist/projectviewpart.h +++ b/parts/filelist/projectviewpart.h @@ -63,7 +63,7 @@ public: // typedef TQMap FileInfoMap; - ProjectviewPart(TQObject *tqparent, const char *name, const TQStringList &args); + ProjectviewPart(TQObject *parent, const char *name, const TQStringList &args); ~ProjectviewPart(); // reimplemented from KDevPlugin diff --git a/parts/filelist/projectviewprojectconfig.cpp b/parts/filelist/projectviewprojectconfig.cpp index 0b471ff1..b411dbbd 100644 --- a/parts/filelist/projectviewprojectconfig.cpp +++ b/parts/filelist/projectviewprojectconfig.cpp @@ -24,8 +24,8 @@ #include "projectviewpart.h" -ProjectviewProjectConfig::ProjectviewProjectConfig(ProjectviewPart *part, TQWidget *tqparent, const char *name) - : ProjectviewProjectConfigBase(tqparent, name), m_part(part) +ProjectviewProjectConfig::ProjectviewProjectConfig(ProjectviewPart *part, TQWidget *parent, const char *name) + : ProjectviewProjectConfigBase(parent, name), m_part(part) { kComboDefault->clear(); kComboDefault->insertItem(""); diff --git a/parts/filelist/projectviewprojectconfig.h b/parts/filelist/projectviewprojectconfig.h index 2a7ee5c5..f24a3028 100644 --- a/parts/filelist/projectviewprojectconfig.h +++ b/parts/filelist/projectviewprojectconfig.h @@ -30,7 +30,7 @@ class ProjectviewProjectConfig: public ProjectviewProjectConfigBase Q_OBJECT TQ_OBJECT public: - ProjectviewProjectConfig(ProjectviewPart *part, TQWidget *tqparent = 0, const char *name = 0); + ProjectviewProjectConfig(ProjectviewPart *part, TQWidget *parent = 0, const char *name = 0); public slots: void accept(); diff --git a/parts/filelist/toolbarguibuilder.cpp b/parts/filelist/toolbarguibuilder.cpp index f2123d60..b4e1a993 100644 --- a/parts/filelist/toolbarguibuilder.cpp +++ b/parts/filelist/toolbarguibuilder.cpp @@ -22,8 +22,8 @@ #include -ToolbarGUIBuilder::ToolbarGUIBuilder(TQWidget *tqparent, TQWidget *widget) - : KXMLGUIBuilder(widget), KToolBar(tqparent, "ToolbarGUIbuilder"), m_parent(tqparent) +ToolbarGUIBuilder::ToolbarGUIBuilder(TQWidget *parent, TQWidget *widget) + : KXMLGUIBuilder(widget), KToolBar(parent, "ToolbarGUIbuilder"), m_parent(parent) { // setHidden(true); setFrameStyle(0); @@ -34,7 +34,7 @@ ToolbarGUIBuilder::~ToolbarGUIBuilder() { } -TQWidget * ToolbarGUIBuilder::createContainer(TQWidget *tqparent, int index, const TQDomElement &element, int &id) +TQWidget * ToolbarGUIBuilder::createContainer(TQWidget *parent, int index, const TQDomElement &element, int &id) { if (element.tagName().lower() == "toolbar") { @@ -42,11 +42,11 @@ TQWidget * ToolbarGUIBuilder::createContainer(TQWidget *tqparent, int index, con return this; } else { - return KXMLGUIBuilder::createContainer(tqparent, index, element, id); + return KXMLGUIBuilder::createContainer(parent, index, element, id); } } -void ToolbarGUIBuilder::removeContainer(TQWidget *container, TQWidget *tqparent, TQDomElement &element, int id) +void ToolbarGUIBuilder::removeContainer(TQWidget *container, TQWidget *parent, TQDomElement &element, int id) { if (container == this) { @@ -54,6 +54,6 @@ void ToolbarGUIBuilder::removeContainer(TQWidget *container, TQWidget *tqparent, reparent(0, TQPoint(0, 0)); } else - KXMLGUIBuilder::removeContainer(container, tqparent, element, id); + KXMLGUIBuilder::removeContainer(container, parent, element, id); } diff --git a/parts/filelist/toolbarguibuilder.h b/parts/filelist/toolbarguibuilder.h index c3b6ef51..ec02c371 100644 --- a/parts/filelist/toolbarguibuilder.h +++ b/parts/filelist/toolbarguibuilder.h @@ -34,20 +34,20 @@ class ToolbarGUIBuilder : public KXMLGUIBuilder, public KToolBar { public: - ToolbarGUIBuilder(TQWidget *tqparent, TQWidget *widget); + ToolbarGUIBuilder(TQWidget *parent, TQWidget *widget); virtual ~ToolbarGUIBuilder(); /** * Called when a new XML gui client is added to the gui factory. */ - virtual TQWidget *createContainer(TQWidget *tqparent, int index, const TQDomElement &element, int &id); + virtual TQWidget *createContainer(TQWidget *parent, int index, const TQDomElement &element, int &id); /** * Called when a XML gui client is removed the gui factory. * Reimplemented from KXMLGUIBuilder in order to remove our custom toolbar. */ - virtual void removeContainer(TQWidget *container, TQWidget *tqparent, TQDomElement &element, int id); + virtual void removeContainer(TQWidget *container, TQWidget *parent, TQDomElement &element, int id); private: TQWidget * m_parent; -- cgit v1.2.1