Revert "Changed the old code to work as a daemon"
[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 signals:
16     void newpos();
17
18 public:
19     LatitudeGUI(QMainWindow *parent = 0);
20
21 private slots:
22     void set();
23     void latitude_OK();
24     void latitude_ERROR();
25     void save_user(QString);
26     void save_pass(QString);
27     void maps_login();
28     void mode_buzz();
29     void mode_latitude();
30
31 private:
32     GoogleLatitude *glatitude;
33     GpsMaemo5 *gps;
34     QSettings *setting;
35     QWebView *maps;
36     QUrl url;
37 };
38
39 #endif // LATITUDE_H