summaryrefslogtreecommitdiffstats
path: root/parts/tools
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/tools
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/tools')
-rw-r--r--parts/tools/kapplicationtree.cpp14
-rw-r--r--parts/tools/kapplicationtree.h6
-rw-r--r--parts/tools/tools_part.cpp4
-rw-r--r--parts/tools/tools_part.h2
-rw-r--r--parts/tools/toolsconfig.cpp4
-rw-r--r--parts/tools/toolsconfig.h2
-rw-r--r--parts/tools/toolsconfigwidget.cpp4
-rw-r--r--parts/tools/toolsconfigwidget.h2
8 files changed, 19 insertions, 19 deletions
diff --git a/parts/tools/kapplicationtree.cpp b/parts/tools/kapplicationtree.cpp
index 1844ba06..7db56d91 100644
--- a/parts/tools/kapplicationtree.cpp
+++ b/parts/tools/kapplicationtree.cpp
@@ -65,9 +65,9 @@ template class TQPtrList<TQString>;
// ----------------------------------------------------------------------
-KDevAppTreeListItem::KDevAppTreeListItem( KListView* tqparent, const TQString & name,
+KDevAppTreeListItem::KDevAppTreeListItem( KListView* parent, const TQString & name,
const TQPixmap& pixmap, bool parse, bool dir, const TQString& p, const TQString& c, const TQString& dE )
- : TQListViewItem( tqparent, name )
+ : TQListViewItem( parent, name )
{
init(pixmap, parse, dir, p, c, dE);
}
@@ -75,9 +75,9 @@ KDevAppTreeListItem::KDevAppTreeListItem( KListView* tqparent, const TQString &
// ----------------------------------------------------------------------
-KDevAppTreeListItem::KDevAppTreeListItem( TQListViewItem* tqparent, const TQString & name,
+KDevAppTreeListItem::KDevAppTreeListItem( TQListViewItem* parent, const TQString & name,
const TQPixmap& pixmap, bool parse, bool dir, const TQString& p, const TQString& c, const TQString& dE )
- : TQListViewItem( tqparent, name )
+ : TQListViewItem( parent, name )
{
init(pixmap, parse, dir, p, c, dE);
}
@@ -118,7 +118,7 @@ void KDevAppTreeListItem::activate()
void KDevAppTreeListItem::setOpen( bool o )
{
if( o && !parsed ) { // fill the tqchildren before opening
- ((KDevApplicationTree *) tqparent())->addDesktopGroup( path, this );
+ ((KDevApplicationTree *) parent())->addDesktopGroup( path, this );
parsed = true;
}
TQListViewItem::setOpen( o );
@@ -131,8 +131,8 @@ bool KDevAppTreeListItem::isDirectory()
// ----------------------------------------------------------------------
-KDevApplicationTree::KDevApplicationTree( TQWidget *tqparent, const char* name )
- : KListView( tqparent, name ), currentitem(0)
+KDevApplicationTree::KDevApplicationTree( TQWidget *parent, const char* name )
+ : KListView( parent, name ), currentitem(0)
{
addColumn( i18n("Known Applications") );
setRootIsDecorated( true );
diff --git a/parts/tools/kapplicationtree.h b/parts/tools/kapplicationtree.h
index 2e869889..4887d848 100644
--- a/parts/tools/kapplicationtree.h
+++ b/parts/tools/kapplicationtree.h
@@ -50,9 +50,9 @@ protected:
void init(const TQPixmap& pixmap, bool parse, bool dir, const TQString& _path, const TQString& _exec, const TQString& _dEntry);
public:
- KDevAppTreeListItem( KListView* tqparent, const TQString & name, const TQPixmap& pixmap,
+ KDevAppTreeListItem( KListView* parent, const TQString & name, const TQPixmap& pixmap,
bool parse, bool dir, const TQString& p, const TQString& c, const TQString& dE );
- KDevAppTreeListItem( TQListViewItem* tqparent, const TQString & name, const TQPixmap& pixmap,
+ KDevAppTreeListItem( TQListViewItem* parent, const TQString & name, const TQPixmap& pixmap,
bool parse, bool dir, const TQString& p, const TQString& c, const TQString& dE );
bool isDirectory();
@@ -76,7 +76,7 @@ class KDevApplicationTree : public KListView
Q_OBJECT
TQ_OBJECT
public:
- KDevApplicationTree( TQWidget *tqparent, const char* name = 0 );
+ KDevApplicationTree( TQWidget *parent, const char* name = 0 );
/**
* Add a group of .desktop/.kdelnk entries
diff --git a/parts/tools/tools_part.cpp b/parts/tools/tools_part.cpp
index b6420714..ef30ffa8 100644
--- a/parts/tools/tools_part.cpp
+++ b/parts/tools/tools_part.cpp
@@ -39,8 +39,8 @@ K_EXPORT_COMPONENT_FACTORY( libkdevtools, ToolsFactory( data ) )
TQMap<int, TQString> externalToolMenuEntries;
-ToolsPart::ToolsPart(TQObject *tqparent, const char *name, const TQStringList &)
- : KDevPlugin( &data, tqparent, name ? name : "ToolsPart")
+ToolsPart::ToolsPart(TQObject *parent, const char *name, const TQStringList &)
+ : KDevPlugin( &data, parent, name ? name : "ToolsPart")
{
setInstance(ToolsFactory::instance());
diff --git a/parts/tools/tools_part.h b/parts/tools/tools_part.h
index 5654d1ef..6b24b7b9 100644
--- a/parts/tools/tools_part.h
+++ b/parts/tools/tools_part.h
@@ -27,7 +27,7 @@ class ToolsPart : public KDevPlugin
public:
- ToolsPart( TQObject *tqparent, const char *name, const TQStringList & );
+ ToolsPart( TQObject *parent, const char *name, const TQStringList & );
~ToolsPart();
diff --git a/parts/tools/toolsconfig.cpp b/parts/tools/toolsconfig.cpp
index 915490d1..1b4c90f3 100644
--- a/parts/tools/toolsconfig.cpp
+++ b/parts/tools/toolsconfig.cpp
@@ -17,8 +17,8 @@
#include "kapplicationtree.h"
-ToolsConfig::ToolsConfig(TQWidget *tqparent, const char *name)
- : TQWidget(tqparent, name), _tree(0)
+ToolsConfig::ToolsConfig(TQWidget *parent, const char *name)
+ : TQWidget(parent, name), _tree(0)
{
_entries.setAutoDelete(true);
}
diff --git a/parts/tools/toolsconfig.h b/parts/tools/toolsconfig.h
index 81ae27ab..4b5cf26f 100644
--- a/parts/tools/toolsconfig.h
+++ b/parts/tools/toolsconfig.h
@@ -31,7 +31,7 @@ class ToolsConfig : public TQWidget
public:
- ToolsConfig(TQWidget *tqparent = 0, const char *name = 0);
+ ToolsConfig(TQWidget *parent = 0, const char *name = 0);
public slots:
diff --git a/parts/tools/toolsconfigwidget.cpp b/parts/tools/toolsconfigwidget.cpp
index da96adad..b4643b26 100644
--- a/parts/tools/toolsconfigwidget.cpp
+++ b/parts/tools/toolsconfigwidget.cpp
@@ -41,8 +41,8 @@ struct ToolsConfigEntry
};
-ToolsConfigWidget::ToolsConfigWidget(TQWidget *tqparent, const char *name)
- : ToolsConfigWidgetBase(tqparent, name)
+ToolsConfigWidget::ToolsConfigWidget(TQWidget *parent, const char *name)
+ : ToolsConfigWidgetBase(parent, name)
{
m_toolsmenuEntries.setAutoDelete(true);
m_filecontextEntries.setAutoDelete(true);
diff --git a/parts/tools/toolsconfigwidget.h b/parts/tools/toolsconfigwidget.h
index d0b468ac..37812bac 100644
--- a/parts/tools/toolsconfigwidget.h
+++ b/parts/tools/toolsconfigwidget.h
@@ -26,7 +26,7 @@ class ToolsConfigWidget : public ToolsConfigWidgetBase
TQ_OBJECT
public:
- ToolsConfigWidget(TQWidget *tqparent=0, const char *name=0);
+ ToolsConfigWidget(TQWidget *parent=0, const char *name=0);
~ToolsConfigWidget();
public slots: