diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:09:56 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:09:56 -0600 |
commit | 5ca50f0ef6000d132b45fc6a50cf3062245bd070 (patch) | |
tree | 99c6b7de89d289e0a80ec21f7525dc514bc759d1 /kmag/kmag.h | |
parent | 722a076e84b860a947f4c68417db82526b03b1a1 (diff) | |
download | tdeaccessibility-5ca50f0ef6000d132b45fc6a50cf3062245bd070.tar.gz tdeaccessibility-5ca50f0ef6000d132b45fc6a50cf3062245bd070.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kmag/kmag.h')
-rw-r--r-- | kmag/kmag.h | 38 |
1 files changed, 19 insertions, 19 deletions
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<float> 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; |