Ignore SSL errors from the network reply
[situare] / src / ui / mainwindow.h
index 1ab9cb1..d07bbc7 100644 (file)
@@ -28,6 +28,7 @@
 #define MAINWINDOW_H
 
 #include <QtGui/QMainWindow>
+#include <QSslError>
 #include <QUrl>
 
 #include "network/networkcookiejar.h"
@@ -193,9 +194,12 @@ public slots:
     void setUsername(const QString &username);
 
     /**
-     * @brief Method to show panels
-     */
-    void showPanels();
+    * @brief Shows contact dialog.
+    *
+    * Shows contact dialog with contact's information.
+    * @param guid globally unique ID of a contact
+    */
+    void showContactDialog(const QString &guid);
 
     /**
      * @brief Public slot to intercept signal when old cerdentials are invalid or credentials
@@ -400,6 +404,11 @@ private slots:
     void settingsDialogAccepted();
 
     /**
+     * @brief Ignore SSL error from the reply
+     */
+    void sslErrors(QNetworkReply *reply, const QList<QSslError> &errors);
+
+    /**
      * @brief Start location search (open search dialog)
      */
     void startLocationSearch();
@@ -569,6 +578,13 @@ signals:
     void refreshUserData();
 
     /**
+    * @brief Requests contact dialog.
+    *
+    * @param facebookId contact's facebookId
+    */
+    void requestContactDialog(const QString &facebookId);
+
+    /**
      * @brief Signal for requesting reverseGeo from SituareEngine
      *
      */
@@ -615,6 +631,13 @@ signals:
     void searchForLocation(QString location);
 
     /**
+    * @brief Signal is emitted when search history item is clicked.
+    *
+    * @param searchString search string used
+    */
+    void searchHistoryItemClicked(const QString &searchString);
+
+    /**
      * @brief Signal for requestLocationUpdate from SituareEngine
      *
      * @param status Status message
@@ -685,6 +708,7 @@ private:
     QLabel *m_crosshair;                    ///< Label for center point crosshair
     QLabel *m_osmLicense;                   ///< Label for Open Street Map license
 
+    QList<int> m_situareTabsIndexes;        ///< List of Situare tab indexes
     QList<QDialog *> m_error_queue;         ///< QList type error dialog queue
     QList<QDialog *> m_queue;               ///< QList type dialog queue