qmlFrontend/hwengine.h
branchqmlfrontend
changeset 10452 03519fd9f98d
parent 10450 bf9e30b4ef9b
child 10456 6fd99bb73524
equal deleted inserted replaced
10450:bf9e30b4ef9b 10452:03519fd9f98d
    25     Q_INVOKABLE void getTeamsList();
    25     Q_INVOKABLE void getTeamsList();
    26     Q_INVOKABLE void resetGameConfig();
    26     Q_INVOKABLE void resetGameConfig();
    27 
    27 
    28     Q_INVOKABLE void tryAddTeam(const QString & teamName);
    28     Q_INVOKABLE void tryAddTeam(const QString & teamName);
    29     Q_INVOKABLE void tryRemoveTeam(const QString & teamName);
    29     Q_INVOKABLE void tryRemoveTeam(const QString & teamName);
       
    30     Q_INVOKABLE void changeTeamColor(const QString & teamName, int dir);
    30 
    31 
    31 signals:
    32 signals:
    32     void previewImageChanged();
    33     void previewImageChanged();
    33     void localTeamAdded(const QString & teamName, int aiLevel);
    34     void localTeamAdded(const QString & teamName, int aiLevel);
    34     void localTeamRemoved(const QString & teamName);
    35     void localTeamRemoved(const QString & teamName);
    35 
    36 
    36     void playingTeamAdded(const QString & teamName, int aiLevel, bool isLocal);
    37     void playingTeamAdded(const QString & teamName, int aiLevel, bool isLocal);
    37     void playingTeamRemoved(const QString & teamName);
    38     void playingTeamRemoved(const QString & teamName);
       
    39 
       
    40     void teamColorChanged(const QString & teamName, const QString & colorValue);
    38 
    41 
    39 public slots:
    42 public slots:
    40 
    43 
    41 private:
    44 private:
    42     QQmlEngine * m_engine;
    45     QQmlEngine * m_engine;