AUTO_PROPERTY finished
This commit is contained in:
parent
63ffa4a212
commit
16e887dcf0
34 changed files with 510 additions and 3156 deletions
|
@ -2,7 +2,6 @@
|
|||
#define SERVER_LIST_LOGIC_H
|
||||
|
||||
#include "PageLogicBase.h"
|
||||
#include "../serversmodel.h"
|
||||
|
||||
class UiLogic;
|
||||
|
||||
|
@ -10,11 +9,10 @@ class ServerListLogic : public PageLogicBase
|
|||
{
|
||||
Q_OBJECT
|
||||
|
||||
READONLY_PROPERTY(QObject *, serverListModel)
|
||||
|
||||
public:
|
||||
Q_INVOKABLE void updateServersListPage();
|
||||
|
||||
Q_PROPERTY(QObject* serverListModel READ getServerListModel CONSTANT)
|
||||
|
||||
Q_INVOKABLE void onServerListPushbuttonDefaultClicked(int index);
|
||||
Q_INVOKABLE void onServerListPushbuttonSettingsClicked(int index);
|
||||
|
||||
|
@ -22,20 +20,5 @@ public:
|
|||
explicit ServerListLogic(UiLogic *uiLogic, QObject *parent = nullptr);
|
||||
~ServerListLogic() = default;
|
||||
|
||||
QObject* getServerListModel() const;
|
||||
|
||||
|
||||
signals:
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
private slots:
|
||||
|
||||
|
||||
private:
|
||||
ServersModel* m_serverListModel;
|
||||
|
||||
};
|
||||
#endif // SERVER_LIST_LOGIC_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue