QTfrontend/gameuiconfig.h
branchui-scaling
changeset 15283 c4fd2813b127
parent 13389 24b531dcebe7
parent 14961 575dbd7b5f43
child 15663 d92eeb468dad
equal deleted inserted replaced
13390:0135e64c6c66 15283:c4fd2813b127
    45         bool isSoundEnabled();
    45         bool isSoundEnabled();
    46         bool isFrontendSoundEnabled();
    46         bool isFrontendSoundEnabled();
    47         QString language();
    47         QString language();
    48         bool isMusicEnabled();
    48         bool isMusicEnabled();
    49         bool isFrontendMusicEnabled();
    49         bool isFrontendMusicEnabled();
       
    50         bool isAudioDampenEnabled();
    50         bool isShowFPSEnabled();
    51         bool isShowFPSEnabled();
    51         bool isAltDamageEnabled();
    52         bool isAltDamageEnabled();
    52         bool appendDateTimeToRecordName();
    53         bool appendDateTimeToRecordName();
    53         int chatSize();
    54         int chatSize();
    54         quint8 volume();
    55         quint8 volume();
    55         quint8 timerInterval();
    56         quint8 timerInterval();
    56         QString netNick();
    57         QString netNick();
       
    58         QString getRandomNick();
    57         QByteArray netPasswordHash();
    59         QByteArray netPasswordHash();
    58         int netPasswordLength();
    60         int netPasswordLength();
    59         void clearPasswordHash();
    61         void clearPasswordHash();
    60         void setPasswordHash(const QString & passwordhash);
    62         void setPasswordHash(const QString & passwordhash);
    61         QString passwordHash();
    63         QString passwordHash();
    64         QString tempHash();
    66         QString tempHash();
    65         void setNetPasswordLength(int passwordLength);
    67         void setNetPasswordLength(int passwordLength);
    66         bool isReducedQuality() const;
    68         bool isReducedQuality() const;
    67         bool isFrontendEffects() const;
    69         bool isFrontendEffects() const;
    68         bool isFrontendFullscreen() const;
    70         bool isFrontendFullscreen() const;
       
    71         quint16 zoom();
       
    72         bool isHolidaySillinessEnabled() const;
       
    73         int quickGameExperience() const;
       
    74         void setQuickGameExperience(int exp);
    69         void resizeToConfigValues();
    75         void resizeToConfigValues();
    70         quint32 stereoMode() const;
    76         quint32 stereoMode() const;
    71         void setValue(const QString & key, const QVariant & value);
    77         void setValue(const QString & key, const QVariant & value);
    72         QString bind(int bindID);
    78         QString bind(int bindID);
    73         void setBind(int bindID, QString & strbind);
    79         void setBind(int bindID, QString & strbind);
   100         bool eventFilter(QObject *object, QEvent *event);
   106         bool eventFilter(QObject *object, QEvent *event);
   101         QString temphash;
   107         QString temphash;
   102         QList<BindAction> m_binds;
   108         QList<BindAction> m_binds;
   103 
   109 
   104         void applyProxySettings();
   110         void applyProxySettings();
       
   111 
       
   112         QString cachedRandomNick;
   105 };
   113 };
   106 
   114 
   107 #endif
   115 #endif