summaryrefslogtreecommitdiffstats
path: root/juk/playlistbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'juk/playlistbox.h')
-rw-r--r--juk/playlistbox.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/juk/playlistbox.h b/juk/playlistbox.h
index bf1965d1..de06dbc8 100644
--- a/juk/playlistbox.h
+++ b/juk/playlistbox.h
@@ -28,8 +28,8 @@ class ViewMode;
class PlaylistSearch;
class SearchPlaylist;
-class KPopupMenu;
-class KSelectAction;
+class TDEPopupMenu;
+class TDESelectAction;
typedef TQValueList<Playlist *> PlaylistList;
@@ -38,7 +38,7 @@ typedef TQValueList<Playlist *> PlaylistList;
* JuK's main widget (PlaylistSplitter).
*/
-class PlaylistBox : public KListView, public PlaylistCollection
+class PlaylistBox : public TDEListView, public PlaylistCollection
{
Q_OBJECT
@@ -121,11 +121,11 @@ private slots:
void slotRemoveItem(const TQString &tag, unsigned column);
private:
- KPopupMenu *m_contextMenu;
+ TDEPopupMenu *m_contextMenu;
TQPtrDict<Item> m_playlistDict;
int m_viewModeIndex;
TQValueList<ViewMode *> m_viewModes;
- KAction *m_k3bAction;
+ TDEAction *m_k3bAction;
bool m_hasSelection;
bool m_doingMultiSelect;
Item *m_dropItem;
@@ -134,7 +134,7 @@ private:
-class PlaylistBox::Item : public TQObject, public KListViewItem
+class PlaylistBox::Item : public TQObject, public TDEListViewItem
{
friend class PlaylistBox;
friend class ViewMode;
@@ -156,7 +156,7 @@ protected:
Item(Item *parent, const TQString &icon, const TQString &text, Playlist *l = 0);
Playlist *playlist() const { return m_playlist; }
- PlaylistBox *listView() const { return static_cast<PlaylistBox *>(KListViewItem::listView()); }
+ PlaylistBox *listView() const { return static_cast<PlaylistBox *>(TDEListViewItem::listView()); }
TQString iconName() const { return m_iconName; }
TQString text() const { return m_text; }
void setSortedFirst(bool first = true) { m_sortedFirst = first; }
@@ -166,7 +166,7 @@ protected:
virtual void paintFocus(TQPainter *, const TQColorGroup &, const TQRect &) {}
virtual void setText(int column, const TQString &text);
- virtual TQString text(int column) const { return KListViewItem::text(column); }
+ virtual TQString text(int column) const { return TDEListViewItem::text(column); }
virtual void setup();