#include <klfcolorchooser_p.h>
Public Slots | |
void | setMaxSize (int maxsize) |
void | addColor (const QColor &color) |
void | removeColor (const QColor &color) |
void | notifyListChanged () |
Signals | |
void | listChanged () |
Public Member Functions | |
KLFColorList (int maxsize) | |
int | maxSize () const |
Public Attributes | |
QList< QColor > | list |
Properties | |
int | maxSize |
Definition at line 32 of file klfcolorchooser_p.h.
KLFColorList::KLFColorList | ( | int | maxsize | ) | [inline] |
Definition at line 38 of file klfcolorchooser_p.h.
void KLFColorList::addColor | ( | const QColor & | color | ) | [slot] |
Definition at line 675 of file klfcolorchooser.cpp.
References QList::append(), QList::indexOf(), list, listChanged(), QList::pop_front(), QList::removeAt(), and QList::size().
Referenced by KLFColorChooser::setColor(), and KLFColorChooseWidget::setCurrentToCustomColor().
void KLFColorList::listChanged | ( | ) | [signal] |
Referenced by addColor(), and removeColor().
int KLFColorList::maxSize | ( | ) | const [inline] |
Definition at line 40 of file klfcolorchooser_p.h.
void KLFColorList::notifyListChanged | ( | ) | [inline, slot] |
Definition at line 51 of file klfcolorchooser_p.h.
Referenced by KLFColorChooseWidget::addRecentColor(), KLFColorChooser::setColorList(), and KLFColorChooseWidget::setRecentCustomColors().
void KLFColorList::removeColor | ( | const QColor & | color | ) | [slot] |
Definition at line 688 of file klfcolorchooser.cpp.
References QList::indexOf(), list, listChanged(), and QList::removeAt().
void KLFColorList::setMaxSize | ( | int | maxsize | ) | [inline, slot] |
Definition at line 48 of file klfcolorchooser_p.h.
Definition at line 42 of file klfcolorchooser_p.h.
Referenced by KLFColorChooser::_makemenu(), addColor(), KLFColorChooseWidget::addRecentColor(), KLFColorChooser::colorList(), KLFColorChooseWidget::customColors(), KLFColorChooseWidget::KLFColorChooseWidget(), KLFColorChooseWidget::recentColors(), removeColor(), KLFColorChooser::setColorList(), and KLFColorChooseWidget::setRecentCustomColors().
int KLFColorList::maxSize [read, write] |
Definition at line 36 of file klfcolorchooser_p.h.