Ignore SSL errors from the network reply
[situare] / src / ui / mainwindow.h
index 5038dc8..d07bbc7 100644 (file)
@@ -28,6 +28,7 @@
 #define MAINWINDOW_H
 
 #include <QtGui/QMainWindow>
+#include <QSslError>
 #include <QUrl>
 
 #include "network/networkcookiejar.h"
@@ -193,6 +194,14 @@ public slots:
     void setUsername(const QString &username);
 
     /**
+    * @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
      *        doesn't exist yet
      */
@@ -395,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();
@@ -564,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
      *
      */