aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--events/roomnameevent.cpp3
-rw-r--r--room.cpp2
-rw-r--r--room.h2
3 files changed, 4 insertions, 3 deletions
diff --git a/events/roomnameevent.cpp b/events/roomnameevent.cpp
index f4c31edf..c5bcf011 100644
--- a/events/roomnameevent.cpp
+++ b/events/roomnameevent.cpp
@@ -20,8 +20,9 @@
using namespace QMatrixClient;
-struct RoomNameEvent::Private
+class RoomNameEvent::Private
{
+public:
QString name;
};
diff --git a/room.cpp b/room.cpp
index 178ada27..e16835fa 100644
--- a/room.cpp
+++ b/room.cpp
@@ -86,7 +86,7 @@ QString Room::id() const
return d->id;
}
-QList< Event* > Room::messages() const
+QList< Event* > Room::messageEvents() const
{
return d->messageEvents;
}
diff --git a/room.h b/room.h
index 4c76a2e9..e5e357ee 100644
--- a/room.h
+++ b/room.h
@@ -41,7 +41,7 @@ namespace QMatrixClient
virtual ~Room();
QString id() const;
- QList<Event*> messages() const;
+ QList<Event*> messageEvents() const;
QString name() const;
QStringList aliases() const;
QString canonicalAlias() const;