Added userinfo
[situare] / src / ui / userpanel.h
index a8e42f6..06db4f8 100644 (file)
 #define USERPANEL_H
 
 #include <QtGui>
+#include "../user/user.h"
 
 class PanelSliderBar;
+class UserInfo;
 
 /**
 * @brief Class for sliding user information panel
@@ -49,6 +51,8 @@ public:
  * MEMBER FUNCTIONS AND SLOTS
  ******************************************************************************/
 public slots:
+
+    void userDataReceived(User *user);
     /**
     * @brief Slot to redraw the panel after window resize event
     *
@@ -69,5 +73,6 @@ private:
     QState *m_userPanelStateOpened; ///< State of the opened panel
     QSignalTransition *m_userPanelTransitionClose; ///< Transition signal for closing the panel
     QSignalTransition *m_userPanelTransitionOpen; ///< Transition signal for opening the panel
+    UserInfo *m_userInfo;
 };
 #endif // USERPANEL_H