USA.
*/
-#include <QtGui>
-#include <QtWebKit>
+#include <QAction>
+#include <QApplication>
+#include <QMenuBar>
+#include <QMessageBox>
#include <QtAlgorithms>
+#include <QtWebKit>
+///< @todo sort
#include "facebookservice/facebookauthentication.h"
#include "map/mapcommon.h"
#include "map/mapview.h"
m_refresh(false),
m_progressIndicatorCount(0),
m_ownLocationCrosshair(0),
- m_email(),
+ m_email(), ///< @todo WTF?!?!?!?
m_password(),
m_webView(0),
m_fullScreenButton(0),
{
qDebug() << __PRETTY_FUNCTION__ << size.width() << "x" << size.height();
- if(m_fullScreenButton)
+ if (m_fullScreenButton) {
m_fullScreenButton->move(size.width() - m_fullScreenButton->size().width(),
size.height() - m_fullScreenButton->size().height());
+ }
}
void MainWindow::drawMapScale(const QSize &size)
const int LEFT_SCALE_MARGIN = 10;
const int BOTTOM_SCALE_MARGIN = 2;
-// qDebug() << __PRETTY_FUNCTION__ << size.width() << "x" << size.height();
m_mapScale->move(LEFT_SCALE_MARGIN,
size.height() - m_mapScale->size().height() - BOTTOM_SCALE_MARGIN);
{
qDebug() << __PRETTY_FUNCTION__;
+///< @todo check how this is called and can this method be removed
+
drawFullScreenButton(m_viewPortSize);
// if(m_loggedIn) {
{
qDebug() << __PRETTY_FUNCTION__;
+///< @todo can this be removed?
+
// if(!m_loggedIn) {
// m_friendsListPanel->closePanel();
// m_friendsListPanel->hide();