summaryrefslogtreecommitdiffstats
path: root/lib/widgets/propeditor/propertyeditor.cpp
diff options
context:
space:
mode:
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)));
}
}