summaryrefslogtreecommitdiffstats
path: root/quanta/src/document.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 15:16:01 -0600
committerTimothy Pearson <[email protected]>2013-02-01 15:16:01 -0600
commit9771f17f8cc5252b12ec5f3edf47ff9bffdf997f (patch)
treeb9e389db87bdba126010d03fb5bccdc748d0e6fa /quanta/src/document.cpp
parent9930e16dde86b7de9b792613d826f4f8648b9768 (diff)
downloadtdewebdev-9771f17f8cc5252b12ec5f3edf47ff9bffdf997f.tar.gz
tdewebdev-9771f17f8cc5252b12ec5f3edf47ff9bffdf997f.zip
Rename a number of classes to enhance compatibility with KDE4
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);