123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- #ifndef MAINWINDOW_H
- #define MAINWINDOW_H
- #include <QMainWindow>
- #include <QStringList>
- class BuyCatalog;
- class QPushButton;
- namespace Ui {
- class MainWindow;
- }
- class MainWindow : public QMainWindow
- {
- Q_OBJECT
- public:
- explicit MainWindow(QWidget *parent = 0);
- virtual ~MainWindow();
- void listPurchases();
- private slots:
- void playLevel();
- void catalogClosed();
- void mainWindowClose();
- void mainWindowResetPurchases();
- void mainWindowGotoStore();
- public:
- static QString getPurchaseDir();
- static QString getPurchaseUri(const QString& productID);
- private:
- //data
- QPushButton* getButton(QString& fname);
- QStringList purchasedContent;
- BuyCatalog* catalog;
-
- private:
- Ui::MainWindow *ui;
- };
- #endif // MAINWINDOW_H
|