From 458efa7b0c935cbaafa2791021a5f8f7241aa876 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 May 2011 22:38:52 +0000 Subject: Initial TQt4 port of Rosegarden This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1230242 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/gui/studio/MidiDeviceListViewItem.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/gui/studio/MidiDeviceListViewItem.cpp') diff --git a/src/gui/studio/MidiDeviceListViewItem.cpp b/src/gui/studio/MidiDeviceListViewItem.cpp index 21a8cda..723e6fa 100644 --- a/src/gui/studio/MidiDeviceListViewItem.cpp +++ b/src/gui/studio/MidiDeviceListViewItem.cpp @@ -35,24 +35,24 @@ namespace Rosegarden { MidiDeviceListViewItem::MidiDeviceListViewItem(DeviceId deviceId, - TQListView* parent, TQString name) - : KListViewItem(parent, name), + TQListView* tqparent, TQString name) + : KListViewItem(tqparent, name), m_deviceId(deviceId) {} MidiDeviceListViewItem::MidiDeviceListViewItem(DeviceId deviceId, - TQListViewItem* parent, TQString name, + TQListViewItem* tqparent, TQString name, bool percussion, int msb, int lsb) - : KListViewItem(parent, name, + : KListViewItem(tqparent, name, TQString(percussion ? i18n("Percussion Bank") : i18n("Bank")), TQString().setNum(msb), TQString().setNum(lsb)), m_deviceId(deviceId) {} MidiDeviceListViewItem::MidiDeviceListViewItem(DeviceId deviceId, - TQListViewItem* parent, TQString name) -: KListViewItem(parent, name, i18n("Key Mapping"), "", ""), + TQListViewItem* tqparent, TQString name) +: KListViewItem(tqparent, name, i18n("Key Mapping"), "", ""), m_deviceId(deviceId) {} @@ -78,7 +78,7 @@ int MidiDeviceListViewItem::compare(TQListViewItem *i, int col, bool ascending) } } - // 'ascending' should be ignored according to Qt docs + // 'ascending' should be ignored according to TQt docs // return (thisVal > otherVal) ? 1 : -1; -- cgit v1.2.3