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;
* @author Kaj Wallin - kaj.wallin (at) ixonos.com
* @class UserInfoPanel
*/
-class UserInfoPanel : public SidePanel
+class UserInfoPanel : public QWidget
{
Q_OBJECT
*
* @param coordinates user geo coordinates
*/
- void findUser(const QPointF &coordinates);
+ void findUser(const GeoCoordinate &coordinates);
+
+ /**
+ * @brief Signal that used to inform user that his message/location update tp Situare server
+ * was failed.
+ * This signal is originally sended from UserInfo
+ * @param message message for notification
+ * @param modal true if modal notification otherwice false
+ */
+ void notificateUpdateFailing(const QString &message, bool modal);
/**
* @brief Signal for refreshing user data.
* @param publish Publish on Facebook
*/
void statusUpdate(const QString &status, const bool &publish);
- void messageUpdatedToSituare();
+ /**
+ * @brief Signals when updateLocationDialog's data must be cleared
+ *
+ */
+ void clearUpdateLocationDialogData();
/*******************************************************************************
* DATA MEMBERS
******************************************************************************/