aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/mockup/qmldesigner/designercore/include/itemlibraryinfo.h
blob: dd4a898fdc74805706c4abf50ec4a055601299a8 (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
29
30
31
32
33
34
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0

#pragma once

#include "qmldesignercorelib_global.h"

#include <QIcon>

namespace QmlDesigner {

class ItemLibraryEntry
{
public:
    QString name() const { return {}; }
    TypeName typeName() const { return {}; }
    QIcon typeIcon() const { return {}; }
    QString libraryEntryIconPath() const { return {}; }
};

class ItemLibraryInfo
{
public:
    QList<ItemLibraryEntry> entries() const { return {}; }
    QList<ItemLibraryEntry> entriesForType([[maybe_unused]] const QByteArray &typeName,
                                           [[maybe_unused]] int majorVersion,
                                           [[maybe_unused]] int minorVersion) const
    {
        return {};
    }
    ItemLibraryEntry entry([[maybe_unused]] const QString &name) const { return {}; }
};

} // namespace QmlDesigner