one ConfigFile for all

This commit is contained in:
doitux
2007-05-13 13:32:06 +00:00
parent 8ad92920cc
commit 6d673793be
7 changed files with 111 additions and 113 deletions
@@ -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;
};