summaryrefslogtreecommitdiffstats
blob: bd625aa6d08f545ce3e8d336ba6a167f58fe1828 (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
/*
 * Copyright (c) 2018 Isode Limited.
 * All rights reserved.
 * See the COPYING file for more information.
 */

#pragma once

#include <memory>

#include <QListView>

#include <Swift/QtUI/ServerList/ServerListDelegate.h>

namespace Swift {
    class QtServerListView : public QListView {
        Q_OBJECT
        public:
            QtServerListView();
            virtual ~QtServerListView();
        private:
            std::unique_ptr<ServerListDelegate> delegate_;
            static const int widgetWidth = 82;
    };
}