24 lines
560 B
C++
24 lines
560 B
C++
#ifndef SERVER_LIST_LOGIC_H
|
|
#define SERVER_LIST_LOGIC_H
|
|
|
|
#include "PageLogicBase.h"
|
|
|
|
class UiLogic;
|
|
|
|
class ServerListLogic : public PageLogicBase
|
|
{
|
|
Q_OBJECT
|
|
|
|
READONLY_PROPERTY(QObject *, serverListModel)
|
|
|
|
public:
|
|
Q_INVOKABLE void onUpdatePage() override;
|
|
Q_INVOKABLE void onServerListPushbuttonDefaultClicked(int index);
|
|
Q_INVOKABLE void onServerListPushbuttonSettingsClicked(int index);
|
|
|
|
public:
|
|
explicit ServerListLogic(UiLogic *uiLogic, QObject *parent = nullptr);
|
|
~ServerListLogic() = default;
|
|
|
|
};
|
|
#endif // SERVER_LIST_LOGIC_H
|