20#ifndef kcoloractions_h
21#define kcoloractions_h
44 TQObject* receiver, const char* slot, TQObject* parent, const char* name = 0 );
45 KColorAction( TQObject* parent = 0, const char* name = 0 );
49 TQObject* parent = 0, const char* name = 0 );
51 TQObject* receiver, const char* slot, TQObject* parent, const char* name = 0 );
53 virtual void setColor( const TQColor &c );
54 TQColor color() const;
56 virtual void setType( Type type );
68class TDESelectColorAction : public TDEAction
79 TDESelectColorAction( const TQString& text, Type type,
80 const TQObject* receiver, const char* slot,
82 virtual ~TDESelectColorAction();
84 virtual int plug( TQWidget* w, int index = -1 );
86 TQColor color() const;
90 virtual void setColor( const TQColor &c );
91 virtual void setType( Type t );
94 void colorSelected( const TQColor& color );
97 TQString whatsThisWithIcon() const;
An action whose pixmap is automatically generated from a color.
int accel() const TDE_DEPRECATED
virtual TQString text() const
virtual int plug(TQWidget *widget, int index=-1)
|