summaryrefslogtreecommitdiffstats
path: root/quanta/treeviews/tagattributeitems.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/treeviews/tagattributeitems.cpp')
-rw-r--r--quanta/treeviews/tagattributeitems.cpp42
1 files changed, 21 insertions, 21 deletions
diff --git a/quanta/treeviews/tagattributeitems.cpp b/quanta/treeviews/tagattributeitems.cpp
index 1483e98d..50e4825e 100644
--- a/quanta/treeviews/tagattributeitems.cpp
+++ b/quanta/treeviews/tagattributeitems.cpp
@@ -40,13 +40,13 @@
#include "qextfileinfo.h"
#include "styleeditor.h"
-TopLevelItem::TopLevelItem(KListView* tqparent, const TQString &title)
-: KListViewItem(tqparent, title)
+TopLevelItem::TopLevelItem(KListView* parent, const TQString &title)
+: KListViewItem(parent, title)
{
}
-TopLevelItem::TopLevelItem(KListView* tqparent, TQListViewItem* after, const TQString &title)
-: KListViewItem(tqparent, after, title)
+TopLevelItem::TopLevelItem(KListView* parent, TQListViewItem* after, const TQString &title)
+: KListViewItem(parent, after, title)
{
}
@@ -62,7 +62,7 @@ void TopLevelItem::paintCell(TQPainter *p, const TQColorGroup &cg,
return;
// make toplevel item names bold
- if (column == 0 && !tqparent())
+ if (column == 0 && !parent())
{
TQFont f = p->font();
f.setBold(true);
@@ -76,8 +76,8 @@ void TopLevelItem::paintCell(TQPainter *p, const TQColorGroup &cg,
}
}
-ParentItem::ParentItem(TagAttributeTree *listView, TQListViewItem* tqparent)
-: KListViewItem(tqparent)
+ParentItem::ParentItem(TagAttributeTree *listView, TQListViewItem* parent)
+: KListViewItem(parent)
{
m_listView = listView;
comboBox = new TQComboBox(false, m_listView->viewport() );
@@ -143,15 +143,15 @@ void ParentItem::showList(bool show)
}
//Generic attribute item
-AttributeItem::AttributeItem(TQListViewItem* tqparent, const TQString &title, const TQString& title2)
-: KListViewItem(tqparent, title, title2)
+AttributeItem::AttributeItem(TQListViewItem* parent, const TQString &title, const TQString& title2)
+: KListViewItem(parent, title, title2)
{
lin = 0L;
lin2 = 0L;
}
-AttributeItem::AttributeItem(EditableTree* listView, TQListViewItem* tqparent, const TQString &title, const TQString& title2)
-: KListViewItem(tqparent, title, title2)
+AttributeItem::AttributeItem(EditableTree* listView, TQListViewItem* parent, const TQString &title, const TQString& title2)
+: KListViewItem(parent, title, title2)
{
m_listView = listView;
lin = new TQLineEdit( m_listView->viewport() );
@@ -284,8 +284,8 @@ void AttributeItem::placeEditor( TQWidget *w, int column)
}
//Boolean attribute item
-AttributeBoolItem::AttributeBoolItem(TagAttributeTree* listView, TQListViewItem* tqparent, const TQString &title, const TQString& title2)
-: AttributeItem(tqparent, title, title2)
+AttributeBoolItem::AttributeBoolItem(TagAttributeTree* listView, TQListViewItem* parent, const TQString &title, const TQString& title2)
+: AttributeItem(parent, title, title2)
{
m_listView = listView;
combo = new TQComboBox( m_listView->viewport() );
@@ -324,8 +324,8 @@ void AttributeBoolItem::hideEditor(int)
}
//Boolean attribute item
-AttributeUrlItem::AttributeUrlItem(TagAttributeTree* listView, TQListViewItem* tqparent, const TQString &title, const TQString& title2)
-: AttributeItem(tqparent, title, title2)
+AttributeUrlItem::AttributeUrlItem(TagAttributeTree* listView, TQListViewItem* parent, const TQString &title, const TQString& title2)
+: AttributeItem(parent, title, title2)
{
m_listView = listView;
urlRequester = new KURLRequester( m_listView->viewport() );
@@ -375,8 +375,8 @@ void AttributeUrlItem::hideEditor(int)
//editable listbox
//Boolean attribute item
-AttributeListItem::AttributeListItem(EditableTree* listView, TQListViewItem* tqparent, const TQString &title, const TQString& title2, Attribute *attr)
-: AttributeItem(tqparent, title, title2)
+AttributeListItem::AttributeListItem(EditableTree* listView, TQListViewItem* parent, const TQString &title, const TQString& title2, Attribute *attr)
+: AttributeItem(parent, title, title2)
{
m_listView = listView;
combo = new TQComboBox( m_listView->viewport() );
@@ -455,8 +455,8 @@ void AttributeListItem::hideEditor(int)
}
//editable color combobox
-AttributeColorItem::AttributeColorItem(EditableTree* listView, TQListViewItem* tqparent, const TQString &title, const TQString& title2)
-: AttributeItem(tqparent, title, title2)
+AttributeColorItem::AttributeColorItem(EditableTree* listView, TQListViewItem* parent, const TQString &title, const TQString& title2)
+: AttributeItem(parent, title, title2)
{
m_listView = listView;
combo = new KColorCombo( m_listView->viewport() );
@@ -499,8 +499,8 @@ void AttributeColorItem::hideEditor(int)
}
//editable style combobox
-AttributeStyleItem::AttributeStyleItem(EditableTree* listView, TQListViewItem* tqparent, const TQString &title, const TQString& title2)
-: AttributeItem(tqparent, title, title2)
+AttributeStyleItem::AttributeStyleItem(EditableTree* listView, TQListViewItem* parent, const TQString &title, const TQString& title2)
+: AttributeItem(parent, title, title2)
{
m_listView = listView;
m_se = new StyleEditor( m_listView->viewport() );