summaryrefslogtreecommitdiffstats
path: root/src/gui/studio/BankEditorDialog.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit3fcef18c75f7cd751ed706c12977230242fb817d (patch)
treea94c2497a3923ed9972e71c5bbba0697882c1427 /src/gui/studio/BankEditorDialog.cpp
parent80ee419f074dc252449791628d4584b5c0ea0c9b (diff)
downloadrosegarden-3fcef18c75f7cd751ed706c12977230242fb817d.tar.gz
rosegarden-3fcef18c75f7cd751ed706c12977230242fb817d.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/studio/BankEditorDialog.cpp')
-rw-r--r--src/gui/studio/BankEditorDialog.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/studio/BankEditorDialog.cpp b/src/gui/studio/BankEditorDialog.cpp
index 6103652..518260d 100644
--- a/src/gui/studio/BankEditorDialog.cpp
+++ b/src/gui/studio/BankEditorDialog.cpp
@@ -78,10 +78,10 @@
namespace Rosegarden
{
-BankEditorDialog::BankEditorDialog(TQWidget *tqparent,
+BankEditorDialog::BankEditorDialog(TQWidget *parent,
RosegardenGUIDoc *doc,
DeviceId defaultDevice):
- KMainWindow(tqparent, "bankeditordialog"),
+ KMainWindow(parent, "bankeditordialog"),
m_studio(&doc->getStudio()),
m_doc(doc),
m_copyBank(Device::NO_DEVICE, -1),
@@ -968,15 +968,15 @@ BankEditorDialog::getParentDeviceItem(TQListViewItem* item)
return 0;
if (dynamic_cast<MidiBankListViewItem*>(item))
- // go up to the tqparent device item
- item = item->tqparent();
+ // go up to the parent device item
+ item = item->parent();
if (dynamic_cast<MidiKeyMapListViewItem*>(item))
- // go up to the tqparent device item
- item = item->tqparent();
+ // go up to the parent device item
+ item = item->parent();
if (!item) {
- RG_DEBUG << "BankEditorDialog::getParentDeviceItem : missing tqparent device item for bank item - this SHOULD NOT HAPPEN" << endl;
+ RG_DEBUG << "BankEditorDialog::getParentDeviceItem : missing parent device item for bank item - this SHOULD NOT HAPPEN" << endl;
return 0;
}