[KLF Application][KLF Tools][KLF Backend][KLF Home]
KLatexFormula Project
Public Slots | Signals | Public Member Functions | Public Attributes | Properties | List of all members
KLFColorList Class Reference

#include <klfcolorchooser_p.h>

Inheritance diagram for KLFColorList:
Inheritance graph
[legend]
Collaboration diagram for KLFColorList:
Collaboration graph
[legend]

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 Member Functions inherited from QObject
 QObject (QObject *parent=0)
 
 blockSignals (bool block)
 
 childEvent (QChildEvent *event)
 
 children ()
 
 connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type=Qt::AutoCompatConnection)
 
 connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type=Qt::AutoCompatConnection)
 
 connectNotify (const char *signal)
 
 customEvent (QEvent *event)
 
 deleteLater ()
 
 destroyed (QObject *obj=0)
 
 disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
 disconnect (const char *signal=0, const QObject *receiver=0, const char *method=0)
 
 disconnect (const QObject *receiver, const char *method=0)
 
 disconnectNotify (const char *signal)
 
 dumpObjectInfo ()
 
 dumpObjectTree ()
 
 dynamicPropertyNames ()
 
 event (QEvent *e)
 
 eventFilter (QObject *watched, QEvent *event)
 
 findChild (const QString &name=QString()
 
 findChildren (const QString &name=QString()
 
 findChildren (const QRegExp &regExp)
 
 inherits (const char *className)
 
 installEventFilter (QObject *filterObj)
 
 isWidgetType ()
 
 killTimer (int id)
 
 metaObject ()
 
 moveToThread (QThread *targetThread)
 
 parent ()
 
 property (const char *name)
 
 receivers (const char *signal)
 
 removeEventFilter (QObject *obj)
 
 sender ()
 
 setParent (QObject *parent)
 
 setProperty (const char *name, const QVariant &value)
 
 signalsBlocked ()
 
 startTimer (int interval)
 
 thread ()
 
 timerEvent (QTimerEvent *event)
 
 tr (const char *sourceText, const char *comment=0, int n=-1)
 
 trUtf8 (const char *sourceText, const char *comment=0, int n=-1)
 
 staticMetaObject
 
 QObject (QObject *parent, const char *name)
 
 checkConnectArgs (const char *signal, const QObject *object, const char *method)
 
 child (const char *objName, const char *inheritsClass=0, bool recursiveSearch=true)
 
 className ()
 
 insertChild (QObject *object)
 
 isA (const char *className)
 
 name ()
 
 name (const char *defaultName)
 
 normalizeSignalSlot (const char *signalSlot)
 
 removeChild (QObject *object)
 
 setName (const char *name)
 

Public Attributes

QList< QColorlist
 

Properties

int maxSize
 

Detailed Description

Definition at line 32 of file klfcolorchooser_p.h.

Constructor & Destructor Documentation

KLFColorList::KLFColorList ( int  maxsize)
inline

Definition at line 38 of file klfcolorchooser_p.h.

Member Function Documentation

void KLFColorList::addColor ( const QColor color)
slot
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 ( )
inlineslot
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)
inlineslot

Definition at line 48 of file klfcolorchooser_p.h.

Member Data Documentation

QList<QColor> KLFColorList::list

Property Documentation

int KLFColorList::maxSize
readwrite

Definition at line 36 of file klfcolorchooser_p.h.


The documentation for this class was generated from the following files:

Generated by doxygen 1.8.5