lib

KColorAction Class Reference

#include <kcoloractions.h>

Inheritance diagram for KColorAction:

KAction List of all members.

Detailed Description

An action whose pixmap is automatically generated from a color.

It knows three types of pixmaps: text color, frame color and background color

Definition at line 29 of file kcoloractions.h.


Public Types

 TextColor
 FrameColor
 BackgroundColor
enum  Type { TextColor, FrameColor, BackgroundColor }

Public Member Functions

 KColorAction (const QString &text, int accel=0, QObject *parent=0, const char *name=0)
 KColorAction (const QString &text, int accel, QObject *receiver, const char *slot, QObject *parent, const char *name=0)
 KColorAction (QObject *parent=0, const char *name=0)
 KColorAction (const QString &text, Type type, int accel=0, QObject *parent=0, const char *name=0)
 KColorAction (const QString &text, Type type, int accel, QObject *receiver, const char *slot, QObject *parent, const char *name=0)
virtual void setColor (const QColor &c)
QColor color () const
virtual void setType (Type type)
Type type () const

The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys