summaryrefslogtreecommitdiffstats
path: root/kexi/main/keximainwindowimpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/main/keximainwindowimpl.cpp')
-rw-r--r--kexi/main/keximainwindowimpl.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kexi/main/keximainwindowimpl.cpp b/kexi/main/keximainwindowimpl.cpp
index 4135421d..b3d36240 100644
--- a/kexi/main/keximainwindowimpl.cpp
+++ b/kexi/main/keximainwindowimpl.cpp
@@ -48,7 +48,7 @@
#include <kedittoolbar.h>
#include <tdeversion.h>
#include <kglobalsettings.h>
-#include <kparts/componentfactory.h>
+#include <tdeparts/componentfactory.h>
#include <ktip.h>
#include <kstandarddirs.h>
#include <kpushbutton.h>
@@ -250,7 +250,7 @@ KexiMainWindowImpl::KexiMainWindowImpl()
resize (kMin (s.width(), desk.width()), kMin(s.height(), desk.height()));
}
- setManagedDockPositionModeEnabled(true);//TODO(js): remove this if will be default in kmdi :)
+ setManagedDockPositionModeEnabled(true);//TODO(js): remove this if will be default in tdemdi :)
manager()->setSplitterHighResolution(true);
manager()->setSplitterKeepSize(true);
setStandardMDIMenuEnabled(false);
@@ -316,9 +316,9 @@ KexiMainWindowImpl::KexiMainWindowImpl()
//disabled (possible crash) d->hideMenuItem("file", i18n("&Import"), true);
//disabled (possible crash) d->hideMenuItem("help", i18n( "&Report Bug..." ), true);
#endif
- KAction *kmdi_tooldock_menu_action = childClients()->getFirst() ? childClients()->getFirst()->actionCollection()->action("kmdi_tooldock_menu") : 0;
- if (kmdi_tooldock_menu_action) {
- kmdi_tooldock_menu_action->setEnabled(false);
+ KAction *tdemdi_tooldock_menu_action = childClients()->getFirst() ? childClients()->getFirst()->actionCollection()->action("tdemdi_tooldock_menu") : 0;
+ if (tdemdi_tooldock_menu_action) {
+ tdemdi_tooldock_menu_action->setEnabled(false);
}
if (!isFakingSDIApplication()/* && !userMode()*/) {
@@ -2235,7 +2235,7 @@ KexiMainWindowImpl::registerChild(KexiDialogBase *dlg)
}
kdDebug() << "KexiMainWindowImpl::registerChild() ID = " << dlg->id() << endl;
- if (m_mdiMode==KMdi::ToplevelMode || m_mdiMode==KMdi::ChildframeMode) {//kmdi fix
+ if (m_mdiMode==KMdi::ToplevelMode || m_mdiMode==KMdi::ChildframeMode) {//tdemdi fix
//js TODO: check if taskbar is switched in menu
if (m_pTaskBar && !m_pTaskBar->isSwitchedOn())
m_pTaskBar->switchOn(true);