#include "network/networkcookiejar.h"
+class QDialog;
class QGraphicsScene;
class QLabel;
class QMessageBox;
class QToolButton;
class QWebView;
-class FacebookAuthentication;
class FacebookLoginBrowser;
class FriendListPanel;
class FullScreenButton;
* MEMBER FUNCTIONS AND SLOTS
******************************************************************************/
public:
+ void buildLoginDialog(FacebookLoginBrowser *browser);
+
/**
* @brief
*
const QString username();
public slots:
- void buildFacebookLoginBrowser();
-
- void destroyFacebookLoginBrowser();
-
/**
* @brief Builds information box with message.
*
*/
void buildInformationBox(const QString &message, bool modal=false);
+ void destroyLoginDialog();
+
/**
* @brief Slot for failed login
*/
*/
void loginActionPressed();
- void loginBrowserCreated(FacebookLoginBrowser *);
-
/**
* @brief MapView has been resized
*
QAction *m_loginAct; ///< Action to Login/Logout
QAction *m_toSettingsAct; ///< Action to trigger switch to settings dialog
+ QDialog *m_loginDialog; ///< Login dialog
+
QLabel *m_crosshair; ///< Label for center point crosshair
QLabel *m_osmLicense; ///< Label for Open Street Map license
QString m_email; ///< Placeholder for email
QString m_password; ///< Placeholder for password
- FacebookLoginBrowser *m_facebookLoginBrowser;
FriendListPanel *m_friendsListPanel; ///< Instance of friends list panel
FullScreenButton *m_fullScreenButton; ///< Instance of the fullscreen toggle button
IndicatorButtonPanel *m_indicatorButtonPanel; ///< Instance of direction indicator button