amnezia-client/client/ui/pages_logic/ServerListLogic.h
Pokamest Nikak 6516a84986 refact fixes
2021-09-08 14:23:02 +03:00

24 lines
558 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 updatePage() 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