diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:05:43 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:05:43 -0600 |
commit | fb3718a55f355cd22f9eb9fa4e89cd3b84b8c9ca (patch) | |
tree | 5785d2ccbdfbe2f44d02fec75b4a51f5079a4b62 /src/gui/widgets | |
parent | acf699af8244896500e654cccdc8aae7e5b545db (diff) | |
download | rosegarden-fb3718a55f355cd22f9eb9fa4e89cd3b84b8c9ca.tar.gz rosegarden-fb3718a55f355cd22f9eb9fa4e89cd3b84b8c9ca.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/AudioListItem.h | 14 | ||||
-rw-r--r-- | src/gui/widgets/AudioListView.cpp | 4 | ||||
-rw-r--r-- | src/gui/widgets/AudioListView.h | 2 |
3 files changed, 10 insertions, 10 deletions
diff --git a/src/gui/widgets/AudioListItem.h b/src/gui/widgets/AudioListItem.h index b2bdf99..b2f08f8 100644 --- a/src/gui/widgets/AudioListItem.h +++ b/src/gui/widgets/AudioListItem.h @@ -35,30 +35,30 @@ class Segment; // Add an Id to a TQListViewItem // -class AudioListItem : public KListViewItem +class AudioListItem : public TDEListViewItem { public: - AudioListItem(KListView *parent):KListViewItem(parent), + AudioListItem(TDEListView *parent):TDEListViewItem(parent), m_segment(0) {;} - AudioListItem(KListViewItem *parent):KListViewItem(parent), + AudioListItem(TDEListViewItem *parent):TDEListViewItem(parent), m_segment(0) {;} - AudioListItem(KListView *parent, + AudioListItem(TDEListView *parent, TQString label, AudioFileId id): - KListViewItem(parent, + TDEListViewItem(parent, label, "", "", "", "", "", "", ""), m_id(id), m_segment(0) {;} - AudioListItem(KListViewItem *parent, + AudioListItem(TDEListViewItem *parent, TQString label, AudioFileId id): - KListViewItem(parent, + TDEListViewItem(parent, label, "", "", "", "", "", "", ""), m_id(id), diff --git a/src/gui/widgets/AudioListView.cpp b/src/gui/widgets/AudioListView.cpp index 3c75526..afe1a20 100644 --- a/src/gui/widgets/AudioListView.cpp +++ b/src/gui/widgets/AudioListView.cpp @@ -32,7 +32,7 @@ namespace Rosegarden { AudioListView::AudioListView(TQWidget *parent, const char *name) - : KListView(parent, name) + : TDEListView(parent, name) { setDragEnabled(true); setAcceptDrops(true); @@ -41,7 +41,7 @@ AudioListView::AudioListView(TQWidget *parent, const char *name) bool AudioListView::acceptDrag(TQDropEvent* e) const { - return TQUriDrag::canDecode(e) || KListView::acceptDrag(e); + return TQUriDrag::canDecode(e) || TDEListView::acceptDrag(e); } TQDragObject* AudioListView::dragObject() diff --git a/src/gui/widgets/AudioListView.h b/src/gui/widgets/AudioListView.h index 04c293e..3b48400 100644 --- a/src/gui/widgets/AudioListView.h +++ b/src/gui/widgets/AudioListView.h @@ -29,7 +29,7 @@ namespace Rosegarden { -class AudioListView : public KListView +class AudioListView : public TDEListView { public: AudioListView(TQWidget *parent = 0, const char *name = 0); |