OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
newgame.hpp
Go to the documentation of this file.
1 #ifndef CSV_DOC_NEWGAME_H
2 #define CSV_DOC_NEWGAME_H
3 
4 #include <boost/filesystem/path.hpp>
5 
6 #include <QDialog>
7 #include <QMetaType>
8 
9 #ifndef CS_QT_BOOST_FILESYSTEM_PATH_DECLARED
10 #define CS_QT_BOOST_FILESYSTEM_PATH_DECLARED
11 Q_DECLARE_METATYPE (boost::filesystem::path)
12 #endif
13 
14 class QPushButton;
15 
16 namespace CSVDoc
17 {
18  class FileWidget;
19  class AdjusterWidget;
20 
21  class NewGameDialogue : public QDialog
22  {
23  Q_OBJECT
24 
25  QPushButton *mCreate;
28 
29  public:
30 
32 
33  void setLocalData (const boost::filesystem::path& localData);
34 
35  signals:
36 
37  void createRequest (const boost::filesystem::path& file);
38 
39  void cancelCreateGame ();
40 
41  private slots:
42 
43  void stateChanged (bool valid);
44 
45  void create();
46 
47  void reject();
48  };
49 }
50 
51 #endif
Definition: adjusterwidget.hpp:19
void create()
Definition: newgame.cpp:64
static const struct @2 signals[]
FileWidget * mFileWidget
Definition: newgame.hpp:26
Definition: newgame.hpp:21
void createRequest(const boost::filesystem::path &file)
void reject()
Definition: newgame.cpp:69
NewGameDialogue()
Definition: newgame.cpp:12
void stateChanged(bool valid)
Definition: newgame.cpp:59
AdjusterWidget * mAdjusterWidget
Definition: newgame.hpp:27
Definition: filewidget.hpp:14
QPushButton * mCreate
Definition: newgame.hpp:25
void setLocalData(const boost::filesystem::path &localData)
Definition: newgame.cpp:54