summaryrefslogtreecommitdiffstats
path: root/src/gui/studio/BankEditorDialog.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
commit11f31c37e5fa4889d9989f10272f44845449cb7b (patch)
tree4383da04a76c497950d957fc6120b0fd0d9082c2 /src/gui/studio/BankEditorDialog.h
parent832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff)
downloadrosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.tar.gz
rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.zip
Initial TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/studio/BankEditorDialog.h')
-rw-r--r--src/gui/studio/BankEditorDialog.h60
1 files changed, 30 insertions, 30 deletions
diff --git a/src/gui/studio/BankEditorDialog.h b/src/gui/studio/BankEditorDialog.h
index 0e49430..6e36bef 100644
--- a/src/gui/studio/BankEditorDialog.h
+++ b/src/gui/studio/BankEditorDialog.h
@@ -34,13 +34,13 @@
#include <utility>
-class QWidget;
-class QString;
-class QPushButton;
-class QListViewItem;
-class QGroupBox;
-class QCloseEvent;
-class QCheckBox;
+class TQWidget;
+class TQString;
+class TQPushButton;
+class TQListViewItem;
+class TQGroupBox;
+class TQCloseEvent;
+class TQCheckBox;
class KListView;
class KCommand;
class KComboBox;
@@ -63,7 +63,7 @@ class BankEditorDialog : public KMainWindow
Q_OBJECT
public:
- BankEditorDialog(QWidget *parent,
+ BankEditorDialog(TQWidget *parent,
RosegardenGUIDoc *doc,
DeviceId defaultDevice =
Device::NO_DEVICE);
@@ -74,7 +74,7 @@ public:
//
void initDialog();
- std::pair<int, int> getFirstFreeBank(QListViewItem*);
+ std::pair<int, int> getFirstFreeBank(TQListViewItem*);
void addCommandToHistory(KCommand *command);
MultiViewCommandHistory* getCommandHistory();
@@ -84,7 +84,7 @@ public:
// Get a MidiDevice from an index number
//
MidiDevice* getMidiDevice(DeviceId);
- MidiDevice* getMidiDevice(QListViewItem*);
+ MidiDevice* getMidiDevice(TQListViewItem*);
MidiDevice* getCurrentMidiDevice();
BankList& getBankList() { return m_bankList; }
ProgramList&getProgramList() { return m_programList; }
@@ -105,7 +105,7 @@ public:
void selectDeviceBankItem(DeviceId device, int bank);
public slots:
- void slotPopulateDevice(QListViewItem*);
+ void slotPopulateDevice(TQListViewItem*);
void slotApply();
void slotReset();
@@ -120,7 +120,7 @@ public slots:
void slotImport();
void slotExport();
- void slotModifyDeviceOrBankName(QListViewItem*, const QString&,int);
+ void slotModifyDeviceOrBankName(TQListViewItem*, const TQString&,int);
void slotFileClose();
@@ -135,26 +135,26 @@ signals:
void deviceNamesChanged();
protected:
- virtual void closeEvent(QCloseEvent*);
+ virtual void closeEvent(TQCloseEvent*);
void resetProgramList();
void setProgramList(MidiDevice *device);
void updateDialog();
- void populateDeviceItem(QListViewItem* deviceItem,
+ void populateDeviceItem(TQListViewItem* deviceItem,
MidiDevice* midiDevice);
void updateDeviceItem(MidiDeviceListViewItem* deviceItem);
bool deviceItemHasBank(MidiDeviceListViewItem* deviceItem, int bankNb);
- void clearItemChildren(QListViewItem* deviceItem);
+ void clearItemChildren(TQListViewItem* deviceItem);
- MidiDeviceListViewItem* getParentDeviceItem(QListViewItem*);
+ MidiDeviceListViewItem* getParentDeviceItem(TQListViewItem*);
void keepBankListForNextPopulate() { m_keepBankList = true; }
- void populateDevice(QListViewItem*);
+ void populateDevice(TQListViewItem*);
void setupActions();
@@ -166,24 +166,24 @@ protected:
MidiKeyMappingEditor *m_keyMappingEditor;
KListView *m_listView;
- QGroupBox *m_optionBox;
- QCheckBox *m_variationToggle;
+ TQGroupBox *m_optionBox;
+ TQCheckBox *m_variationToggle;
KComboBox *m_variationCombo;
- QPushButton *m_closeButton;
- QPushButton *m_resetButton;
- QPushButton *m_applyButton;
+ TQPushButton *m_closeButton;
+ TQPushButton *m_resetButton;
+ TQPushButton *m_applyButton;
- QPushButton *m_addBank;
- QPushButton *m_addKeyMapping;
- QPushButton *m_delete;
- QPushButton *m_deleteAll;
+ TQPushButton *m_addBank;
+ TQPushButton *m_addKeyMapping;
+ TQPushButton *m_delete;
+ TQPushButton *m_deleteAll;
- QPushButton *m_importBanks;
- QPushButton *m_exportBanks;
+ TQPushButton *m_importBanks;
+ TQPushButton *m_exportBanks;
- QPushButton *m_copyPrograms;
- QPushButton *m_pastePrograms;
+ TQPushButton *m_copyPrograms;
+ TQPushButton *m_pastePrograms;
std::pair<DeviceId, int> m_copyBank;
std::map<DeviceId, std::string> m_deviceNameMap;