one ConfigFile for all
This commit is contained in:
@@ -25,11 +25,12 @@
|
||||
#include <QtCore>
|
||||
#include <QtGui>
|
||||
|
||||
class ConfigFile;
|
||||
|
||||
class settingsDialogImpl: public QDialog, public Ui::settingsDialog {
|
||||
Q_OBJECT
|
||||
public:
|
||||
settingsDialogImpl(QWidget *parent = 0);
|
||||
settingsDialogImpl(QWidget *parent = 0, ConfigFile *c = 0);
|
||||
|
||||
void setPlayerNickIsChanged(bool theValue){ playerNickIsChanged = theValue;}
|
||||
bool getPlayerNickIsChanged() const{ return playerNickIsChanged;}
|
||||
@@ -53,6 +54,8 @@ private:
|
||||
|
||||
bool playerNickIsChanged;
|
||||
bool settingsCorrect;
|
||||
|
||||
ConfigFile* myConfig;
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user