summaryrefslogtreecommitdiffstats
path: root/src/gui/studio/BankEditorDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/studio/BankEditorDialog.cpp')
-rw-r--r--src/gui/studio/BankEditorDialog.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/studio/BankEditorDialog.cpp b/src/gui/studio/BankEditorDialog.cpp
index 1f34ce7..39538b0 100644
--- a/src/gui/studio/BankEditorDialog.cpp
+++ b/src/gui/studio/BankEditorDialog.cpp
@@ -81,7 +81,7 @@ namespace Rosegarden
BankEditorDialog::BankEditorDialog(TQWidget *parent,
RosegardenGUIDoc *doc,
DeviceId defaultDevice):
- KMainWindow(parent, "bankeditordialog"),
+ TDEMainWindow(parent, "bankeditordialog"),
m_studio(&doc->getStudio()),
m_doc(doc),
m_copyBank(Device::NO_DEVICE, -1),
@@ -124,7 +124,7 @@ BankEditorDialog::BankEditorDialog(TQWidget *parent,
// Left-side list view
//
TQVBox* leftPart = new TQVBox(splitter);
- m_listView = new KListView(leftPart);
+ m_listView = new TDEListView(leftPart);
m_listView->addColumn(i18n("MIDI Device"));
m_listView->addColumn(i18n("Type"));
m_listView->addColumn(i18n("MSB"));
@@ -303,7 +303,7 @@ BankEditorDialog::~BankEditorDialog()
void
BankEditorDialog::setupActions()
{
- KAction* close = KStdAction::close (TQT_TQOBJECT(this), TQT_SLOT(slotFileClose()), actionCollection());
+ TDEAction* close = KStdAction::close (TQT_TQOBJECT(this), TQT_SLOT(slotFileClose()), actionCollection());
m_closeButton->setText(close->text());
connect(m_closeButton, TQT_SIGNAL(clicked()),
@@ -315,15 +315,15 @@ BankEditorDialog::setupActions()
// some adjustments
- new KToolBarPopupAction(i18n("Und&o"),
+ new TDEToolBarPopupAction(i18n("Und&o"),
"undo",
- KStdAccel::key(KStdAccel::Undo),
+ TDEStdAccel::key(TDEStdAccel::Undo),
actionCollection(),
KStdAction::stdName(KStdAction::Undo));
- new KToolBarPopupAction(i18n("Re&do"),
+ new TDEToolBarPopupAction(i18n("Re&do"),
"redo",
- KStdAccel::key(KStdAccel::Redo),
+ TDEStdAccel::key(TDEStdAccel::Redo),
actionCollection(),
KStdAction::stdName(KStdAction::Redo));
@@ -1706,7 +1706,7 @@ BankEditorDialog::closeEvent(TQCloseEvent *e)
}
emit closing();
- KMainWindow::closeEvent(e);
+ TDEMainWindow::closeEvent(e);
}
}