Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++
760 B
Raw Blame
/*
 * SPDX-FileCopyrightText: 2019 Agata Cacko <[email protected]>
 *
 *  SPDX-License-Identifier: GPL-2.0-or-later
 */
#ifndef KIS_TAG_MODEL_PROVIDER_H
#define KIS_TAG_MODEL_PROVIDER_H

#include <QObject>
#include <QAbstractTableModel>

#include <KisTag.h>
#include <KoResource.h>

#include "kritaresources_export.h"
#include "KisTagModel.h"
#include "KisTagResourceModel.h"

class KRITARESOURCES_EXPORT KisTagModelProvider : public QObject
{
    Q_OBJECT

public:

    KisTagModelProvider();
    ~KisTagModelProvider();

    static KisTagModel *tagModel(const QString& resourceType);
    static KisTagResourceModel *tagResourceModel(const QString& resourceType);

private:

    struct Private;
    Private* const d;

};

#endif // KIS_TAG_MODEL_PROVIDER_H