diff options
Diffstat (limited to 'lib/widgets/propeditor/propertyeditor.cpp')
-rw-r--r-- | lib/widgets/propeditor/propertyeditor.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/lib/widgets/propeditor/propertyeditor.cpp b/lib/widgets/propeditor/propertyeditor.cpp index c7eafd8f..1bf3adc9 100644 --- a/lib/widgets/propeditor/propertyeditor.cpp +++ b/lib/widgets/propeditor/propertyeditor.cpp @@ -40,16 +40,16 @@ namespace PropertyLib{ -class PropertyItem: public KListViewItem{ +class PropertyItem: public TDEListViewItem{ public: PropertyItem(PropertyEditor *parent, MultiProperty *property) - :KListViewItem(parent, property->description()), m_editor(parent), m_property(property), + :TDEListViewItem(parent, property->description()), m_editor(parent), m_property(property), m_changed(false) { } - PropertyItem(PropertyEditor *editor, KListViewItem *parent, MultiProperty *property) - :KListViewItem(parent, property->description()), m_editor(editor), + PropertyItem(PropertyEditor *editor, TDEListViewItem *parent, MultiProperty *property) + :TDEListViewItem(parent, property->description()), m_editor(editor), m_property(property), m_changed(false) { } @@ -97,12 +97,12 @@ public: m_editor->machine(m_property)->propertyEditor->drawViewer(p, icg, r, valueToDraw); return; } - KListViewItem::paintCell(p, cg, column, width, align); + TDEListViewItem::paintCell(p, cg, column, width, align); } virtual void setup() { - KListViewItem::setup(); + TDEListViewItem::setup(); setHeight(static_cast<int>(height()*1.5)); } @@ -118,15 +118,15 @@ private: }; -class PropertyGroupItem: public KListViewItem{ +class PropertyGroupItem: public TDEListViewItem{ public: - PropertyGroupItem(KListView *parent, const TQString &name) - :KListViewItem(parent, name) + PropertyGroupItem(TDEListView *parent, const TQString &name) + :TDEListViewItem(parent, name) { init(); } - PropertyGroupItem(KListViewItem *parent, const TQString &name) - :KListViewItem(parent, name) + PropertyGroupItem(TDEListViewItem *parent, const TQString &name) + :TDEListViewItem(parent, name) { init(); } @@ -141,11 +141,11 @@ public: p->setBrush(cg.highlight()); p->setPen(cg.highlightedText()); } - KListViewItem::paintCell(p, cg, column, width, align); + TDEListViewItem::paintCell(p, cg, column, width, align); } virtual void setup() { - KListViewItem::setup(); + TDEListViewItem::setup(); setHeight(static_cast<int>(height()*1.4)); } @@ -156,16 +156,16 @@ private: } }; -class SeparatorItem: public KListViewItem{ +class SeparatorItem: public TDEListViewItem{ public: - SeparatorItem(KListView *parent) - :KListViewItem(parent) + SeparatorItem(TDEListView *parent) + :TDEListViewItem(parent) { setSelectable(false); } }; PropertyEditor::PropertyEditor(TQWidget *parent, const char *name) - :KListView(parent, name) + :TDEListView(parent, name) { setSorting(-1); |