summaryrefslogtreecommitdiff
path: root/src/location/places/qplacecontent.h
diff options
context:
space:
mode:
authorabcd <qt-info@nokia.com>2011-10-11 17:31:43 +1000
committerQt by Nokia <qt-info@nokia.com>2011-10-12 09:42:00 +0200
commit51bc2527eb58d9dbf4127e23acdd07fa042272b0 (patch)
tree9a5f63f4f9f199b283a4160e888bbf33d05b17d9 /src/location/places/qplacecontent.h
parenta7b9ec3979d86c38d875451015e2169230972b98 (diff)
downloadqtlocation-51bc2527eb58d9dbf4127e23acdd07fa042272b0.tar.gz
Add a user class
Change-Id: I28993ed7d7cd1ba08c850a558c2bcd2f6fb2bf63 Reviewed-on: http://codereview.qt-project.org/6482 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
Diffstat (limited to 'src/location/places/qplacecontent.h')
-rw-r--r--src/location/places/qplacecontent.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/location/places/qplacecontent.h b/src/location/places/qplacecontent.h
index 567d4467..7b933d56 100644
--- a/src/location/places/qplacecontent.h
+++ b/src/location/places/qplacecontent.h
@@ -59,6 +59,7 @@ QT_MODULE(Location)
#define Q_DECLARE_CONTENT_COPY_CTOR(Class) \
Class(const QPlaceContent &other);
+class QPlaceUser;
class QPlaceSupplier;
class QPlaceContentPrivate;
class Q_LOCATION_EXPORT QPlaceContent
@@ -90,10 +91,8 @@ public:
QUrl sourceUrl() const;
void setSourceUrl(const QUrl &url);
- QString userId() const;
- void setUserId(const QString &id);
- QString userName() const;
- void setUserName(const QString &name);
+ QPlaceUser user() const;
+ void setUser(const QPlaceUser &user);
protected:
explicit QPlaceContent(QPlaceContentPrivate *d);