add interval config
[googlelatitude] / src / latitude.h
1 #ifndef LATITUDE_H
2 #define LATITUDE_H
3
4 #include <QtGui>
5 #include <QtWebKit>
6 #include "glatitude.h"
7 #include "gps.h"
8 #ifdef Q_WS_MAEMO_5
9 #include <QtMaemo5>
10 #endif
11
12 class LatitudeGUI : public QMainWindow {
13     Q_OBJECT
14
15 public:
16     LatitudeGUI(QMainWindow *parent = 0);
17
18 private slots:
19     void set();
20     void config();
21     void latitude_OK();
22     void latitude_ERROR();
23     void save_user(QString);
24     void save_pass(QString);
25     void save_freq(QString);
26     void maps_login();
27     void mode_buzz();
28     void mode_latitude();
29
30 private:
31     GoogleLatitude *glatitude;
32     GpsMaemo5 *gps;
33     QSettings *setting;
34     QWebView *maps;
35     QUrl url;
36 };
37
38 #endif // LATITUDE_H