summaryrefslogtreecommitdiffstats
path: root/kommander/editor/mainwindow.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:16:01 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:16:01 -0600
commit9771f17f8cc5252b12ec5f3edf47ff9bffdf997f (patch)
treeb9e389db87bdba126010d03fb5bccdc748d0e6fa /kommander/editor/mainwindow.cpp
parent9930e16dde86b7de9b792613d826f4f8648b9768 (diff)
downloadtdewebdev-9771f17f8cc5252b12ec5f3edf47ff9bffdf997f.tar.gz
tdewebdev-9771f17f8cc5252b12ec5f3edf47ff9bffdf997f.zip
Rename a number of classes to enhance compatibility with KDE4
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();