From 11f31c37e5fa4889d9989f10272f44845449cb7b Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 6 Sep 2010 20:59:29 +0000 Subject: Initial TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/gui/studio/MidiDeviceListViewItem.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/gui/studio/MidiDeviceListViewItem.cpp') diff --git a/src/gui/studio/MidiDeviceListViewItem.cpp b/src/gui/studio/MidiDeviceListViewItem.cpp index 30a339e..21a8cda 100644 --- a/src/gui/studio/MidiDeviceListViewItem.cpp +++ b/src/gui/studio/MidiDeviceListViewItem.cpp @@ -27,40 +27,40 @@ #include #include "base/Device.h" -#include -#include +#include +#include namespace Rosegarden { MidiDeviceListViewItem::MidiDeviceListViewItem(DeviceId deviceId, - QListView* parent, QString name) + TQListView* parent, TQString name) : KListViewItem(parent, name), m_deviceId(deviceId) {} MidiDeviceListViewItem::MidiDeviceListViewItem(DeviceId deviceId, - QListViewItem* parent, QString name, + TQListViewItem* parent, TQString name, bool percussion, int msb, int lsb) : KListViewItem(parent, name, - QString(percussion ? i18n("Percussion Bank") : i18n("Bank")), - QString().setNum(msb), QString().setNum(lsb)), + TQString(percussion ? i18n("Percussion Bank") : i18n("Bank")), + TQString().setNum(msb), TQString().setNum(lsb)), m_deviceId(deviceId) {} MidiDeviceListViewItem::MidiDeviceListViewItem(DeviceId deviceId, - QListViewItem* parent, QString name) + TQListViewItem* parent, TQString name) : KListViewItem(parent, name, i18n("Key Mapping"), "", ""), m_deviceId(deviceId) {} -int MidiDeviceListViewItem::compare(QListViewItem *i, int col, bool ascending) const +int MidiDeviceListViewItem::compare(TQListViewItem *i, int col, bool ascending) const { MidiDeviceListViewItem* item = dynamic_cast(i); if (!item) - return QListViewItem::compare(i, col, ascending); + return TQListViewItem::compare(i, col, ascending); if (col == 0) return getDeviceId() > item->getDeviceId() ? 1 : -- cgit v1.2.1