summaryrefslogtreecommitdiffstats
path: root/src/gui/studio
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/studio')
-rw-r--r--src/gui/studio/AudioMixerWindow.cpp46
-rw-r--r--src/gui/studio/BankEditorDialog.cpp16
-rw-r--r--src/gui/studio/BankEditorDialog.h6
-rw-r--r--src/gui/studio/DeviceManagerDialog.cpp14
-rw-r--r--src/gui/studio/DeviceManagerDialog.h2
-rw-r--r--src/gui/studio/MidiDeviceListViewItem.cpp6
-rw-r--r--src/gui/studio/MidiDeviceListViewItem.h2
-rw-r--r--src/gui/studio/MidiMixerWindow.cpp18
-rw-r--r--src/gui/studio/MixerWindow.cpp4
-rw-r--r--src/gui/studio/MixerWindow.h2
-rw-r--r--src/gui/studio/SynthPluginManagerDialog.cpp6
-rw-r--r--src/gui/studio/SynthPluginManagerDialog.h2
12 files changed, 62 insertions, 62 deletions
diff --git a/src/gui/studio/AudioMixerWindow.cpp b/src/gui/studio/AudioMixerWindow.cpp
index c0d3994..3805954 100644
--- a/src/gui/studio/AudioMixerWindow.cpp
+++ b/src/gui/studio/AudioMixerWindow.cpp
@@ -102,86 +102,86 @@ AudioMixerWindow::AudioMixerWindow(TQWidget *parent,
TQIconSet icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap
("transport-play")));
- KAction *play = new KAction(i18n("&Play"), icon, Key_Enter, TQT_TQOBJECT(this),
+ TDEAction *play = new TDEAction(i18n("&Play"), icon, Key_Enter, TQT_TQOBJECT(this),
TQT_SIGNAL(play()), actionCollection(), "play");
// Alternative shortcut for Play
- KShortcut playShortcut = play->shortcut();
+ TDEShortcut playShortcut = play->shortcut();
playShortcut.append( KKey(Key_Return + CTRL) );
play->setShortcut(playShortcut);
icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap
("transport-stop")));
- new KAction(i18n("&Stop"), icon, Key_Insert, TQT_TQOBJECT(this),
+ new TDEAction(i18n("&Stop"), icon, Key_Insert, TQT_TQOBJECT(this),
TQT_SIGNAL(stop()), actionCollection(), "stop");
icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap
("transport-rewind")));
- new KAction(i18n("Re&wind"), icon, Key_End, TQT_TQOBJECT(this),
+ new TDEAction(i18n("Re&wind"), icon, Key_End, TQT_TQOBJECT(this),
TQT_SIGNAL(rewindPlayback()), actionCollection(),
"playback_pointer_back_bar");
icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap
("transport-ffwd")));
- new KAction(i18n("&Fast Forward"), icon, Key_PageDown, TQT_TQOBJECT(this),
+ new TDEAction(i18n("&Fast Forward"), icon, Key_PageDown, TQT_TQOBJECT(this),
TQT_SIGNAL(fastForwardPlayback()), actionCollection(),
"playback_pointer_forward_bar");
icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap
("transport-rewind-end")));
- new KAction(i18n("Rewind to &Beginning"), icon, 0, TQT_TQOBJECT(this),
+ new TDEAction(i18n("Rewind to &Beginning"), icon, 0, TQT_TQOBJECT(this),
TQT_SIGNAL(rewindPlaybackToBeginning()), actionCollection(),
"playback_pointer_start");
icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap
("transport-ffwd-end")));
- new KAction(i18n("Fast Forward to &End"), icon, 0, TQT_TQOBJECT(this),
+ new TDEAction(i18n("Fast Forward to &End"), icon, 0, TQT_TQOBJECT(this),
TQT_SIGNAL(fastForwardPlaybackToEnd()), actionCollection(),
"playback_pointer_end");
icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap
("transport-record")));
- new KAction(i18n("&Record"), icon, 0, TQT_TQOBJECT(this),
+ new TDEAction(i18n("&Record"), icon, 0, TQT_TQOBJECT(this),
TQT_SIGNAL(record()), actionCollection(),
"record");
icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap
("transport-panic")));
- new KAction(i18n("Panic"), icon, Key_P + CTRL + ALT, TQT_TQOBJECT(this),
+ new TDEAction(i18n("Panic"), icon, Key_P + CTRL + ALT, TQT_TQOBJECT(this),
TQT_SIGNAL(panic()), actionCollection(),
"panic");
unsigned int mixerOptions = m_studio->getMixerDisplayOptions();
- (new KToggleAction(i18n("Show Audio &Faders"), 0, TQT_TQOBJECT(this),
+ (new TDEToggleAction(i18n("Show Audio &Faders"), 0, TQT_TQOBJECT(this),
TQT_SLOT(slotToggleFaders()), actionCollection(),
"show_audio_faders"))->setChecked
(!(mixerOptions & MIXER_OMIT_FADERS));
- (new KToggleAction(i18n("Show Synth &Faders"), 0, TQT_TQOBJECT(this),
+ (new TDEToggleAction(i18n("Show Synth &Faders"), 0, TQT_TQOBJECT(this),
TQT_SLOT(slotToggleSynthFaders()), actionCollection(),
"show_synth_faders"))->setChecked
(!(mixerOptions & MIXER_OMIT_SYNTH_FADERS));
- (new KToggleAction(i18n("Show &Submasters"), 0, TQT_TQOBJECT(this),
+ (new TDEToggleAction(i18n("Show &Submasters"), 0, TQT_TQOBJECT(this),
TQT_SLOT(slotToggleSubmasters()), actionCollection(),
"show_audio_submasters"))->setChecked
(!(mixerOptions & MIXER_OMIT_SUBMASTERS));
- (new KToggleAction(i18n("Show &Plugin Buttons"), 0, TQT_TQOBJECT(this),
+ (new TDEToggleAction(i18n("Show &Plugin Buttons"), 0, TQT_TQOBJECT(this),
TQT_SLOT(slotTogglePluginButtons()), actionCollection(),
"show_plugin_buttons"))->setChecked
(!(mixerOptions & MIXER_OMIT_PLUGINS));
- (new KToggleAction(i18n("Show &Unassigned Faders"), 0, TQT_TQOBJECT(this),
+ (new TDEToggleAction(i18n("Show &Unassigned Faders"), 0, TQT_TQOBJECT(this),
TQT_SLOT(slotToggleUnassignedFaders()), actionCollection(),
"show_unassigned_faders"))->setChecked
(mixerOptions & MIXER_SHOW_UNASSIGNED_FADERS);
- KRadioAction *action = 0;
+ TDERadioAction *action = 0;
for (int i = 1; i <= 16; i *= 2) {
action =
- new KRadioAction(i18n("1 Input", "%n Inputs", i),
+ new TDERadioAction(i18n("1 Input", "%n Inputs", i),
0, TQT_TQOBJECT(this),
TQT_SLOT(slotSetInputCountFromAction()), actionCollection(),
TQString("inputs_%1").arg(i).ascii());
@@ -190,7 +190,7 @@ AudioMixerWindow::AudioMixerWindow(TQWidget *parent,
action->setChecked(true);
}
- action = new KRadioAction
+ action = new TDERadioAction
(i18n("No Submasters"),
0, TQT_TQOBJECT(this),
TQT_SLOT(slotSetSubmasterCountFromAction()), actionCollection(),
@@ -199,7 +199,7 @@ AudioMixerWindow::AudioMixerWindow(TQWidget *parent,
action->setChecked(true);
for (int i = 2; i <= 8; i *= 2) {
- action = new KRadioAction
+ action = new TDERadioAction
(i18n("1 Submaster", "%n Submasters", i),
0, TQT_TQOBJECT(this),
TQT_SLOT(slotSetSubmasterCountFromAction()), actionCollection(),
@@ -1584,7 +1584,7 @@ AudioMixerWindow::slotUpdateFaderVisibility()
{
bool d = !(m_studio->getMixerDisplayOptions() & MIXER_OMIT_FADERS);
- KToggleAction *action = dynamic_cast<KToggleAction *>
+ TDEToggleAction *action = dynamic_cast<TDEToggleAction *>
(actionCollection()->action("show_audio_faders"));
if (action) {
action->setChecked(d);
@@ -1616,7 +1616,7 @@ AudioMixerWindow::slotToggleSynthFaders()
void
AudioMixerWindow::slotUpdateSynthFaderVisibility()
{
- KToggleAction *action = dynamic_cast<KToggleAction *>
+ TDEToggleAction *action = dynamic_cast<TDEToggleAction *>
(actionCollection()->action("show_synth_faders"));
if (!action)
return ;
@@ -1648,7 +1648,7 @@ AudioMixerWindow::slotToggleSubmasters()
void
AudioMixerWindow::slotUpdateSubmasterVisibility()
{
- KToggleAction *action = dynamic_cast<KToggleAction *>
+ TDEToggleAction *action = dynamic_cast<TDEToggleAction *>
(actionCollection()->action("show_audio_submasters"));
if (!action)
return ;
@@ -1678,7 +1678,7 @@ AudioMixerWindow::slotTogglePluginButtons()
void
AudioMixerWindow::slotUpdatePluginButtonVisibility()
{
- KToggleAction *action = dynamic_cast<KToggleAction *>
+ TDEToggleAction *action = dynamic_cast<TDEToggleAction *>
(actionCollection()->action("show_plugin_buttons"));
if (!action)
return ;
@@ -1697,7 +1697,7 @@ AudioMixerWindow::slotUpdatePluginButtonVisibility()
void
AudioMixerWindow::slotToggleUnassignedFaders()
{
- KToggleAction *action = dynamic_cast<KToggleAction *>
+ TDEToggleAction *action = dynamic_cast<TDEToggleAction *>
(actionCollection()->action("show_unassigned_faders"));
if (!action)
return ;
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);
}
}
diff --git a/src/gui/studio/BankEditorDialog.h b/src/gui/studio/BankEditorDialog.h
index 8dbc164..36904b6 100644
--- a/src/gui/studio/BankEditorDialog.h
+++ b/src/gui/studio/BankEditorDialog.h
@@ -41,7 +41,7 @@ class TQListViewItem;
class TQGroupBox;
class TQCloseEvent;
class TQCheckBox;
-class KListView;
+class TDEListView;
class KCommand;
class KComboBox;
@@ -58,7 +58,7 @@ class MidiDeviceListViewItem;
class MidiDevice;
-class BankEditorDialog : public KMainWindow
+class BankEditorDialog : public TDEMainWindow
{
Q_OBJECT
@@ -165,7 +165,7 @@ protected:
MidiProgramsEditor *m_programEditor;
MidiKeyMappingEditor *m_keyMappingEditor;
- KListView *m_listView;
+ TDEListView *m_listView;
TQGroupBox *m_optionBox;
TQCheckBox *m_variationToggle;
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
diff --git a/src/gui/studio/DeviceManagerDialog.h b/src/gui/studio/DeviceManagerDialog.h
index 8bb2c68..15ace21 100644
--- a/src/gui/studio/DeviceManagerDialog.h
+++ b/src/gui/studio/DeviceManagerDialog.h
@@ -47,7 +47,7 @@ class RosegardenGUIDoc;
class MidiDevice;
-class DeviceManagerDialog : public KMainWindow
+class DeviceManagerDialog : public TDEMainWindow
{
Q_OBJECT
diff --git a/src/gui/studio/MidiDeviceListViewItem.cpp b/src/gui/studio/MidiDeviceListViewItem.cpp
index df64c82..bfece9e 100644
--- a/src/gui/studio/MidiDeviceListViewItem.cpp
+++ b/src/gui/studio/MidiDeviceListViewItem.cpp
@@ -36,7 +36,7 @@ namespace Rosegarden
MidiDeviceListViewItem::MidiDeviceListViewItem(DeviceId deviceId,
TQListView* parent, TQString name)
- : KListViewItem(parent, name),
+ : TDEListViewItem(parent, name),
m_deviceId(deviceId)
{}
@@ -44,7 +44,7 @@ MidiDeviceListViewItem::MidiDeviceListViewItem(DeviceId deviceId,
TQListViewItem* parent, TQString name,
bool percussion,
int msb, int lsb)
- : KListViewItem(parent, name,
+ : TDEListViewItem(parent, name,
TQString(percussion ? i18n("Percussion Bank") : i18n("Bank")),
TQString().setNum(msb), TQString().setNum(lsb)),
m_deviceId(deviceId)
@@ -52,7 +52,7 @@ MidiDeviceListViewItem::MidiDeviceListViewItem(DeviceId deviceId,
MidiDeviceListViewItem::MidiDeviceListViewItem(DeviceId deviceId,
TQListViewItem* parent, TQString name)
-: KListViewItem(parent, name, i18n("Key Mapping"), "", ""),
+: TDEListViewItem(parent, name, i18n("Key Mapping"), "", ""),
m_deviceId(deviceId)
{}
diff --git a/src/gui/studio/MidiDeviceListViewItem.h b/src/gui/studio/MidiDeviceListViewItem.h
index a17a46c..5c96f85 100644
--- a/src/gui/studio/MidiDeviceListViewItem.h
+++ b/src/gui/studio/MidiDeviceListViewItem.h
@@ -36,7 +36,7 @@ namespace Rosegarden
-class MidiDeviceListViewItem : public KListViewItem
+class MidiDeviceListViewItem : public TDEListViewItem
{
public:
// Device
diff --git a/src/gui/studio/MidiMixerWindow.cpp b/src/gui/studio/MidiMixerWindow.cpp
index e41539f..baddb83 100644
--- a/src/gui/studio/MidiMixerWindow.cpp
+++ b/src/gui/studio/MidiMixerWindow.cpp
@@ -78,51 +78,51 @@ MidiMixerWindow::MidiMixerWindow(TQWidget *parent,
TQIconSet icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap
("transport-play")));
- KAction *play = new KAction(i18n("&Play"), icon, Key_Enter, TQT_TQOBJECT(this),
+ TDEAction *play = new TDEAction(i18n("&Play"), icon, Key_Enter, TQT_TQOBJECT(this),
TQT_SIGNAL(play()), actionCollection(), "play");
// Alternative shortcut for Play
- KShortcut playShortcut = play->shortcut();
+ TDEShortcut playShortcut = play->shortcut();
playShortcut.append( KKey(Key_Return + CTRL) );
play->setShortcut(playShortcut);
icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap
("transport-stop")));
- new KAction(i18n("&Stop"), icon, Key_Insert, TQT_TQOBJECT(this),
+ new TDEAction(i18n("&Stop"), icon, Key_Insert, TQT_TQOBJECT(this),
TQT_SIGNAL(stop()), actionCollection(), "stop");
icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap
("transport-rewind")));
- new KAction(i18n("Re&wind"), icon, Key_End, TQT_TQOBJECT(this),
+ new TDEAction(i18n("Re&wind"), icon, Key_End, TQT_TQOBJECT(this),
TQT_SIGNAL(rewindPlayback()), actionCollection(),
"playback_pointer_back_bar");
icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap
("transport-ffwd")));
- new KAction(i18n("&Fast Forward"), icon, Key_PageDown, TQT_TQOBJECT(this),
+ new TDEAction(i18n("&Fast Forward"), icon, Key_PageDown, TQT_TQOBJECT(this),
TQT_SIGNAL(fastForwardPlayback()), actionCollection(),
"playback_pointer_forward_bar");
icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap
("transport-rewind-end")));
- new KAction(i18n("Rewind to &Beginning"), icon, 0, TQT_TQOBJECT(this),
+ new TDEAction(i18n("Rewind to &Beginning"), icon, 0, TQT_TQOBJECT(this),
TQT_SIGNAL(rewindPlaybackToBeginning()), actionCollection(),
"playback_pointer_start");
icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap
("transport-ffwd-end")));
- new KAction(i18n("Fast Forward to &End"), icon, 0, TQT_TQOBJECT(this),
+ new TDEAction(i18n("Fast Forward to &End"), icon, 0, TQT_TQOBJECT(this),
TQT_SIGNAL(fastForwardPlaybackToEnd()), actionCollection(),
"playback_pointer_end");
icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap
("transport-record")));
- new KAction(i18n("&Record"), icon, 0, TQT_TQOBJECT(this),
+ new TDEAction(i18n("&Record"), icon, 0, TQT_TQOBJECT(this),
TQT_SIGNAL(record()), actionCollection(),
"record");
icon = TQIconSet(NotePixmapFactory::toTQPixmap(NotePixmapFactory::makeToolbarPixmap
("transport-panic")));
- new KAction(i18n("Panic"), icon, Key_P + CTRL + ALT, TQT_TQOBJECT(this),
+ new TDEAction(i18n("Panic"), icon, Key_P + CTRL + ALT, TQT_TQOBJECT(this),
TQT_SIGNAL(panic()), actionCollection(),
"panic");
diff --git a/src/gui/studio/MixerWindow.cpp b/src/gui/studio/MixerWindow.cpp
index d0c233a..3c3af9a 100644
--- a/src/gui/studio/MixerWindow.cpp
+++ b/src/gui/studio/MixerWindow.cpp
@@ -39,7 +39,7 @@ namespace Rosegarden
MixerWindow::MixerWindow(TQWidget *parent,
RosegardenGUIDoc *document) :
- KMainWindow(parent, "mixerwindow"),
+ TDEMainWindow(parent, "mixerwindow"),
m_document(document),
m_studio(&document->getStudio()),
m_currentId(0)
@@ -52,7 +52,7 @@ MixerWindow::closeEvent(TQCloseEvent *e)
{
RG_DEBUG << "MixerWindow::closeEvent()\n";
emit closing();
- KMainWindow::closeEvent(e);
+ TDEMainWindow::closeEvent(e);
}
void
diff --git a/src/gui/studio/MixerWindow.h b/src/gui/studio/MixerWindow.h
index 50f5591..46a3774 100644
--- a/src/gui/studio/MixerWindow.h
+++ b/src/gui/studio/MixerWindow.h
@@ -42,7 +42,7 @@ class Studio;
class RosegardenGUIDoc;
-class MixerWindow: public KMainWindow
+class MixerWindow: public TDEMainWindow
{
Q_OBJECT
diff --git a/src/gui/studio/SynthPluginManagerDialog.cpp b/src/gui/studio/SynthPluginManagerDialog.cpp
index 4fdb00f..c721ffb 100644
--- a/src/gui/studio/SynthPluginManagerDialog.cpp
+++ b/src/gui/studio/SynthPluginManagerDialog.cpp
@@ -60,7 +60,7 @@ SynthPluginManagerDialog::SynthPluginManagerDialog(TQWidget *parent,
, AudioPluginOSCGUIManager *guiManager
#endif
) :
- KMainWindow(parent, "synthpluginmanagerdialog"),
+ TDEMainWindow(parent, "synthpluginmanagerdialog"),
m_document(doc),
m_studio(&doc->getStudio()),
m_pluginManager(doc->getPluginManager())
@@ -171,7 +171,7 @@ SynthPluginManagerDialog::SynthPluginManagerDialog(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());
@@ -227,7 +227,7 @@ SynthPluginManagerDialog::SynthPluginManagerDialog(TQWidget *parent,
SynthPluginManagerDialog::closeEvent(TQCloseEvent *e)
{
emit closing();
- KMainWindow::closeEvent(e);
+ TDEMainWindow::closeEvent(e);
}
void
diff --git a/src/gui/studio/SynthPluginManagerDialog.h b/src/gui/studio/SynthPluginManagerDialog.h
index 3851226..48a8f1d 100644
--- a/src/gui/studio/SynthPluginManagerDialog.h
+++ b/src/gui/studio/SynthPluginManagerDialog.h
@@ -46,7 +46,7 @@ class AudioPluginOSCGUIManager;
class AudioPluginManager;
-class SynthPluginManagerDialog : public KMainWindow
+class SynthPluginManagerDialog : public TDEMainWindow
{
Q_OBJECT