daemon mode and bugs fixes
[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 latitude_OK();
21     void latitude_ERROR();
22     void save_user(QString);
23     void save_pass(QString);
24     void maps_login();
25     void mode_buzz();
26     void mode_latitude();
27
28 private:
29     GoogleLatitude *glatitude;
30     GpsMaemo5 *gps;
31     QSettings *setting;
32     QWebView *maps;
33     QUrl url;
34 };
35
36 #endif // LATITUDE_H