summaryrefslogtreecommitdiffstats
blob: 8cd7762274f38b5d6eea3749504e175275912844 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * Copyright (c) 2018 Isode Limited.
 * All rights reserved.
 * See the COPYING file for more information.
 */

#pragma once

#include <QWidget>

#include <Swiften/JID/JID.h>

namespace Swift {
    class Chattables;
    class ChattablesModel;
    class QtChatOverview : public QWidget {
            Q_OBJECT
        public:
            QtChatOverview(Chattables&,  QWidget* parent);
            ~QtChatOverview() override;

        private slots:
            void handleItemClicked(JID jid);
        private:
            Chattables& chattables_;
            ChattablesModel* rootModel_;
    };
}