From 74a2067d286867e313f736d6733407586b71195e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:10:05 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- noatun-plugins/oblique/tree.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'noatun-plugins/oblique/tree.h') diff --git a/noatun-plugins/oblique/tree.h b/noatun-plugins/oblique/tree.h index 4e8317c..c55e606 100644 --- a/noatun-plugins/oblique/tree.h +++ b/noatun-plugins/oblique/tree.h @@ -14,7 +14,7 @@ class Oblique; class Tree; -class TreeItem : public KListViewItem +class TreeItem : public TDEListViewItem { QueryGroup *mGroup; File mFile; @@ -31,11 +31,11 @@ public: const QueryGroup *group() const { return mGroup; } void setGroup(QueryGroup *group) { mGroup = group; } - TreeItem *parent() { return static_cast(KListViewItem::parent()); } + TreeItem *parent() { return static_cast(TDEListViewItem::parent()); } Tree *tree(); - TreeItem *itemBelow() { return static_cast(KListViewItem::itemBelow()); } - TreeItem *firstChild() { return static_cast(KListViewItem::firstChild()); } - TreeItem *nextSibling() { return static_cast(KListViewItem::nextSibling()); } + TreeItem *itemBelow() { return static_cast(TDEListViewItem::itemBelow()); } + TreeItem *firstChild() { return static_cast(TDEListViewItem::firstChild()); } + TreeItem *nextSibling() { return static_cast(TDEListViewItem::nextSibling()); } // for gdb, which sucks. TQString presentation() const; @@ -83,7 +83,7 @@ private: class FileMenu; class Loader; -class Tree : public KListView +class Tree : public TDEListView { Q_OBJECT @@ -151,7 +151,7 @@ public slots: void setLimit(const TQString &text); private slots: - void contextMenu(KListView* l, TQListViewItem* i, const TQPoint& p); + void contextMenu(TDEListView* l, TQListViewItem* i, const TQPoint& p); void play(TQListViewItem *item); void destroyLoader(); -- cgit v1.2.1