summaryrefslogtreecommitdiffstats
path: root/parts/filelist
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit32b67ac0690de411b26b1d5e715b188c27442248 (patch)
tree43167816a3df6b3a877d71c9a7963ed270dcc8c9 /parts/filelist
parent330c33ab6f97b279737bf9527c9add7bb1475450 (diff)
downloadtdevelop-32b67ac0690de411b26b1d5e715b188c27442248.tar.gz
tdevelop-32b67ac0690de411b26b1d5e715b188c27442248.zip
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
Diffstat (limited to 'parts/filelist')
-rw-r--r--parts/filelist/filelist_item.cpp4
-rw-r--r--parts/filelist/filelist_item.h2
-rw-r--r--parts/filelist/filelist_widget.cpp4
-rw-r--r--parts/filelist/filelist_widget.h2
-rw-r--r--parts/filelist/projectviewconfig.cpp4
-rw-r--r--parts/filelist/projectviewconfig.h2
-rw-r--r--parts/filelist/projectviewpart.cpp4
-rw-r--r--parts/filelist/projectviewpart.h2
-rw-r--r--parts/filelist/projectviewprojectconfig.cpp4
-rw-r--r--parts/filelist/projectviewprojectconfig.h2
-rw-r--r--parts/filelist/toolbarguibuilder.cpp12
-rw-r--r--parts/filelist/toolbarguibuilder.h6
12 files changed, 24 insertions, 24 deletions
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 <kapplication.h>
-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<KURL, FileInfo> 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 <ktoolbar.h>
-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;