#include <tdeactionclasses.h>

Public Slots | |
virtual void | setCurrentItem (int index) |
Public Member Functions | |
TDEListAction (const TQString &text, const TDEShortcut &cut=TDEShortcut(), TQObject *parent=0, const char *name=0) | |
TDEListAction (const TQString &text, const TDEShortcut &cut, const TQObject *receiver, const char *slot, TQObject *parent, const char *name=0) | |
TDEListAction (const TQString &text, const TQIconSet &pix, const TDEShortcut &cut=TDEShortcut(), TQObject *parent=0, const char *name=0) | |
TDEListAction (const TQString &text, const TQString &pix, const TDEShortcut &cut=TDEShortcut(), TQObject *parent=0, const char *name=0) | |
TDEListAction (const TQString &text, const TQIconSet &pix, const TDEShortcut &cut, const TQObject *receiver, const char *slot, TQObject *parent, const char *name=0) | |
TDEListAction (const TQString &text, const TQString &pix, const TDEShortcut &cut, const TQObject *receiver, const char *slot, TQObject *parent, const char *name=0) | |
TDEListAction (TQObject *parent=0, const char *name=0) | |
virtual | ~TDEListAction () |
virtual TQString | currentText () const |
virtual int | currentItem () const |
Protected Member Functions | |
virtual void | virtual_hook (int id, void *data) |
Detailed Description
Remove this class in KDE-4.0. It doesn't add _anything_ to TDESelectAction.
- Deprecated:
- Use TDESelectAction instead.
Definition at line 584 of file tdeactionclasses.h.
Constructor & Destructor Documentation
TDEListAction::TDEListAction | ( | const TQString & | text, |
const TDEShortcut & | cut = TDEShortcut() , |
||
TQObject * | parent = 0 , |
||
const char * | name = 0 |
||
) |
Constructs a list action with text and potential keyboard accelerator but nothing else.
Use this only if you really know what you are doing.
- Parameters:
-
text The text that will be displayed. cut The corresponding keyboard accelerator (shortcut). parent This action's parent. name An internal name for this action.
Definition at line 847 of file tdeactionclasses.cpp.
TDEListAction::TDEListAction | ( | const TQString & | text, |
const TDEShortcut & | cut, | ||
const TQObject * | receiver, | ||
const char * | slot, | ||
TQObject * | parent, | ||
const char * | name = 0 |
||
) |
- Parameters:
-
text The text that will be displayed. cut The corresponding keyboard accelerator (shortcut). receiver The SLOT's parent. slot The TQT_SLOT to invoke to execute this action. parent This action's parent. name An internal name for this action.
Definition at line 854 of file tdeactionclasses.cpp.
TDEListAction::TDEListAction | ( | const TQString & | text, |
const TQIconSet & | pix, | ||
const TDEShortcut & | cut = TDEShortcut() , |
||
TQObject * | parent = 0 , |
||
const char * | name = 0 |
||
) |
- Parameters:
-
text The text that will be displayed. pix The icons that go with this action. cut The corresponding keyboard accelerator (shortcut). parent This action's parent. name An internal name for this action.
Definition at line 864 of file tdeactionclasses.cpp.
TDEListAction::TDEListAction | ( | const TQString & | text, |
const TQString & | pix, | ||
const TDEShortcut & | cut = TDEShortcut() , |
||
TQObject * | parent = 0 , |
||
const char * | name = 0 |
||
) |
- Parameters:
-
text The text that will be displayed. pix The dynamically loaded icon that goes with this action. cut The corresponding keyboard accelerator (shortcut). parent This action's parent. name An internal name for this action.
Definition at line 872 of file tdeactionclasses.cpp.
TDEListAction::TDEListAction | ( | const TQString & | text, |
const TQIconSet & | pix, | ||
const TDEShortcut & | cut, | ||
const TQObject * | receiver, | ||
const char * | slot, | ||
TQObject * | parent, | ||
const char * | name = 0 |
||
) |
- Parameters:
-
text The text that will be displayed. pix The icons that go with this action. cut The corresponding keyboard accelerator (shortcut). receiver The SLOT's parent. slot The TQT_SLOT to invoke to execute this action. parent This action's parent. name An internal name for this action.
Definition at line 880 of file tdeactionclasses.cpp.
TDEListAction::TDEListAction | ( | const TQString & | text, |
const TQString & | pix, | ||
const TDEShortcut & | cut, | ||
const TQObject * | receiver, | ||
const char * | slot, | ||
TQObject * | parent, | ||
const char * | name = 0 |
||
) |
- Parameters:
-
text The text that will be displayed. pix The dynamically loaded icon that goes with this action. cut The corresponding keyboard accelerator (shortcut). receiver The SLOT's parent. slot The TQT_SLOT to invoke to execute this action. parent This action's parent. name An internal name for this action.
Definition at line 891 of file tdeactionclasses.cpp.
TDEListAction::TDEListAction | ( | TQObject * | parent = 0 , |
const char * | name = 0 |
||
) |
- Parameters:
-
parent This action's parent. name An internal name for this action.
Definition at line 902 of file tdeactionclasses.cpp.
TDEListAction::~TDEListAction | ( | ) | [virtual] |
Destructor.
Definition at line 908 of file tdeactionclasses.cpp.
Member Function Documentation
int TDEListAction::currentItem | ( | ) | const [virtual] |
Returns the index of the current item.
- See also:
- setCurrentItem
Reimplemented from TDESelectAction.
Definition at line 928 of file tdeactionclasses.cpp.
TQString TDEListAction::currentText | ( | ) | const [virtual] |
Returns the text of the currently selected item.
Reimplemented from TDESelectAction.
Definition at line 923 of file tdeactionclasses.cpp.
void TDEListAction::setCurrentItem | ( | int | index | ) | [virtual, slot] |
Sets the currently checked item.
- Parameters:
-
index Index of the item (remember the first item is zero).
Reimplemented from TDESelectAction.
Definition at line 913 of file tdeactionclasses.cpp.
The documentation for this class was generated from the following files: