colorspaceconversion.h 1.36 KB
Newer Older
1
/*
2 3 4 5
 * colorspaceconversion.h -- Part of Krita
 *
 * Copyright (c) 2004 Boudewijn Rempt (boud@valdyas.org)
 *
6 7 8 9
 *  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.
10
 *
11 12 13 14
 *  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.
15
 *
16 17
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
18
 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 20 21 22 23 24 25
 */

#ifndef COLORSPACECONVERSION_H
#define COLORSPACECONVERSION_H

#include <kparts/plugin.h>

26
class KisView2;
27
class KisPainter;
28 29 30
/**
 * Dialog for converting between color models.
 */
31
class ColorSpaceConversion : public KParts::Plugin
32
{
33
    Q_OBJECT
34
public:
35
    ColorSpaceConversion(QObject *parent, const QStringList &);
36
    virtual ~ColorSpaceConversion();
37

38 39
private slots:

40 41
    void slotImgColorSpaceConversion();
    void slotLayerColorSpaceConversion();
42 43 44

private:

45
    KisView2 * m_view;
46
    KisPainter * m_painter;
47 48 49 50

};

#endif // COLORSPACECONVERSION_H