KoLineStyleAction Class Reference
#include <Kolinestyleaction.h>
Inheritance diagram for KoLineStyleAction:
Public Member Functions | |
| KoLineStyleAction (const TQString &text, const TQString &icon, TQObject *parent=0, const char *name=0) | |
| KoLineStyleAction (const TQString &text, const TQString &icon, const TQObject *receiver, const char *slot, TQObject *parent, const char *name=0) | |
Public Member Functions inherited from KoSelectAction | |
| KoSelectAction (const TQString &text, const TQString &icon, TQObject *parent=0, const char *name=0) | |
| KoSelectAction (const TQString &text, const TQString &icon, const TQObject *receiver, const char *slot, TQObject *parent, const char *name=0) | |
| TDEPopupMenu * | popupMenu () const |
| void | popup (const TQPoint &global) |
| virtual int | plug (TQWidget *widget, int index=-1) |
| virtual int | currentSelection () |
| void | setShowCurrentSelection (bool show) |
Public Member Functions inherited from TDEAction | |
| TDEAction (const TQString &text, const TDEShortcut &cut, const TQObject *receiver, const char *slot, TDEActionCollection *parent, const char *name) | |
| TDEAction (const TQString &text, const TQIconSet &pix, const TDEShortcut &cut, const TQObject *receiver, const char *slot, TDEActionCollection *parent, const char *name) | |
| TDEAction (const TQString &text, const TQString &pix, const TDEShortcut &cut, const TQObject *receiver, const char *slot, TDEActionCollection *parent, const char *name) | |
| TDEAction (const KGuiItem &item, const TDEShortcut &cut, const TQObject *receiver, const char *slot, TDEActionCollection *parent, const char *name) | |
| TDEAction (const TQString &text, const TDEShortcut &cut=TDEShortcut(), TQObject *parent=0, const char *name=0) | |
| TDEAction (const TQString &text, const TDEShortcut &cut, const TQObject *receiver, const char *slot, TQObject *parent, const char *name=0) | |
| TDEAction (const TQString &text, const TQIconSet &pix, const TDEShortcut &cut=TDEShortcut(), TQObject *parent=0, const char *name=0) | |
| TDEAction (const TQString &text, const TQString &pix, const TDEShortcut &cut=TDEShortcut(), TQObject *parent=0, const char *name=0) | |
| TDEAction (const TQString &text, const TQIconSet &pix, const TDEShortcut &cut, const TQObject *receiver, const char *slot, TQObject *parent, const char *name=0) | |
| TDEAction (const TQString &text, const TQString &pix, const TDEShortcut &cut, const TQObject *receiver, const char *slot, TQObject *parent, const char *name=0) | |
| TDEAction (TQObject *parent=0, const char *name=0) | |
| virtual void | plugAccel (TDEAccel *accel, bool configurable=true) TDE_DEPRECATED |
| virtual void | unplug (TQWidget *w) |
| virtual void | unplugAccel () TDE_DEPRECATED |
| virtual bool | isPlugged () const |
| bool | isPlugged (const TQWidget *container) const |
| virtual bool | isPlugged (const TQWidget *container, int id) const |
| virtual bool | isPlugged (const TQWidget *container, const TQWidget *_representative) const |
| uint | tdeaccelCount () const |
| virtual TQString | text () const |
| virtual const TDEShortcut & | shortcut () const |
| virtual const TDEShortcut & | shortcutDefault () const |
| virtual bool | isEnabled () const |
| virtual bool | isShortcutConfigurable () const |
| virtual TQString | whatsThis () const |
| virtual TQString | toolTip () const |
| virtual TQIconSet | iconSet (TDEIcon::Group group, int size=0) const |
| TQIconSet | iconSet () const |
| int | accel () const TDE_DEPRECATED |
| void | setAccel (int key) TDE_DEPRECATED |
| void | setStatusText (const TQString &text) |
| int | menuId (int i) |
Protected Member Functions | |
| void | createMenu () |
Protected Member Functions inherited from TDEAction | |
| const KGuiItem & | guiItem () const |
Additional Inherited Members | |
Public Types inherited from TDEAction | |
| enum | ActivationReason |
Public Slots inherited from KoSelectAction | |
| virtual void | setCurrentSelection (int index) |
Public Slots inherited from TDEAction | |
| virtual void | setText (const TQString &text) |
| virtual bool | setShortcut (const TDEShortcut &) |
| virtual void | setWhatsThis (const TQString &text) |
| virtual void | setToolTip (const TQString &) |
| virtual void | setIconSet (const TQIconSet &iconSet) |
| virtual void | setEnabled (bool enable) |
| void | setDisabled (bool disable) |
| virtual void | setShortcutConfigurable (bool) |
| virtual void | activate () |
Signals inherited from KoSelectAction | |
| void | selectionChanged (int) |
Signals inherited from TDEAction | |
| void | activated () |
| void | activated (TDEAction::ActivationReason reason, TQt::ButtonState state) |
Static Public Member Functions inherited from TDEAction | |
| static int | getToolButtonID () |
Protected Slots inherited from KoSelectAction | |
| virtual void | execute (int index) |
Protected Slots inherited from TDEAction | |
| void | slotPopupActivated () |
| void | slotButtonClicked (int, TQt::ButtonState state) |
Detailed Description
A line style selection action.
Definition at line 26 of file Kolinestyleaction.h.
Constructor & Destructor Documentation
◆ KoLineStyleAction() [1/2]
| KoLineStyleAction::KoLineStyleAction | ( | const TQString & | text, |
| const TQString & | icon, | ||
| TQObject * | parent = 0, |
||
| const char * | name = 0 |
||
| ) |
Constructs a KoLineStyleAction with a text and an icon.
- Parameters
-
text The text that will be displayed. icon The dynamically loaded icon that goes with this action. parent This action's parent. name An internal name for this action.
Definition at line 45 of file Kolinestyleaction.cpp.
◆ KoLineStyleAction() [2/2]
| KoLineStyleAction::KoLineStyleAction | ( | const TQString & | text, |
| const TQString & | icon, | ||
| const TQObject * | receiver, | ||
| const char * | slot, | ||
| TQObject * | parent, | ||
| const char * | name = 0 |
||
| ) |
Same as above, but it also connects a slot to the selectionChanged(int) signal.
- Parameters
-
text The text that will be displayed. icon The dynamically loaded icon that goes with this action. receiver The slot's parent. slot The slot to invoke when a selectionChanged(int) signal is emited. parent This action's parent. name An internal name for this action.
Definition at line 53 of file Kolinestyleaction.cpp.
◆ ~KoLineStyleAction()
| KoLineStyleAction::~KoLineStyleAction | ( | ) |
Definition at line 61 of file Kolinestyleaction.cpp.
Member Function Documentation
◆ createMenu()
|
protected |
Draws and adds each item of the menu.
Definition at line 66 of file Kolinestyleaction.cpp.
The documentation for this class was generated from the following files:

Public Member Functions inherited from