class User;
class UserInfoPanel;
class ZoomButtonPanel;
+class SettingsDialog;
/**
* @brief Main Window Class
/*******************************************************************************
* MEMBER FUNCTIONS AND SLOTS
******************************************************************************/
-public:
+public:
/**
* @brief
*
void centerToSceneCoordinates(QPoint sceneCoordinate);
/**
+ * @brief Signal for enabling automatic location update.
+ *
+ * @param enabled true if enabled, false otherwise
+ * @param updateIntervalMsecs update interval in milliseconds
+ */
+ void enableAutomaticLocationUpdate(bool enabled, int updateIntervalMsecs);
+
+ /**
* @brief Signal for requesting username from settings
*
*/
void friendsLocationsReady(QList<User *> &friendsList);
/**
+ * @brief Signal is emitted when location item is clicked.
+ *
+ * @param userIDs list of friends user IDs in the group
+ */
+ void locationItemClicked(const QList<QString> &userIDs);
+
+ /**
* @brief Signals when Login/Logout action is pressed
*
*/
- void loginPressed();
+ void loginActionPressed();
/**
* @brief MapView has been resized
PanelSideBar *m_friendsListPanelSidebar;///< Friends panel side bar
UserInfoPanel *m_userPanel; ///< Instance of the user information panel
ZoomButtonPanel *m_zoomButtonPanel; ///< Instance of zoom button panel
+
+ SettingsDialog *m_settingsDialog; ///< Settings dialog
};
#endif // MAINWINDOW_H