Changeset View
Changeset View
Standalone View
Standalone View
src/gui/ksudoku.h
Show All 18 Lines | |||||
19 | * along with this program; if not, write to the * | 19 | * along with this program; if not, write to the * | ||
20 | * Free Software Foundation, Inc., * | 20 | * Free Software Foundation, Inc., * | ||
21 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * | 21 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * | ||
22 | ***************************************************************************/ | 22 | ***************************************************************************/ | ||
23 | 23 | | |||
24 | #ifndef _KSUDOKU_H_ | 24 | #ifndef _KSUDOKU_H_ | ||
25 | #define _KSUDOKU_H_ | 25 | #define _KSUDOKU_H_ | ||
26 | 26 | | |||
27 | #include <QUrl> | ||||
28 | | ||||
27 | #include <kxmlguiwindow.h> | 29 | #include <kxmlguiwindow.h> | ||
28 | #if 0 | 30 | #if 0 | ||
29 | #include <knewstuff/knewstuff.h> | 31 | #include <knewstuff/knewstuff.h> | ||
30 | #endif | 32 | #endif | ||
31 | 33 | | |||
32 | #define USE_UNSTABLE_LIBKDEGAMESPRIVATE_API | 34 | #define USE_UNSTABLE_LIBKDEGAMESPRIVATE_API | ||
33 | #include <libkdegamesprivate/kgamedifficulty.h> | 35 | #include <libkdegamesprivate/kgamedifficulty.h> | ||
36 | | ||||
34 | class QPrinter; | 37 | class QPrinter; | ||
35 | class KUrl; | | |||
36 | 38 | | |||
37 | namespace ksudoku { | 39 | namespace ksudoku { | ||
38 | class KsView; | 40 | class KsView; | ||
39 | class GameActions; | 41 | class GameActions; | ||
40 | class GameVariantCollection; | 42 | class GameVariantCollection; | ||
41 | class ValueListWidget; | 43 | class ValueListWidget; | ||
42 | class WelcomeScreen; | 44 | class WelcomeScreen; | ||
43 | class Game; | 45 | class Game; | ||
Show All 36 Lines | 79 | public: | |||
80 | */ | 82 | */ | ||
81 | KSudoku(); | 83 | KSudoku(); | ||
82 | 84 | | |||
83 | /** | 85 | /** | ||
84 | * Default Destructor | 86 | * Default Destructor | ||
85 | */ | 87 | */ | ||
86 | virtual ~KSudoku(); | 88 | virtual ~KSudoku(); | ||
87 | 89 | | |||
88 | void loadGame(const KUrl& url); | 90 | void loadGame(const QUrl& url); | ||
89 | 91 | | |||
90 | public: | 92 | public: | ||
91 | void updateShapesList(); | 93 | void updateShapesList(); | ||
92 | void loadCustomShapeFromPath(); | 94 | void loadCustomShapeFromPath(); | ||
93 | void createCustomShape(); | 95 | void createCustomShape(); | ||
94 | 96 | | |||
95 | ksudoku::Game currentGame() const; | 97 | ksudoku::Game currentGame() const; | ||
96 | ksudoku::KsView* currentView() const; | 98 | ksudoku::KsView* currentView() const; | ||
▲ Show 20 Lines • Show All 80 Lines • Show Last 20 Lines |