Splashscreen ad support. Wait dialog for ad click/browser start.
[qtmads] / qtmadsexample / mainwindow.h
1 /*
2  * Copyright (c) 2009 Eetu Lehmusvuo.
3  */
4
5 #ifndef MAINWINDOW_H
6 #define MAINWINDOW_H
7
8 #include <QtGui/QMainWindow>
9
10 class QtmadsLabelAd;
11 class QGridLayout;
12
13 class MainWindow : public QMainWindow
14 {
15     Q_OBJECT
16
17 public:
18     MainWindow(QWidget *parent = 0);
19     ~MainWindow();
20
21     void init();
22
23 public slots:
24     void splashStopped();
25
26 private:
27     QWidget *widget;
28     QGridLayout *mainLayout;
29     QtmadsLabelAd *splashScreenAd;
30 };
31
32 #endif // MAINWINDOW_H