20#ifndef kcoloractions_h
21#define kcoloractions_h
42 KColorAction( const TQString& text, int accel = 0, TQObject* parent = 0, const char* name = 0 );
43 KColorAction( const TQString& text, int accel,
44 TQObject* receiver, const char* slot, TQObject* parent, const char* name = 0 );
45 KColorAction( TQObject* parent = 0, const char* name = 0 );
48 KColorAction( const TQString& text, Type type, int accel = 0,
49 TQObject* parent = 0, const char* name = 0 );
50 KColorAction( const TQString& text, Type type, int accel,
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,
81 TDEActionCollection* parent, const char* name );
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;
TDEAction(const TQString &text, const TDEShortcut &cut, const TQObject *receiver, const char *slot, TDEActionCollection *parent, const char *name)
int accel() const TDE_DEPRECATED
virtual TQString text() const
|