1 #ifndef DLG_STARTGAME_H 2 #define DLG_STARTGAME_H 3 4 #include <QDialog> 5 6 class RemoteDeckList_TreeWidget; 7 class QModelIndex; 8 class AbstractClient; 9 class QPushButton; 10 class QDialogButtonBox; 11 12 class DlgLoadRemoteDeck : public QDialog 13 { 14 Q_OBJECT 15 private: 16 AbstractClient *client; 17 RemoteDeckList_TreeWidget *dirView; 18 QDialogButtonBox *buttonBox; 19 private slots: 20 void currentItemChanged(const QModelIndex ¤t, const QModelIndex &previous); 21 22 public: 23 DlgLoadRemoteDeck(AbstractClient *_client, QWidget *parent = nullptr); 24 int getDeckId() const; 25 }; 26 27 #endif 28