summaryrefslogtreecommitdiffstats
path: root/kommander/editor/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/editor/mainwindow.cpp')
-rw-r--r--kommander/editor/mainwindow.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kommander/editor/mainwindow.cpp b/kommander/editor/mainwindow.cpp
index fd3f0ecb..dcd1b393 100644
--- a/kommander/editor/mainwindow.cpp
+++ b/kommander/editor/mainwindow.cpp
@@ -143,8 +143,8 @@ MainWindow::MainWindow(bool asClient)
setupMDI();
setupFileActions();
setupEditActions();
- layoutToolBar = new KToolBar(this, "Layout");
- ((KToolBar *) layoutToolBar)->setFullSize(false);
+ layoutToolBar = new TDEToolBar(this, "Layout");
+ ((TDEToolBar *) layoutToolBar)->setFullSize(false);
addToolBar(layoutToolBar, i18n("Layout"));
setupToolActions();
setupLayoutActions();
@@ -356,9 +356,9 @@ void MainWindow::setupRMBMenus()
void MainWindow::toolSelected()
{
- if (!(sender())->inherits("KAction"))
+ if (!(sender())->inherits("TDEAction"))
return;
- actionCurrentTool = (KAction*)sender();
+ actionCurrentTool = (TDEAction*)sender();
emit currentToolChanged();
if (formWindow())
formWindow()->commandHistory()->emitUndoRedo();