diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:10:05 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:10:05 -0600 |
commit | 74a2067d286867e313f736d6733407586b71195e (patch) | |
tree | 182ea565d6909db1541424e4ffb3168b4b139c21 /noatun-plugins/oblique/tree.h | |
parent | 081670a12774435ae60cf8eba9226b91d27852b3 (diff) | |
download | tdeaddons-74a2067d286867e313f736d6733407586b71195e.tar.gz tdeaddons-74a2067d286867e313f736d6733407586b71195e.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'noatun-plugins/oblique/tree.h')
-rw-r--r-- | noatun-plugins/oblique/tree.h | 14 |
1 files changed, 7 insertions, 7 deletions
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<TreeItem*>(KListViewItem::parent()); } + TreeItem *parent() { return static_cast<TreeItem*>(TDEListViewItem::parent()); } Tree *tree(); - TreeItem *itemBelow() { return static_cast<TreeItem*>(KListViewItem::itemBelow()); } - TreeItem *firstChild() { return static_cast<TreeItem*>(KListViewItem::firstChild()); } - TreeItem *nextSibling() { return static_cast<TreeItem*>(KListViewItem::nextSibling()); } + TreeItem *itemBelow() { return static_cast<TreeItem*>(TDEListViewItem::itemBelow()); } + TreeItem *firstChild() { return static_cast<TreeItem*>(TDEListViewItem::firstChild()); } + TreeItem *nextSibling() { return static_cast<TreeItem*>(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(); |