aboutsummaryrefslogtreecommitdiff
path: root/room.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2016-09-14 08:06:14 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2016-09-14 10:07:50 +0900
commitcf10a4e9e6bcfa7932f166b251563b990f0dd61e (patch)
treec94de1ca9fadc60ab80c67a0ccd4d35b9496a8d8 /room.cpp
parentb3ffe9195f1b018a8c8b7503ee4687d978ea4eab (diff)
downloadlibquotient-cf10a4e9e6bcfa7932f166b251563b990f0dd61e.tar.gz
libquotient-cf10a4e9e6bcfa7932f166b251563b990f0dd61e.zip
Room::messageEvents: switch to an alias instead of explicit QList<>
To facilitate a possible change of a container type.
Diffstat (limited to 'room.cpp')
-rw-r--r--room.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/room.cpp b/room.cpp
index 6f78b6c2..56b300b0 100644
--- a/room.cpp
+++ b/room.cpp
@@ -60,7 +60,7 @@ class Room::Private
void updateDisplayname();
Connection* connection;
- QList<Event*> messageEvents;
+ Timeline messageEvents;
QString id;
QStringList aliases;
QString canonicalAlias;
@@ -120,7 +120,7 @@ QString Room::id() const
return d->id;
}
-QList< Event* > Room::messageEvents() const
+Room::Timeline Room::messageEvents() const
{
return d->messageEvents;
}