From 5ca50f0ef6000d132b45fc6a50cf3062245bd070 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:09:56 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- kmag/kmag.h | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'kmag/kmag.h') diff --git a/kmag/kmag.h b/kmag/kmag.h index a834da5..5be881f 100644 --- a/kmag/kmag.h +++ b/kmag/kmag.h @@ -45,16 +45,16 @@ * window and reads the config file as well as providing a menubar, toolbar * and statusbar. An instance of KmagView creates your center view, which is connected * to the window's Doc object. - * KmagApp reimplements the methods that KMainWindow provides for main window handling and supports - * full session management as well as using KActions. - * @see KMainWindow + * KmagApp reimplements the methods that TDEMainWindow provides for main window handling and supports + * full session management as well as using TDEActions. + * @see TDEMainWindow * @see TDEApplication * @see TDEConfig * * @author Source Framework Automatically Generated by KDevelop, (c) The KDevelop Team. * @version KDevelop version 1.2 code generation */ -class KmagApp : public KMainWindow +class KmagApp : public TDEMainWindow { Q_OBJECT @@ -78,7 +78,7 @@ class KmagApp : public KMainWindow /** read general Options again and initialize all variables like the recent file list */ void readOptions(); - /** initializes the KActions of the application */ + /** initializes the TDEActions of the application */ void initActions(); /** creates the centerwidget of the KTMainWindow instance and sets it as the view @@ -184,23 +184,23 @@ class KmagApp : public KMainWindow private: - void setEdgeMode (KToggleAction *mode); - void unsetEdgeMode (KToggleAction *mode); + void setEdgeMode (TDEToggleAction *mode); + void unsetEdgeMode (TDEToggleAction *mode); int edgesize; /// the configuration object of the application TDEConfig *config; - // KAction pointers to enable/disable actions - KAction *fileNewWindow, *m_pSnapshot, *m_pCopy, *m_keyConf, *m_toolConf; - KAction *m_pPrint; - KAction *m_pZoomIn; - KAction *m_pZoomOut; - KAction *m_pQuit; - KAction *refreshSwitch; - KToggleAction *m_pInvert, *m_pShowMenu, *m_pShowMainToolBar, *m_pShowViewToolBar, *m_pShowSettingsToolBar; - KSelectAction *m_pZoomBox, *m_pRotationBox, *m_pFPSBox; + // TDEAction pointers to enable/disable actions + TDEAction *fileNewWindow, *m_pSnapshot, *m_pCopy, *m_keyConf, *m_toolConf; + TDEAction *m_pPrint; + TDEAction *m_pZoomIn; + TDEAction *m_pZoomOut; + TDEAction *m_pQuit; + TDEAction *refreshSwitch; + TDEToggleAction *m_pInvert, *m_pShowMenu, *m_pShowMainToolBar, *m_pShowViewToolBar, *m_pShowSettingsToolBar; + TDESelectAction *m_pZoomBox, *m_pRotationBox, *m_pFPSBox; /// zoom slider KIntNumInput *m_zoomSlider; @@ -224,9 +224,9 @@ class KmagApp : public KMainWindow std::vector fpsArray; KMagZoomView* m_zoomView; - KToggleAction *m_hideCursor; - KRadioAction *m_modeFollowMouse, *m_modeSelWin; - KRadioAction *m_modeEdgeTop, *m_modeEdgeLeft, *m_modeEdgeRight, *m_modeEdgeBottom; + TDEToggleAction *m_hideCursor; + TDERadioAction *m_modeFollowMouse, *m_modeSelWin; + TDERadioAction *m_modeEdgeTop, *m_modeEdgeLeft, *m_modeEdgeRight, *m_modeEdgeBottom; /// Stores the non-zero cursor type to be used unsigned int m_mouseCursorType; -- cgit v1.2.3