diff --git a/libs/widgets/KisPaletteListWidget.h b/libs/widgets/KisPaletteListWidget.h index 482caf3b88..ffd5e76995 100644 --- a/libs/widgets/KisPaletteListWidget.h +++ b/libs/widgets/KisPaletteListWidget.h @@ -1,68 +1,68 @@ /* * Copyright (c) 2013 Sven Langkamp * Copyright (c) 2018 Michael Zhou * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef KISPALETTELISTWIDGET_H #define KISPALETTELISTWIDGET_H #include #include #include #include "kritawidgets_export.h" class KoResource; class KoColorSet; -class KisPaletteListWidgetPrivate; +struct KisPaletteListWidgetPrivate; class KRITAWIDGETS_EXPORT KisPaletteListWidget : public QWidget { Q_OBJECT public: explicit KisPaletteListWidget(QWidget *parent = nullptr); virtual ~KisPaletteListWidget(); public: void setAllowModification(bool allowModification); Q_SIGNALS: void sigPaletteSelected(KoColorSet*); void sigAddPalette(); void sigRemovePalette(KoColorSet *); void sigImportPalette(); void sigExportPalette(KoColorSet *); public Q_SLOTS: private /* methods */: QString newPaletteFileName(); private Q_SLOTS: void slotPaletteResourceSelected(KoResource *); void slotAdd(); void slotRemove(); void slotImport(); void slotExport(); private: QScopedPointer m_ui; QScopedPointer m_d; }; #endif // KISPALETTELISTWIDGET_H