KListAction Class Reference
#include <kactionclasses.h>
Inheritance diagram for KListAction:

Public Slots | |
virtual void | setCurrentItem (int index) |
Public Member Functions | |
KListAction (const QString &text, const KShortcut &cut=KShortcut(), QObject *parent=0, const char *name=0) | |
KListAction (const QString &text, const KShortcut &cut, const QObject *receiver, const char *slot, QObject *parent, const char *name=0) | |
KListAction (const QString &text, const QIconSet &pix, const KShortcut &cut=KShortcut(), QObject *parent=0, const char *name=0) | |
KListAction (const QString &text, const QString &pix, const KShortcut &cut=KShortcut(), QObject *parent=0, const char *name=0) | |
KListAction (const QString &text, const QIconSet &pix, const KShortcut &cut, const QObject *receiver, const char *slot, QObject *parent, const char *name=0) | |
KListAction (const QString &text, const QString &pix, const KShortcut &cut, const QObject *receiver, const char *slot, QObject *parent, const char *name=0) | |
KListAction (QObject *parent=0, const char *name=0) | |
virtual | ~KListAction () |
virtual QString | currentText () const |
virtual int | currentItem () const |
Protected Member Functions | |
virtual void | virtual_hook (int id, void *data) |
Detailed Description
- Deprecated:
- Use KSelectAction instead.
Definition at line 568 of file kactionclasses.h.
Constructor & Destructor Documentation
|
Constructs a list action with text and potential keyboard accelerator but nothing else. Use this only if you really know what you are doing.
Definition at line 827 of file kactionclasses.cpp. |
|
Definition at line 834 of file kactionclasses.cpp. References KSelectAction::activated(). |
|
Definition at line 844 of file kactionclasses.cpp. |
|
Definition at line 852 of file kactionclasses.cpp. |
|
Definition at line 860 of file kactionclasses.cpp. References KSelectAction::activated(). |
|
Definition at line 871 of file kactionclasses.cpp. References KSelectAction::activated(). |
|
Definition at line 882 of file kactionclasses.cpp. |
|
Destructor.
Definition at line 888 of file kactionclasses.cpp. |
Member Function Documentation
|
Returns the text of the currently selected item.
Reimplemented from KSelectAction. Definition at line 903 of file kactionclasses.cpp. References currentItem(), and KSelectAction::items(). |
|
Returns the index of the current item.
Reimplemented from KSelectAction. Definition at line 911 of file kactionclasses.cpp. Referenced by currentText(). |
|
Sets the currently checked item.
Reimplemented from KSelectAction. Definition at line 893 of file kactionclasses.cpp. References KSelectAction::setCurrentItem(). |
The documentation for this class was generated from the following files: