knode
KNode::AppearanceWidget::ColorListItem Class Reference
#include <knconfigwidgets.h>
Inheritance diagram for KNode::AppearanceWidget::ColorListItem:
Public Member Functions | |
ColorListItem (const QString &text, const QColor &color=Qt::black, QListWidget *parent=0) | |
const QColor & | color () |
void | setColor (const QColor &color) |
Detailed Description
Color list view item.
Definition at line 166 of file knconfigwidgets.h.
Constructor & Destructor Documentation
|
explicit |
Create a new color list view item.
- Parameters
-
text The item text. color The item color. parent The list widget this item is shown in.
Definition at line 349 of file knconfigwidgets.cpp.
Member Function Documentation
|
inline |
Returns the current color.
Definition at line 176 of file knconfigwidgets.h.
void KNode::AppearanceWidget::ColorListItem::setColor | ( | const QColor & | color | ) |
Sets the current color.
Definition at line 356 of file knconfigwidgets.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:37 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:37 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.