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