mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
* Fix local variable double declaration. Took 44 seconds * Mark functions as [[nodiscard]] Took 31 minutes --------- Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
34 lines
726 B
C++
34 lines
726 B
C++
/**
|
|
* @file dlg_load_remote_deck.h
|
|
* @ingroup RemoteDeckStorageDialogs
|
|
* @ingroup Lobby
|
|
* @brief TODO: Document this.
|
|
*/
|
|
|
|
#ifndef DLG_STARTGAME_H
|
|
#define DLG_STARTGAME_H
|
|
|
|
#include <QDialog>
|
|
|
|
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
|