summaryrefslogtreecommitdiffstats
path: root/quanta/src/document.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/src/document.cpp')
-rw-r--r--quanta/src/document.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/quanta/src/document.cpp b/quanta/src/document.cpp
index 8b3e34f0..22430940 100644
--- a/quanta/src/document.cpp
+++ b/quanta/src/document.cpp
@@ -109,7 +109,7 @@ Document::Document(KTextEditor::Document *doc,
userTagList.setAutoDelete(true);
// remove the unwanted actions
- KAction *a = m_view->actionCollection()->action( "file_export" );
+ TDEAction *a = m_view->actionCollection()->action( "file_export" );
if (a)
m_view->actionCollection()->take(a);
a = m_view->actionCollection()->action( "file_save" );
@@ -148,7 +148,7 @@ Document::Document(KTextEditor::Document *doc,
if (a)
a->setShortcut(TQt::SHIFT + TQt::Key_F11);
- KActionMenu *bookmarkAction = dynamic_cast<KActionMenu*>(m_view->actionCollection()->action( "bookmarks" ));
+ TDEActionMenu *bookmarkAction = dynamic_cast<TDEActionMenu*>(m_view->actionCollection()->action( "bookmarks" ));
if (bookmarkAction)
{
m_view->actionCollection()->take(bookmarkAction);