#include "network/networkcookiejar.h"
#include "panelsidebar.h"
-#include "notedata.h"
class QGraphicsScene;
class QLabel;
******************************************************************************/
public:
/**
+ * @brief Builds information box with message.
+ *
+ * @param message Information message
+ * @param modal Modal = true, non-modal false
+ */
+ void buildInformationBox(const QString &message, bool modal=false);
+
+ /**
* @brief Clears cookie jar
*
*/
void loggedIn(bool logged);
/**
- * @brief Queues information box with message.
- *
- * @param message Information message
- * @param modal Modal = true, non-modal false
- */
- void queueInformationBox(const QString &message, bool modal=false);
-
- /**
* @brief Enable / disable auto centering button.
*
* @param enabled true if shoud be enabled, false otherwise
* @brief Public slot to intercept signal when old cerdentials are invalid or credentials
* doesn't exist yet
*
- * @param url Login page url
*/
- void startLoginProcess(const QUrl &url);
+ void startLoginProcess();
/**
* @brief Toggle progress indicator.
void grabZoomKeys(bool grab);
/**
+ * @brief Queues dialog/information box
+ *
+ * @param dialog Dialog to be added into queue
+ */
+ void queueDialog(QDialog *dialog);
+
+ /**
* @brief Set own location crosshair visibility
*
* @param visible
private slots:
/**
+ * @brief Slot to intercept signal when dialog/information note is processed
+ *
+ * @param status Status of the dialog
+ */
+ void dialogFinished(int status);
+
+ /**
* @brief Slot for drawing the fullscreen toggle button
*
* @param size Size of the screen
void loadDone(bool done);
/**
- * @brief Slot to intercept signal when information note is processed
- *
- */
- void noteFinished();
-
- /**
* @brief Slot to save cookies to settings
*
*/
SettingsDialog *m_settingsDialog; ///< Settings dialog
- QList<NoteData *> m_queue; ///< List type queue for information boxes
+ QList<QDialog *> m_queue;
};
#endif // MAINWINDOW_H