Enabled Gecko destroy on application close
[mozilla-central.git] / embedding / browser / qt / tests / mainwindow.h
blob54aa68aa3cb46554fecbbe0737e1ea85446a61ad
1 #ifndef MAINWINDOW_H
2 #define MAINWINDOW_H
4 #include <qmainwindow.h>
6 class QGeckoEmbed;
7 class QLineEdit;
9 class MyMainWindow : public QMainWindow
11 Q_OBJECT
12 public:
13 MyMainWindow();
15 public slots:
16 void fileOpen();
17 void startURIOpen(const QString &, bool &);
18 void changeLocation();
19 void goBack();
20 void goForward();
21 void stop();
22 void mainQuit();
24 public:
25 QGeckoEmbed *qecko;
27 private slots:
28 void slotProgress(int, int);
29 void slotProgress(const QString &, int, int);
31 private:
32 QLineEdit *location;
35 #endif