QTfrontend/gameuiconfig.h
changeset 555 0376fdcc6322
parent 529 812682c1ab62
child 603 d7877468653b
equal deleted inserted replaced
554:4f83b3de17c7 555:0376fdcc6322
    19 #ifndef GAMECONFIG_H
    19 #ifndef GAMECONFIG_H
    20 #define GAMECONFIG_H
    20 #define GAMECONFIG_H
    21 
    21 
    22 #include <QSettings>
    22 #include <QSettings>
    23 #include <QStringList>
    23 #include <QStringList>
       
    24 #include <QRect>
    24 
    25 
    25 class HWForm;
    26 class HWForm;
    26 class QSettings;
    27 class QSettings;
    27 
    28 
    28 class GameUIConfig : public QSettings
    29 class GameUIConfig : public QSettings
    30 	Q_OBJECT
    31 	Q_OBJECT
    31 
    32 
    32 public:
    33 public:
    33 	GameUIConfig(HWForm * FormWidgets, const QString & fileName);
    34 	GameUIConfig(HWForm * FormWidgets, const QString & fileName);
    34 	QStringList GetTeamsList();
    35 	QStringList GetTeamsList();
    35 	int vid_Resolution();
    36 	QRect vid_Resolution();
    36 	bool vid_Fullscreen();
    37 	bool vid_Fullscreen();
    37 	bool isSoundEnabled();
    38 	bool isSoundEnabled();
    38 	bool isShowFPSEnabled();
    39 	bool isShowFPSEnabled();
    39 	bool isAltDamageEnabled();
    40 	bool isAltDamageEnabled();
    40 	quint8 timerInterval();
    41 	quint8 timerInterval();