summaryrefslogtreecommitdiffstats
path: root/languages/lib
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 /languages/lib
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 'languages/lib')
-rw-r--r--languages/lib/debugger/kdevdebugger.cpp4
-rw-r--r--languages/lib/debugger/kdevdebugger.h2
-rw-r--r--languages/lib/designer_integration/implementationwidget.cpp30
-rw-r--r--languages/lib/designer_integration/implementationwidget.h6
-rw-r--r--languages/lib/interfaces/kdevpcsimporter.cpp6
-rw-r--r--languages/lib/interfaces/kdevpcsimporter.h4
6 files changed, 26 insertions, 26 deletions
diff --git a/languages/lib/debugger/kdevdebugger.cpp b/languages/lib/debugger/kdevdebugger.cpp
index 416f567c..b9ee4a05 100644
--- a/languages/lib/debugger/kdevdebugger.cpp
+++ b/languages/lib/debugger/kdevdebugger.cpp
@@ -19,8 +19,8 @@
*/
#include "kdevdebugger.h"
-KDevDebugger::KDevDebugger(TQObject *tqparent, const char *name)
- : TQObject(tqparent, name)
+KDevDebugger::KDevDebugger(TQObject *parent, const char *name)
+ : TQObject(parent, name)
{
}
diff --git a/languages/lib/debugger/kdevdebugger.h b/languages/lib/debugger/kdevdebugger.h
index f1e50987..dda58aeb 100644
--- a/languages/lib/debugger/kdevdebugger.h
+++ b/languages/lib/debugger/kdevdebugger.h
@@ -38,7 +38,7 @@ class KDevDebugger : public TQObject
public:
- KDevDebugger(TQObject *tqparent=0, const char *name=0);
+ KDevDebugger(TQObject *parent=0, const char *name=0);
~KDevDebugger();
/**
diff --git a/languages/lib/designer_integration/implementationwidget.cpp b/languages/lib/designer_integration/implementationwidget.cpp
index 6198f9bc..d9a3d6a7 100644
--- a/languages/lib/designer_integration/implementationwidget.cpp
+++ b/languages/lib/designer_integration/implementationwidget.cpp
@@ -40,10 +40,10 @@
namespace ImplUtils{
class ClassItem: public KListViewItem{
public:
- ClassItem(KListViewItem *tqparent, ClassDom dom)
- :KListViewItem(tqparent, dom->name(), dom->fileName()), m_dom(dom) { setOpen(true); }
- ClassItem(KListView *tqparent, ClassDom dom)
- :KListViewItem(tqparent, dom->name(), dom->fileName()), m_dom(dom) { setOpen(true); }
+ ClassItem(KListViewItem *parent, ClassDom dom)
+ :KListViewItem(parent, dom->name(), dom->fileName()), m_dom(dom) { setOpen(true); }
+ ClassItem(KListView *parent, ClassDom dom)
+ :KListViewItem(parent, dom->name(), dom->fileName()), m_dom(dom) { setOpen(true); }
ClassDom dom() const { return m_dom; }
private:
ClassDom m_dom;
@@ -51,18 +51,18 @@ private:
class NamespaceItem: public KListViewItem{
public:
- NamespaceItem(KListViewItem *tqparent, NamespaceDom dom)
- :KListViewItem(tqparent, dom->name(), dom->fileName()), m_dom(dom) { setOpen(true); }
- NamespaceItem(KListView *tqparent, NamespaceDom dom)
- :KListViewItem(tqparent, dom->name(), dom->fileName()), m_dom(dom) { setOpen(true); }
+ NamespaceItem(KListViewItem *parent, NamespaceDom dom)
+ :KListViewItem(parent, dom->name(), dom->fileName()), m_dom(dom) { setOpen(true); }
+ NamespaceItem(KListView *parent, NamespaceDom dom)
+ :KListViewItem(parent, dom->name(), dom->fileName()), m_dom(dom) { setOpen(true); }
NamespaceDom dom() const { return m_dom; }
private:
NamespaceDom m_dom;
};
}
-ImplementationWidget::ImplementationWidget(KDevLanguageSupport *part, TQWidget* tqparent, const char* name, bool modal)
- :CreateImplemenationWidgetBase(tqparent, name, modal), m_part(part)
+ImplementationWidget::ImplementationWidget(KDevLanguageSupport *part, TQWidget* parent, const char* name, bool modal)
+ :CreateImplemenationWidgetBase(parent, name, modal), m_part(part)
{
}
@@ -84,21 +84,21 @@ void ImplementationWidget::init(const TQString &formName)
processNamespaces(m_part->codeModel()->globalNamespace(), item);
}
-void ImplementationWidget::processNamespaces(NamespaceDom dom, KListViewItem *tqparent)
+void ImplementationWidget::processNamespaces(NamespaceDom dom, KListViewItem *parent)
{
const NamespaceList nslist = dom->namespaceList();
for (NamespaceList::const_iterator it = nslist.begin(); it != nslist.end(); ++it)
- processNamespaces(*it, new ImplUtils::NamespaceItem(tqparent, *it));
+ processNamespaces(*it, new ImplUtils::NamespaceItem(parent, *it));
const ClassList cllist = dom->classList();
for (ClassList::ConstIterator it = cllist.begin(); it != cllist.end(); ++it)
- processClasses(*it, new ImplUtils::ClassItem(tqparent, *it));
+ processClasses(*it, new ImplUtils::ClassItem(parent, *it));
}
-void ImplementationWidget::processClasses(ClassDom dom, KListViewItem *tqparent)
+void ImplementationWidget::processClasses(ClassDom dom, KListViewItem *parent)
{
const ClassList cllist = dom->classList();
for (ClassList::ConstIterator it = cllist.begin(); it != cllist.end(); ++it)
- processClasses(*it, new ImplUtils::ClassItem(tqparent, *it));
+ processClasses(*it, new ImplUtils::ClassItem(parent, *it));
}
ImplementationWidget::~ImplementationWidget()
diff --git a/languages/lib/designer_integration/implementationwidget.h b/languages/lib/designer_integration/implementationwidget.h
index 91f93228..83b84bb4 100644
--- a/languages/lib/designer_integration/implementationwidget.h
+++ b/languages/lib/designer_integration/implementationwidget.h
@@ -42,7 +42,7 @@ class ImplementationWidget : public CreateImplemenationWidgetBase
Q_OBJECT
TQ_OBJECT
public:
- ImplementationWidget(KDevLanguageSupport *part, TQWidget* tqparent = 0, const char* name = 0, bool modal = false);
+ ImplementationWidget(KDevLanguageSupport *part, TQWidget* parent = 0, const char* name = 0, bool modal = false);
virtual ~ImplementationWidget();
/*$PUBLIC_FUNCTIONS$*/
@@ -61,8 +61,8 @@ protected:
the number of classes being displayed as possible implementation classes.*/
void init(const TQString &formName);
- void processNamespaces(NamespaceDom dom, KListViewItem *tqparent);
- void processClasses(ClassDom dom, KListViewItem *tqparent);
+ void processNamespaces(NamespaceDom dom, KListViewItem *parent);
+ void processClasses(ClassDom dom, KListViewItem *parent);
/**Creates a class and adds it to a project. No need to reimplement.*/
bool createClass();
diff --git a/languages/lib/interfaces/kdevpcsimporter.cpp b/languages/lib/interfaces/kdevpcsimporter.cpp
index 457c131f..c4b4e664 100644
--- a/languages/lib/interfaces/kdevpcsimporter.cpp
+++ b/languages/lib/interfaces/kdevpcsimporter.cpp
@@ -20,8 +20,8 @@
#include "kdevpcsimporter.h"
#include "kdevpcsimporter.moc"
-KDevPCSImporter::KDevPCSImporter( TQObject * tqparent, const char * name )
- : TQObject( tqparent, name )
+KDevPCSImporter::KDevPCSImporter( TQObject * parent, const char * name )
+ : TQObject( parent, name )
{
}
@@ -29,7 +29,7 @@ KDevPCSImporter::~ KDevPCSImporter( )
{
}
-TQWidget * KDevPCSImporter::createSettingsPage( TQWidget * /*tqparent*/, const char * /*name*/ )
+TQWidget * KDevPCSImporter::createSettingsPage( TQWidget * /*parent*/, const char * /*name*/ )
{
return 0;
}
diff --git a/languages/lib/interfaces/kdevpcsimporter.h b/languages/lib/interfaces/kdevpcsimporter.h
index 37547252..7253a30b 100644
--- a/languages/lib/interfaces/kdevpcsimporter.h
+++ b/languages/lib/interfaces/kdevpcsimporter.h
@@ -37,14 +37,14 @@ class KDevPCSImporter: public TQObject
Q_OBJECT
TQ_OBJECT
public:
- KDevPCSImporter( TQObject* tqparent=0, const char* name=0 );
+ KDevPCSImporter( TQObject* parent=0, const char* name=0 );
virtual ~KDevPCSImporter();
virtual TQString dbName() const = 0;
virtual TQStringList includePaths() = 0;
virtual TQStringList fileList() = 0;
- virtual TQWidget* createSettingsPage( TQWidget* tqparent, const char* name=0 );
+ virtual TQWidget* createSettingsPage( TQWidget* parent, const char* name=0 );
};
#endif // KDEVPCSIMPORTER_H