1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ 2 3 /* 4 Rosegarden 5 A MIDI and audio sequencer and musical notation editor. 6 Copyright 2000-2021 the Rosegarden development team. 7 8 Other copyrights also apply to some parts of this work. Please 9 see the AUTHORS file and individual file headers for details. 10 11 This program is free software; you can redistribute it and/or 12 modify it under the terms of the GNU General Public License as 13 published by the Free Software Foundation; either version 2 of the 14 License, or (at your option) any later version. See the file 15 COPYING included with this distribution for more information. 16 */ 17 18 #ifndef RG_PLAYLISTVIEWITEM_H 19 #define RG_PLAYLISTVIEWITEM_H 20 21 #include <QTreeWidget> 22 #include <QTreeWidgetItem> 23 #include <QUrl> 24 // #include <kurl.h> 25 26 namespace Rosegarden { 27 28 class PlayListViewItem : public QTreeWidgetItem 29 { 30 public: 31 PlayListViewItem(QTreeWidget* parent, QUrl ); 32 PlayListViewItem(QTreeWidget* parent, QTreeWidgetItem*, QUrl ); 33 34 // const KURL& getURL() { return m_kurl; } getURL()35 const QUrl& getURL() { return m_kurl; } 36 37 protected: 38 // KURL m_kurl; 39 QUrl m_kurl; 40 41 /* 42 virtual void mousePressEvent ( QMouseEvent * event ); 43 virtual void mouseMoveEvent(QMouseEvent *event); 44 45 virtual QStringList mimeTypes () const; 46 virtual QMimeData * mimeData ( const QModelIndexList & indexes ) const; 47 */ 48 }; 49 50 } 51 52 #endif 53