diff options
author | abcd <amos.choy@nokia.com> | 2011-11-04 12:07:04 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-04 04:05:24 +0100 |
commit | 0813d9df572f7b2b6bee81a28276b5a569712bdb (patch) | |
tree | 5923f54da9169a749bbbf05fdd9f0c3f8dcd730f /src/location/places/qplaceeditorial_p.h | |
parent | 89c7335216f0bd28aade700a0fe0fb4daa1b57b3 (diff) | |
download | qtlocation-0813d9df572f7b2b6bee81a28276b5a569712bdb.tar.gz |
Rename Review::content and Editorial::content to ::text
There already exists a content object so ::content() it is
not appropriate. ::description() is unintuitive.
::text() is more natural. Note that the text could either be plain
text or rich text.
QLabel and QTextEdit have a setText() function and the text format
is automatically detected. This makes using ::text() a natural fit.
Change-Id: I77719202d0b210ae75a91d6867c3411c9c5ec51c
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
Diffstat (limited to 'src/location/places/qplaceeditorial_p.h')
-rw-r--r-- | src/location/places/qplaceeditorial_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location/places/qplaceeditorial_p.h b/src/location/places/qplaceeditorial_p.h index 6aeee4c1..4a5243ed 100644 --- a/src/location/places/qplaceeditorial_p.h +++ b/src/location/places/qplaceeditorial_p.h @@ -61,7 +61,7 @@ public: Q_DEFINE_CONTENT_PRIVATE_HELPER(QPlaceEditorial, QPlaceContent::EditorialType) - QString content; + QString text; QString contentTitle; QString language; }; |