File indexing completed on 2024-05-05 12:59:56
0001 // This file is part of Washi Pad 0002 // SPDX-FileCopyrightText: 2018 Kevin Ottens <ervin@kde.org> 0003 // SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0004 0005 #ifndef SKETCHSERIALIZER_H 0006 #define SKETCHSERIALIZER_H 0007 0008 #include <QObject> 0009 0010 class SketchModel; 0011 0012 class SketchSerializer : public QObject 0013 { 0014 Q_OBJECT 0015 public: 0016 using QObject::QObject; 0017 0018 Q_INVOKABLE static void serialize(SketchModel *model, const QSize &size, const QUrl &fileUrl); 0019 }; 0020 0021 #endif // SKETCHSERIALIZER_H