Cavoke  1.1.0
A Platform for creating and hosting multiplayer turn-based board games
Loading...
Searching...
No Matches
CavokeQmlGameModel Class Reference
Inheritance diagram for CavokeQmlGameModel:
[legend]

Public Slots

void getMoveFromQml (const QString &jsonMove)
 
void getUpdateFromNetwork (const QString &jsonUpdate)
 
void getClosingFromQml (QQuickCloseEvent *close)
 

Signals

void receiveUpdate (QString jsonUpdate)
 
void sendMoveToNetwork (const QString &jsonMove)
 
void closingQml ()
 

Public Member Functions

 CavokeQmlGameModel (QUrl qmlPath, QObject *parent=nullptr)
 

Public Attributes

QUrl qmlPath
 

Detailed Description

Definition at line 10 of file cavokeqmlgamemodel.h.

Constructor & Destructor Documentation

◆ CavokeQmlGameModel()

CavokeQmlGameModel::CavokeQmlGameModel ( QUrl  qmlPath,
QObject *  parent = nullptr 
)
explicit

Definition at line 4 of file cavokeqmlgamemodel.cpp.

Member Function Documentation

◆ getClosingFromQml

void CavokeQmlGameModel::getClosingFromQml ( QQuickCloseEvent *  close)
slot

Definition at line 19 of file cavokeqmlgamemodel.cpp.

◆ getMoveFromQml

void CavokeQmlGameModel::getMoveFromQml ( const QString &  jsonMove)
slot

Definition at line 8 of file cavokeqmlgamemodel.cpp.

◆ getUpdateFromNetwork

void CavokeQmlGameModel::getUpdateFromNetwork ( const QString &  jsonUpdate)
slot

Definition at line 14 of file cavokeqmlgamemodel.cpp.

Member Data Documentation

◆ qmlPath

QUrl CavokeQmlGameModel::qmlPath

Definition at line 27 of file cavokeqmlgamemodel.h.


The documentation for this class was generated from the following files: