From 9771f17f8cc5252b12ec5f3edf47ff9bffdf997f Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:16:01 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- quanta/src/quanta.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'quanta/src/quanta.h') diff --git a/quanta/src/quanta.h b/quanta/src/quanta.h index dd95cdfe..942195de 100644 --- a/quanta/src/quanta.h +++ b/quanta/src/quanta.h @@ -71,12 +71,12 @@ class TQPopupMenu; class WHTMLPart; class TDEHTMLView; -class KAction; -class KToggleAction; +class TDEAction; +class TDEToggleAction; class TDEProcess; -class KSelectAction; -class KRecentFilesAction; -class KToolBarPoupAction; +class TDESelectAction; +class TDERecentFilesAction; +class TDEToolBarPoupAction; class KTextEdit; class TagAction; @@ -93,7 +93,7 @@ class TQDomDocument; class Document; class DebuggerManager; class QuantaInit; -class KToolBarPopupAction; +class TDEToolBarPopupAction; class KTempFile; namespace KTextEditor { @@ -351,7 +351,7 @@ public slots: /** Rename the toolbar. */ void slotRenameToolbar(); /** Delete an action */ - void slotDeleteAction(KAction *action); + void slotDeleteAction(TDEAction *action); /** Remove the action from toolbar*/ void slotRemoveAction(const TQString&, const TQString& actionName); /** Edit the action */ @@ -587,14 +587,14 @@ private: TQTimer *statusbarTimer; // ACTIONS - KRecentFilesAction *projectToolbarFiles; + TDERecentFilesAction *projectToolbarFiles; - KToggleAction *showVPLAction, *showSourceAction, *showVPLSourceAction, *showDTDToolbar; - KToolBarPopupAction *showPreviewAction; + TDEToggleAction *showVPLAction, *showSourceAction, *showVPLSourceAction, *showDTDToolbar; + TDEToolBarPopupAction *showPreviewAction; - KAction *saveAction, *saveAllAction; + TDEAction *saveAction, *saveAllAction; - KAction *editTagAction, *selectTagAreaAction; + TDEAction *editTagAction, *selectTagAreaAction; TQDomDocument* m_actions; @@ -646,7 +646,7 @@ protected: // Protected attributes TQDict m_toolbarList; public: //TODO: check if it's worth to make a read method for them - KRecentFilesAction *fileRecent; + TDERecentFilesAction *fileRecent; /** True when the whole quanta is initialized. */ bool quantaStarted; bool m_loopStarted; //true if an internal event loop has been started -- cgit v1.2.1