2225a64616ed3dab7af30f7b85a88c5c7a980b30
[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_cell();
20     void get_gps();
21     void set();
22     void set_OK();
23     void set_ERROR();
24     void save();
25     void show_map();
26     void show_lat();
27     void maps_login();
28
29 private:
30     GoogleLatitude *glatitude;
31     QSettings *setting;
32     QWebView *maps;
33     QWidget *location;
34     QUrl urllogin;
35
36     QLineEdit *login_user;
37     QLineEdit *login_pass;
38     QLineEdit *location_lat;
39     QLineEdit *location_lon;
40     QLineEdit *location_acc;
41
42     QLineEdit *status;
43 };
44
45 #endif // LATITUDE_H