#include "qkde_p.h"
#include <QtCore/QLibrary>
#include <QtCore/QDir>
#include <QtCore/qdebug.h>
#include <QtCore/QSettings>
#include "QtGui/qstylefactory.h"
#include "qt_x11_p.h"
Go to the source code of this file.
◆ kdeColor()
- Warning
- This function is not part of the public interface. Reads the color from the config, and store it in the palette with the given color role if found
Definition at line 78 of file qkde.cpp.
Referenced by QKde::kdePalette().
85 if (values.
size() == 3) {
86 int r = values[0].toInt();
87 int g = values[1].toInt();
88 int b = values[2].toInt();
The QVariant class acts like a union for the most common Qt data types.
The QColor class provides colors based on RGB, HSV or CMYK values.
QVariant value(const QString &key, const QVariant &defaultValue=QVariant()) const
Returns the value for setting key.
QStringList toStringList() const
Returns the variant as a QStringList if the variant has type() StringList, String ...
void setBrush(ColorRole cr, const QBrush &brush)
Sets the brush for the given color role to the specified brush for all groups in the palette...
The QStringList class provides a list of strings.
int size() const
Returns the number of items in the list.
bool isValid() const
Returns true if the storage type of this variant is not QVariant::Invalid; otherwise returns false...