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);
-
- /**
- * @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
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
******************************************************************************/