summaryrefslogtreecommitdiffstats
path: root/src/gui/studio/DeviceManagerDialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 15:05:43 -0600
committerTimothy Pearson <[email protected]>2013-02-01 15:05:43 -0600
commitfb3718a55f355cd22f9eb9fa4e89cd3b84b8c9ca (patch)
tree5785d2ccbdfbe2f44d02fec75b4a51f5079a4b62 /src/gui/studio/DeviceManagerDialog.cpp
parentacf699af8244896500e654cccdc8aae7e5b545db (diff)
downloadrosegarden-fb3718a55f355cd22f9eb9fa4e89cd3b84b8c9ca.tar.gz
rosegarden-fb3718a55f355cd22f9eb9fa4e89cd3b84b8c9ca.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'src/gui/studio/DeviceManagerDialog.cpp')
-rw-r--r--src/gui/studio/DeviceManagerDialog.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/studio/DeviceManagerDialog.cpp b/src/gui/studio/DeviceManagerDialog.cpp
index 149a245..8cf3311 100644
--- a/src/gui/studio/DeviceManagerDialog.cpp
+++ b/src/gui/studio/DeviceManagerDialog.cpp
@@ -85,7 +85,7 @@ static const int RECORD_CONNECTION_COL = 2;
DeviceManagerDialog::DeviceManagerDialog(TQWidget *parent,
RosegardenGUIDoc *document) :
- KMainWindow(parent, "deviceeditordialog"),
+ TDEMainWindow(parent, "deviceeditordialog"),
m_document(document),
m_studio(&document->getStudio())
{
@@ -214,7 +214,7 @@ DeviceManagerDialog::DeviceManagerDialog(TQWidget *parent,
layout->addWidget(closeButton);
layout->addSpacing(5);
- KAction* close = KStdAction::close(TQT_TQOBJECT(this),
+ TDEAction* close = KStdAction::close(TQT_TQOBJECT(this),
TQT_SLOT(slotClose()),
actionCollection());
@@ -224,15 +224,15 @@ DeviceManagerDialog::DeviceManagerDialog(TQWidget *parent,
mainLayout->addWidget(btnBox);
// some adjustments
- new KToolBarPopupAction(i18n("Und&o"),
+ new TDEToolBarPopupAction(i18n("Und&o"),
"undo",
- KStdAccel::shortcut(KStdAccel::Undo),
+ TDEStdAccel::shortcut(TDEStdAccel::Undo),
actionCollection(),
KStdAction::stdName(KStdAction::Undo));
- new KToolBarPopupAction(i18n("Re&do"),
+ new TDEToolBarPopupAction(i18n("Re&do"),
"redo",
- KStdAccel::shortcut(KStdAccel::Redo),
+ TDEStdAccel::shortcut(TDEStdAccel::Redo),
actionCollection(),
KStdAction::stdName(KStdAction::Redo));
@@ -456,7 +456,7 @@ DeviceManagerDialog::DeviceManagerDialog(TQWidget *parent,
DeviceManagerDialog::closeEvent(TQCloseEvent *e)
{
emit closing();
- KMainWindow::closeEvent(e);
+ TDEMainWindow::closeEvent(e);
}
DeviceId