equal
deleted
inserted
replaced
20 static void exposeToQML(); |
20 static void exposeToQML(); |
21 Q_INVOKABLE void getPreview(); |
21 Q_INVOKABLE void getPreview(); |
22 Q_INVOKABLE void runQuickGame(); |
22 Q_INVOKABLE void runQuickGame(); |
23 Q_INVOKABLE QString currentSeed(); |
23 Q_INVOKABLE QString currentSeed(); |
24 Q_INVOKABLE void getTeamsList(); |
24 Q_INVOKABLE void getTeamsList(); |
25 |
25 |
|
26 Q_INVOKABLE void tryAddTeam(const QString & teamName); |
|
27 Q_INVOKABLE void tryRemoveTeam(const QString & teamName); |
|
28 |
26 signals: |
29 signals: |
27 void previewImageChanged(); |
30 void previewImageChanged(); |
28 void localTeamAdded(const QString & teamName, int aiLevel); |
31 void localTeamAdded(const QString & teamName, int aiLevel); |
29 |
32 void localTeamRemoved(const QString & teamName); |
|
33 |
|
34 void playingTeamAdded(const QString & teamName, int aiLevel, bool isLocal); |
|
35 void playingTeamRemoved(const QString & teamName); |
|
36 |
30 public slots: |
37 public slots: |
31 |
38 |
32 private: |
39 private: |
33 QQmlEngine * m_engine; |
40 QQmlEngine * m_engine; |
34 |
41 |