Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Zolotarev <deathbaba@gmail.com>2011-04-24 00:46:43 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:16:12 +0300
commit1c20e772a03de88e947e3bf7328973dd2cbf3149 (patch)
treeca47334032e1c7838e69460c62d7a28d361acf09 /qt/mainwindow.hpp
parentf38bfeb80e2168a514d32cb00d42219cf0b70e85 (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.hpp5
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();
};
}