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