summaryrefslogtreecommitdiffstats
path: root/lib/widgets/propeditor/propertyeditor.cpp
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 /lib/widgets/propeditor/propertyeditor.cpp
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 'lib/widgets/propeditor/propertyeditor.cpp')
-rw-r--r--lib/widgets/propeditor/propertyeditor.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/lib/widgets/propeditor/propertyeditor.cpp b/lib/widgets/propeditor/propertyeditor.cpp
index c7e5523c..ed7b81f2 100644
--- a/lib/widgets/propeditor/propertyeditor.cpp
+++ b/lib/widgets/propeditor/propertyeditor.cpp
@@ -42,14 +42,14 @@ namespace PropertyLib{
class PropertyItem: public KListViewItem{
public:
- PropertyItem(PropertyEditor *tqparent, MultiProperty *property)
- :KListViewItem(tqparent, property->description()), m_editor(tqparent), m_property(property),
+ PropertyItem(PropertyEditor *parent, MultiProperty *property)
+ :KListViewItem(parent, property->description()), m_editor(parent), m_property(property),
m_changed(false)
{
}
- PropertyItem(PropertyEditor *editor, KListViewItem *tqparent, MultiProperty *property)
- :KListViewItem(tqparent, property->description()), m_editor(editor),
+ PropertyItem(PropertyEditor *editor, KListViewItem *parent, MultiProperty *property)
+ :KListViewItem(parent, property->description()), m_editor(editor),
m_property(property), m_changed(false)
{
}
@@ -120,13 +120,13 @@ private:
class PropertyGroupItem: public KListViewItem{
public:
- PropertyGroupItem(KListView *tqparent, const TQString &name)
- :KListViewItem(tqparent, name)
+ PropertyGroupItem(KListView *parent, const TQString &name)
+ :KListViewItem(parent, name)
{
init();
}
- PropertyGroupItem(KListViewItem *tqparent, const TQString &name)
- :KListViewItem(tqparent, name)
+ PropertyGroupItem(KListViewItem *parent, const TQString &name)
+ :KListViewItem(parent, name)
{
init();
}
@@ -158,14 +158,14 @@ private:
class SeparatorItem: public KListViewItem{
public:
- SeparatorItem(KListView *tqparent)
- :KListViewItem(tqparent)
+ SeparatorItem(KListView *parent)
+ :KListViewItem(parent)
{
setSelectable(false);
}
};
-PropertyEditor::PropertyEditor(TQWidget *tqparent, const char *name)
- :KListView(tqparent, name)
+PropertyEditor::PropertyEditor(TQWidget *parent, const char *name)
+ :KListView(parent, name)
{
setSorting(-1);
@@ -259,9 +259,9 @@ void PropertyEditor::addProperty(const TQString &name)
addChildProperties(pitem);
}
-void PropertyEditor::addChildProperties(PropertyItem *tqparent)
+void PropertyEditor::addChildProperties(PropertyItem *parent)
{
- MultiProperty *prop = tqparent->property();
+ MultiProperty *prop = parent->property();
//force machine creation to get detailed properties appended to current multiproperty
if ( !m_registeredForType.contains(prop->name())
&& (PropertyMachineFactory::getInstance()->hasDetailedEditors(prop->type())) )
@@ -272,11 +272,11 @@ void PropertyEditor::addChildProperties(PropertyItem *tqparent)
// qWarning("seeking tqchildren: count: %d", prop->details.count());
- tqparent->setOpen(true);
+ parent->setOpen(true);
for (TQValueList<ChildProperty>::iterator it = prop->details.begin(); it != prop->details.end(); ++it)
{
// qWarning("found child %s", (*it).name().ascii());
- new PropertyItem(this, tqparent, new MultiProperty(&m_detailedList, &(*it)));
+ new PropertyItem(this, parent, new MultiProperty(&m_detailedList, &(*it)));
}
}