File indexing completed on 2024-12-22 04:15:06
0001 /* 0002 * imagesplit.h -- Part of Krita 0003 * 0004 * SPDX-FileCopyrightText: 2004 Boudewijn Rempt (boud@valdyas.org) 0005 * SPDX-FileCopyrightText: 2011 Srikanth Tiyyagura <srikanth.tulasiram@gmail.com> 0006 * 0007 * SPDX-License-Identifier: GPL-2.0-or-later 0008 */ 0009 #ifndef IMAGESPLIT_H 0010 #define IMAGESPLIT_H 0011 0012 #include <QVariant> 0013 0014 #include <QUrl> 0015 #include <KisActionPlugin.h> 0016 0017 class Imagesplit : public KisActionPlugin 0018 { 0019 Q_OBJECT 0020 public: 0021 Imagesplit(QObject *parent, const QVariantList &); 0022 ~Imagesplit() override; 0023 0024 private Q_SLOTS: 0025 0026 void slotImagesplit(); 0027 bool saveAsImage(const QRect &imgSize, const QString &mimeType, const QString &url); 0028 }; 0029 0030 #endif // IMAGESPLIT_H