lib Library API Documentation

KColorAction Class Reference

An action whose pixmap is automatically generated from a color. More...

#include <kcoloractions.h>

List of all members.

Public Types

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


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.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for lib Library Version 1.3.3.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Sep 24 18:22:30 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003