KDEUI
Go to the documentation of this file.
22#ifndef KDELIBS_KCOLORCOLLECTION_H
23#define KDELIBS_KCOLORCOLLECTION_H
27#include <QtGui/QColor>
28#include <QtCore/QList>
29#include <QtCore/QString>
30#include <QtCore/QStringList>
50 static QStringList installedCollections();
85 QString description()
const;
91 void setDescription(
const QString &desc);
103 void setName(
const QString &name);
119 Editable editable()
const;
125 void setEditable(Editable editable);
138 QColor color(
int index)
const;
146 int findColor(
const QColor &color)
const;
155 QString name(
int index)
const;
164 QString name(
const QColor &color)
const;
173 int addColor(
const QColor &newColor,
174 const QString &newColorName = QString());
185 int changeColor(
int index,
186 const QColor &newColor,
187 const QString &newColorName = QString());
198 int changeColor(
const QColor &oldColor,
199 const QColor &newColor,
200 const QString &newColorName = QString());
203 class KColorCollectionPrivate *d;
Class for handling color collections ("palettes").
Editable
Used to specify whether a collection may be edited.
@ No
Collection may not be edited.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by
doxygen 1.9.6 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.