The first "kind of" working version of the new panels
[situare] / src / ui / userinfopanel.h
index 02f2713..84f7440 100644 (file)
@@ -3,6 +3,7 @@
     Copyright (C) 2010  Ixonos Plc. Authors:
 
         Kaj Wallin - kaj.wallin@ixonos.com
+        Katri Kaikkonen - katri.kaikkonen@ixonos.com
 
     Situare is free software; you can redistribute it and/or
     modify it under the terms of the GNU General Public License
     USA.
  */
 
-
 #ifndef USERPANEL_H
 #define USERPANEL_H
 
 #include <QtGui>
+
 #include "../user/user.h"
-#include "sidepanel.h"
 
 class UserInfo;
 
@@ -35,7 +35,7 @@ class UserInfo;
 * @author Kaj Wallin - kaj.wallin (at) ixonos.com
 * @class UserInfoPanel
 */
-class UserInfoPanel : public SidePanel
+class UserInfoPanel : public QWidget
 {
     Q_OBJECT
 
@@ -67,16 +67,7 @@ signals:
     *
     * @param coordinates user geo coordinates
     */
-    void findUser(const QPointF &coordinates);
-
-    /**
-    * @brief Signal that informs that user's message/location failed to update on Situare server
-    *        This signal is originally sended from SituareService with name error
-    *        Signal is renamed on MainWindow
-    *
-    * @param error Error code
-    */
-    void messageSendingFailed(const int error);
+    void findUser(const GeoCoordinate &coordinates);
 
     /**
     * @brief Signal that used to inform user that his message/location update tp Situare server
@@ -115,10 +106,10 @@ signals:
     void statusUpdate(const QString &status, const bool &publish);
 
     /**
-    * @brief Signals when updateLocation request finished successfully
+    * @brief Signals when updateLocationDialog's data must be cleared
     *
     */
-    void updateWasSuccessful();
+    void clearUpdateLocationDialogData();
 /*******************************************************************************
  * DATA MEMBERS
  ******************************************************************************/