/** * @file dlg_load_remote_deck.h * @ingroup RemoteDeckStorageDialogs * @ingroup Lobby * @brief TODO: Document this. */ #ifndef DLG_STARTGAME_H #define DLG_STARTGAME_H #include class RemoteDeckList_TreeWidget; class QModelIndex; class AbstractClient; class QPushButton; class QDialogButtonBox; class DlgLoadRemoteDeck : public QDialog { Q_OBJECT private: AbstractClient *client; RemoteDeckList_TreeWidget *dirView; QDialogButtonBox *buttonBox; private slots: void currentItemChanged(const QModelIndex ¤t, const QModelIndex &previous); public: explicit DlgLoadRemoteDeck(AbstractClient *_client, QWidget *parent = nullptr); [[nodiscard]] int getDeckId() const; }; #endif