Krita Source Code Documentation
Loading...
Searching...
No Matches
KoMarkerCollection.h
Go to the documentation of this file.
1/* This file is part of the KDE project
2 SPDX-FileCopyrightText: 2011 Thorsten Zachmann <zachmann@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#ifndef KOMARKERCOLLECTION_H
8#define KOMARKERCOLLECTION_H
9
10#include "kritaflake_export.h"
11
12#include <QObject>
13#include <QList>
14#include <QMetaType>
15
16class KoMarker;
17#include <QDomDocument>
19
20class KRITAFLAKE_EXPORT KoMarkerCollection : public QObject
21{
22 Q_OBJECT
23public:
24 explicit KoMarkerCollection(QObject *parent = 0);
25 ~KoMarkerCollection() override;
26
28
40 KoMarker * addMarker(KoMarker *marker);
41
42 void loadMarkersFromFile(const QString &svgFile);
43
44private:
46 void loadDefaultMarkers();
47
48 class Private;
49 Private * const d;
50};
51
53
54#endif /* KOMARKERCOLLECTION_H */
QList< KoMarker * > markers() const
Q_DECLARE_METATYPE(KisPaintopLodLimitations)