aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/modelinglib/qmt/model_ui/modeltreeviewinterface.h
blob: ccbbbe3c22ef3ef56718a149c4400ea879e345f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (C) 2016 Jochen Becher
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#pragma once

#include <QList>

QT_BEGIN_NAMESPACE
class QModelIndex;
QT_END_NAMESPACE

namespace qmt {

class ModelTreeViewInterface
{
public:
    virtual ~ModelTreeViewInterface() { }

    virtual QModelIndex currentSourceModelIndex() const = 0;
    virtual QList<QModelIndex> selectedSourceModelIndexes() const = 0;
};

} // namespace qmt