summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/AudioListView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/AudioListView.cpp')
-rw-r--r--src/gui/widgets/AudioListView.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/widgets/AudioListView.cpp b/src/gui/widgets/AudioListView.cpp
index 45193a6..3c75526 100644
--- a/src/gui/widgets/AudioListView.cpp
+++ b/src/gui/widgets/AudioListView.cpp
@@ -27,11 +27,11 @@
#include "misc/Debug.h"
#include "gui/widgets/AudioListItem.h"
-#include "qdragobject.h"
+#include "tqdragobject.h"
namespace Rosegarden {
-AudioListView::AudioListView(QWidget *parent, const char *name)
+AudioListView::AudioListView(TQWidget *parent, const char *name)
: KListView(parent, name)
{
setDragEnabled(true);
@@ -39,17 +39,17 @@ AudioListView::AudioListView(QWidget *parent, const char *name)
setDropVisualizer(false);
}
-bool AudioListView::acceptDrag(QDropEvent* e) const
+bool AudioListView::acceptDrag(TQDropEvent* e) const
{
- return QUriDrag::canDecode(e) || KListView::acceptDrag(e);
+ return TQUriDrag::canDecode(e) || KListView::acceptDrag(e);
}
-QDragObject* AudioListView::dragObject()
+TQDragObject* AudioListView::dragObject()
{
AudioListItem* item = dynamic_cast<AudioListItem*>(currentItem());
- QString audioData;
- QTextOStream ts(&audioData);
+ TQString audioData;
+ TQTextOStream ts(&audioData);
ts << "AudioFileManager\n"
<< item->getId() << '\n'
<< item->getStartTime().sec << '\n'
@@ -61,7 +61,7 @@ QDragObject* AudioListView::dragObject()
<< "file id = " << item->getId()
<< ", start time = " << item->getStartTime() << endl;
- return new QTextDrag(audioData, this);
+ return new TQTextDrag(audioData, this);
}
}