summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/RoomList.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/include/RoomList.h b/include/RoomList.h

index 34067430..489083d1 100644 --- a/include/RoomList.h +++ b/include/RoomList.h
@@ -17,9 +17,9 @@ #pragma once -#include <QImage> +#include <QScrollArea> #include <QSharedPointer> -#include <QUrl> +#include <QVBoxLayout> #include <QWidget> #include "MatrixClient.h" @@ -27,11 +27,6 @@ #include "RoomState.h" #include "Sync.h" -namespace Ui -{ -class RoomList; -} - class RoomList : public QWidget { Q_OBJECT @@ -57,7 +52,10 @@ public slots: private: void calculateUnreadMessageCount(); - Ui::RoomList *ui; + QVBoxLayout *topLayout_; + QVBoxLayout *contentsLayout_; + QScrollArea *scrollArea_; + QWidget *scrollAreaContents_; QMap<QString, QSharedPointer<RoomInfoListItem>> rooms_;