summaryrefslogtreecommitdiffstats
path: root/kpacman/kpacman.h
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2020-08-17 20:04:20 +0200
committergregory guy <gregory-tde@laposte.net>2020-08-17 20:04:20 +0200
commit2e2a3c5923526e5f0baa0b4b85d32afec6f19805 (patch)
tree74b2b4ac39c666b8479b91796c57287a7401bed1 /kpacman/kpacman.h
parent503fddb48f2229ecc6ed6930a99c4d740ff979e5 (diff)
downloadtdepacman-2e2a3c5923526e5f0baa0b4b85d32afec6f19805.tar.gz
tdepacman-2e2a3c5923526e5f0baa0b4b85d32afec6f19805.zip
third step, convert to tdelibs libraries.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
Diffstat (limited to 'kpacman/kpacman.h')
-rw-r--r--kpacman/kpacman.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/kpacman/kpacman.h b/kpacman/kpacman.h
index 04210af..c6ab495 100644
--- a/kpacman/kpacman.h
+++ b/kpacman/kpacman.h
@@ -30,11 +30,11 @@
//include files for KDE
#include <kapp.h>
-#include <kmainwindow.h>
-#include <kpopupmenu.h>
-#include <kaction.h>
-#include <klocale.h>
-#include <kmenubar.h>
+#include <tdemainwindow.h>
+#include <tdepopupmenu.h>
+#include <tdeaction.h>
+#include <tdelocale.h>
+#include <tdemenubar.h>
// application specific includes
#include "kpacmanview.h"
@@ -49,7 +49,7 @@ class KpacmanView;
/**
* The base class for Kpacman application.
*/
-class KpacmanApp : public KMainWindow
+class KpacmanApp : public TDEMainWindow
{
Q_OBJECT
@@ -72,7 +72,7 @@ class KpacmanApp : public KMainWindow
/** read graphic schemes and build menu items for selection
*/
void readSchemes();
- /** initializes the KActions of the application */
+ /** initializes the TDEActions of the application */
void initActions();
/** sets up the statusbar for the main window by initialzing a statuslabel.
*/
@@ -144,7 +144,7 @@ class KpacmanApp : public KMainWindow
private:
/** the configuration object of the application */
- KConfig *config;
+ TDEConfig *config;
/** view is the main widget which represents your working area. The View
* class should handle all events of the view widget. It is kept empty so
* you can create your view according to your application's needs by
@@ -152,25 +152,25 @@ class KpacmanApp : public KMainWindow
*/
KpacmanView *view;
- // KAction pointers to enable/disable actions
- KAction* gameNew;
- KToggleAction* gamePause;
- KAction* gameHighscores;
- KAction* gameQuit;
- KToggleAction* showMenuBar;
- KToggleAction* showToolBar;
- KToggleAction* showStatusBar;
- KToggleAction* showMouseCursor;
- KToggleAction* focusOutPause;
- KToggleAction* focusInContinue;
- KActionMenu* selectGraphicScheme;
+ // TDEAction pointers to enable/disable actions
+ TDEAction* gameNew;
+ TDEToggleAction* gamePause;
+ TDEAction* gameHighscores;
+ TDEAction* gameQuit;
+ TDEToggleAction* showMenuBar;
+ TDEToggleAction* showToolBar;
+ TDEToggleAction* showStatusBar;
+ TDEToggleAction* showMouseCursor;
+ TDEToggleAction* focusOutPause;
+ TDEToggleAction* focusInContinue;
+ TDEActionMenu* selectGraphicScheme;
// active scheme/mode
int scheme;
int mode;
- KPopupMenu *modesPopup; // KAction main scheme selection menu
- TQList<KPopupMenu> *schemesPopup; // submenus for selecting scheme
+ TDEPopupMenu *modesPopup; // TDEAction main scheme selection menu
+ TQList<TDEPopupMenu> *schemesPopup; // submenus for selecting scheme
// ID's of the menuitem(s) for finding/selecting scheme by id
TQArray<int> modeID;