#ifndef DLG_STARTGAME_H #define DLG_STARTGAME_H #include class QTreeView; class QPushButton; class CardDatabase; class DeckListModel; class DlgStartGame: public QDialog { Q_OBJECT public: DlgStartGame(CardDatabase *_db, QWidget *parent = 0); QStringList getDeckList() const; signals: void newDeckLoaded(const QStringList &cards); private slots: void actLoad(); private: CardDatabase *db; QTreeView *deckView; DeckListModel *deckModel; QPushButton *loadButton, *okButton; }; #endif