bfb5067e56b805c0f33ee36e2b63d2bb2a34c07b
[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 #include "gpsfake.h"
9
10 class LatitudeGUI : public QMainWindow {
11     Q_OBJECT
12
13 signals:
14     void newpos();
15
16 public:
17     LatitudeGUI(QMainWindow *parent = 0);
18
19 private slots:
20     void get_loc();
21     void get_acwp();
22     void get_agnss();
23     void get_maemo5();
24     void set();
25     void set_OK();
26     void set_ERROR();
27     void save();
28     void show_map();
29     void show_lat();
30     void maps_login();
31
32 private:
33     GoogleLatitude *glatitude;
34     GpsMaemo5 *gps;
35     QSettings *setting;
36     QWebView *maps;
37     QWidget *location;
38     QUrl urllogin;
39
40     QLineEdit *login_user;
41     QLineEdit *login_pass;
42     QLineEdit *location_lat;
43     QLineEdit *location_lon;
44     QLineEdit *location_acc;
45
46     QLineEdit *status;
47 };
48
49 #endif // LATITUDE_H