diff options
author | Alex Zolotarev <deathbaba@gmail.com> | 2011-04-24 00:46:43 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:16:12 +0300 |
commit | 1c20e772a03de88e947e3bf7328973dd2cbf3149 (patch) | |
tree | ca47334032e1c7838e69460c62d7a28d361acf09 /qt/mainwindow.hpp | |
parent | f38bfeb80e2168a514d32cb00d42219cf0b70e85 (diff) |
Refactored gps location system:
- Moved all code to crossplatform framework
- OS-dependent location services are implemented in platform
- Added my position button to desktops
Diffstat (limited to 'qt/mainwindow.hpp')
-rw-r--r-- | qt/mainwindow.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qt/mainwindow.hpp b/qt/mainwindow.hpp index 1d20e99c0b..4c7ba1d4d9 100644 --- a/qt/mainwindow.hpp +++ b/qt/mainwindow.hpp @@ -16,6 +16,7 @@ namespace qt class MainWindow : public QMainWindow { + QAction * m_pMyPosition; DrawWidget * m_pDrawWidget; QDockWidget * m_Docks[2]; //FindTableWnd * m_pFindTable; @@ -34,6 +35,9 @@ namespace qt void SaveState(); void LoadState(); + private: + void OnLocationFound(); + protected: void CreatePanelImpl(size_t i, QString const & name, QKeySequence const & hotkey, char const * slot); @@ -56,6 +60,7 @@ namespace qt void ShowGuidePanel(); void OnAbout(); void OnPreferences(); + void OnMyPosition(); }; } |