summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/oblique/cmodule.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:10:05 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:10:05 -0600
commit74a2067d286867e313f736d6733407586b71195e (patch)
tree182ea565d6909db1541424e4ffb3168b4b139c21 /noatun-plugins/oblique/cmodule.cpp
parent081670a12774435ae60cf8eba9226b91d27852b3 (diff)
downloadtdeaddons-74a2067d286867e313f736d6733407586b71195e.tar.gz
tdeaddons-74a2067d286867e313f736d6733407586b71195e.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'noatun-plugins/oblique/cmodule.cpp')
-rw-r--r--noatun-plugins/oblique/cmodule.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/noatun-plugins/oblique/cmodule.cpp b/noatun-plugins/oblique/cmodule.cpp
index bde3302..83cc1bb 100644
--- a/noatun-plugins/oblique/cmodule.cpp
+++ b/noatun-plugins/oblique/cmodule.cpp
@@ -72,7 +72,7 @@ SchemaConfig::SchemaConfig(TQWidget *parent, Oblique *oblique)
TQHBox *middle = new TQHBox(this);
middle->setSpacing(7);
- mSchemaTree = new KListView(middle);
+ mSchemaTree = new TDEListView(middle);
connect(
mSchemaTree, TQT_SIGNAL(currentChanged(TQListViewItem*)),
TQT_SLOT(setCurrent(TQListViewItem*))
@@ -171,19 +171,19 @@ SchemaConfig::SchemaConfig(TQWidget *parent, Oblique *oblique)
}
-class QueryGroupItem : public KListViewItem
+class QueryGroupItem : public TDEListViewItem
{
QueryGroup *mItem;
public:
QueryGroupItem(QueryGroupItem *parent, QueryGroup *group, QueryGroupItem *after=0)
- : KListViewItem(parent, after)
+ : TDEListViewItem(parent, after)
{
init(group);
}
- QueryGroupItem(KListView *parent, QueryGroup *group, QueryGroupItem *after=0)
- : KListViewItem(parent, after)
+ QueryGroupItem(TDEListView *parent, QueryGroup *group, QueryGroupItem *after=0)
+ : TDEListViewItem(parent, after)
{
init(group);
}
@@ -199,10 +199,10 @@ public:
}
QueryGroupItem *parent()
- { return static_cast<QueryGroupItem*>(KListViewItem::parent()); }
+ { return static_cast<QueryGroupItem*>(TDEListViewItem::parent()); }
- KListView *listView()
- { return static_cast<KListView*>(KListViewItem::listView()); }
+ TDEListView *listView()
+ { return static_cast<TDEListView*>(TDEListViewItem::listView()); }
private:
void init(QueryGroup *group)
@@ -510,7 +510,7 @@ SliceConfig::SliceConfig(TQWidget *parent, Oblique *oblique)
TQHBox *middle = new TQHBox(this);
middle->setSpacing(7);
- mSliceList = new KListView(middle);
+ mSliceList = new TDEListView(middle);
TQWhatsThis::add(mSliceList, i18n("The list of slices. A Slice is part of the full collection. This allows you to categorize your playlist. You can add an item to the list by right clicking on it and selecting the Slice you want it in."));
mSliceList->addColumn("");
mSliceList->header()->hide();
@@ -535,20 +535,20 @@ SliceConfig::SliceConfig(TQWidget *parent, Oblique *oblique)
}
-class SliceListItem : public KListViewItem
+class SliceListItem : public TDEListViewItem
{
Slice *mSlice;
public:
- SliceListItem(KListView *parent, Slice *slice)
- : KListViewItem(parent, slice->name()), mSlice(slice)
+ SliceListItem(TDEListView *parent, Slice *slice)
+ : TDEListViewItem(parent, slice->name()), mSlice(slice)
{
}
/**
* new item
**/
- SliceListItem(KListView *parent)
- : KListViewItem(parent, i18n("New Slice")), mSlice(0)
+ SliceListItem(TDEListView *parent)
+ : TDEListViewItem(parent, i18n("New Slice")), mSlice(0)
{
}