.TH "KListAction" kde3 "11 Jun 2005" "Version Version 3.4.1" "kdeui Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KListAction \- 
.SH SYNOPSIS
.br
.PP
\fC#include <kactionclasses.h>\fP
.PP
Inherits \fBKSelectAction\fP.
.PP
Inherited by \fBKRecentFilesAction\fP.
.PP
.SS "Public Slots"

.in +1c
.ti -1c
.RI "virtual void \fBsetCurrentItem\fP (int index)"
.br
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKListAction\fP (const \fBQString\fP &text, const \fBKShortcut\fP &cut=\fBKShortcut\fP(), \fBQObject\fP *\fBparent\fP=0, const char *\fBname\fP=0)"
.br
.ti -1c
.RI "\fBKListAction\fP (const \fBQString\fP &text, const \fBKShortcut\fP &cut, const \fBQObject\fP *receiver, const char *slot, \fBQObject\fP *\fBparent\fP, const char *\fBname\fP=0)"
.br
.ti -1c
.RI "\fBKListAction\fP (const \fBQString\fP &text, const \fBQIconSet\fP &pix, const \fBKShortcut\fP &cut=\fBKShortcut\fP(), \fBQObject\fP *\fBparent\fP=0, const char *\fBname\fP=0)"
.br
.ti -1c
.RI "\fBKListAction\fP (const \fBQString\fP &text, const \fBQString\fP &pix, const \fBKShortcut\fP &cut=\fBKShortcut\fP(), \fBQObject\fP *\fBparent\fP=0, const char *\fBname\fP=0)"
.br
.ti -1c
.RI "\fBKListAction\fP (const \fBQString\fP &text, const \fBQIconSet\fP &pix, const \fBKShortcut\fP &cut, const \fBQObject\fP *receiver, const char *slot, \fBQObject\fP *\fBparent\fP, const char *\fBname\fP=0)"
.br
.ti -1c
.RI "\fBKListAction\fP (const \fBQString\fP &text, const \fBQString\fP &pix, const \fBKShortcut\fP &cut, const \fBQObject\fP *receiver, const char *slot, \fBQObject\fP *\fBparent\fP, const char *\fBname\fP=0)"
.br
.ti -1c
.RI "\fBKListAction\fP (\fBQObject\fP *\fBparent\fP=0, const char *\fBname\fP=0)"
.br
.ti -1c
.RI "virtual \fB~KListAction\fP ()"
.br
.ti -1c
.RI "virtual \fBQString\fP \fBcurrentText\fP () const "
.br
.ti -1c
.RI "virtual int \fBcurrentItem\fP () const "
.br
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "virtual void \fBvirtual_hook\fP (int id, void *data)"
.br
.in -1c
.SH "Detailed Description"
.PP 
\fBDeprecated\fP
.RS 4
Use \fBKSelectAction\fP instead. 
.RE
.PP

.PP
Definition at line 571 of file kactionclasses.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KListAction::KListAction (const \fBQString\fP & text, const \fBKShortcut\fP & cut = \fC\fBKShortcut\fP()\fP, \fBQObject\fP * parent = \fC0\fP, const char * name = \fC0\fP)"
.PP
Constructs a list action with text and potential keyboard accelerator but nothing else. 
.PP
Use this only if you really know what you are doing.
.PP
\fBParameters:\fP
.RS 4
\fItext\fP The text that will be displayed. 
.br
\fIcut\fP The corresponding keyboard accelerator (shortcut). 
.br
\fIparent\fP This action's parent. 
.br
\fIname\fP An internal name for this action. 
.RE
.PP

.PP
Definition at line 828 of file kactionclasses.cpp.
.SS "KListAction::KListAction (const \fBQString\fP & text, const \fBKShortcut\fP & cut, const \fBQObject\fP * receiver, const char * slot, \fBQObject\fP * parent, const char * name = \fC0\fP)"
.PP
\fBParameters:\fP
.RS 4
\fItext\fP The text that will be displayed. 
.br
\fIcut\fP The corresponding keyboard accelerator (shortcut). 
.br
\fIreceiver\fP The SLOT's parent. 
.br
\fIslot\fP The SLOT to invoke to execute this action. 
.br
\fIparent\fP This action's parent. 
.br
\fIname\fP An internal name for this action. 
.RE
.PP

.PP
Definition at line 835 of file kactionclasses.cpp.
.PP
References KAction::activated(), and QObject::connect().
.SS "KListAction::KListAction (const \fBQString\fP & text, const \fBQIconSet\fP & pix, const \fBKShortcut\fP & cut = \fC\fBKShortcut\fP()\fP, \fBQObject\fP * parent = \fC0\fP, const char * name = \fC0\fP)"
.PP
\fBParameters:\fP
.RS 4
\fItext\fP The text that will be displayed. 
.br
\fIpix\fP The icons that go with this action. 
.br
\fIcut\fP The corresponding keyboard accelerator (shortcut). 
.br
\fIparent\fP This action's parent. 
.br
\fIname\fP An internal name for this action. 
.RE
.PP

.PP
Definition at line 845 of file kactionclasses.cpp.
.SS "KListAction::KListAction (const \fBQString\fP & text, const \fBQString\fP & pix, const \fBKShortcut\fP & cut = \fC\fBKShortcut\fP()\fP, \fBQObject\fP * parent = \fC0\fP, const char * name = \fC0\fP)"
.PP
\fBParameters:\fP
.RS 4
\fItext\fP The text that will be displayed. 
.br
\fIpix\fP The dynamically loaded icon that goes with this action. 
.br
\fIcut\fP The corresponding keyboard accelerator (shortcut). 
.br
\fIparent\fP This action's parent. 
.br
\fIname\fP An internal name for this action. 
.RE
.PP

.PP
Definition at line 853 of file kactionclasses.cpp.
.SS "KListAction::KListAction (const \fBQString\fP & text, const \fBQIconSet\fP & pix, const \fBKShortcut\fP & cut, const \fBQObject\fP * receiver, const char * slot, \fBQObject\fP * parent, const char * name = \fC0\fP)"
.PP
\fBParameters:\fP
.RS 4
\fItext\fP The text that will be displayed. 
.br
\fIpix\fP The icons that go with this action. 
.br
\fIcut\fP The corresponding keyboard accelerator (shortcut). 
.br
\fIreceiver\fP The SLOT's parent. 
.br
\fIslot\fP The SLOT to invoke to execute this action. 
.br
\fIparent\fP This action's parent. 
.br
\fIname\fP An internal name for this action. 
.RE
.PP

.PP
Definition at line 861 of file kactionclasses.cpp.
.PP
References KAction::activated(), and QObject::connect().
.SS "KListAction::KListAction (const \fBQString\fP & text, const \fBQString\fP & pix, const \fBKShortcut\fP & cut, const \fBQObject\fP * receiver, const char * slot, \fBQObject\fP * parent, const char * name = \fC0\fP)"
.PP
\fBParameters:\fP
.RS 4
\fItext\fP The text that will be displayed. 
.br
\fIpix\fP The dynamically loaded icon that goes with this action. 
.br
\fIcut\fP The corresponding keyboard accelerator (shortcut). 
.br
\fIreceiver\fP The SLOT's parent. 
.br
\fIslot\fP The SLOT to invoke to execute this action. 
.br
\fIparent\fP This action's parent. 
.br
\fIname\fP An internal name for this action. 
.RE
.PP

.PP
Definition at line 872 of file kactionclasses.cpp.
.PP
References KAction::activated(), and QObject::connect().
.SS "KListAction::KListAction (\fBQObject\fP * parent = \fC0\fP, const char * name = \fC0\fP)"
.PP
\fBParameters:\fP
.RS 4
\fIparent\fP This action's parent. 
.br
\fIname\fP An internal name for this action. 
.RE
.PP

.PP
Definition at line 883 of file kactionclasses.cpp.
.SS "KListAction::~\fBKListAction\fP ()\fC [virtual]\fP"
.PP
Destructor. 
.PP
Definition at line 889 of file kactionclasses.cpp.
.SH "Member Function Documentation"
.PP 
.SS "\fBQString\fP KListAction::currentText () const\fC [virtual]\fP"
.PP
Returns the text of the currently selected item. 
.PP
Reimplemented from \fBKSelectAction\fP.
.PP
Definition at line 904 of file kactionclasses.cpp.
.PP
References currentItem(), and KSelectAction::items().
.SS "int KListAction::currentItem () const\fC [virtual]\fP"
.PP
Returns the index of the current item. 
.PP
\fBSee also:\fP
.RS 4
\fBsetCurrentItem\fP 
.RE
.PP

.PP
Reimplemented from \fBKSelectAction\fP.
.PP
Definition at line 912 of file kactionclasses.cpp.
.PP
Referenced by currentText().
.SS "void KListAction::setCurrentItem (int index)\fC [virtual, slot]\fP"
.PP
Sets the currently checked item. 
.PP
\fBParameters:\fP
.RS 4
\fIindex\fP Index of the item (remember the first item is zero). 
.RE
.PP

.PP
Reimplemented from \fBKSelectAction\fP.
.PP
Definition at line 894 of file kactionclasses.cpp.
.PP
References KSelectAction::setCurrentItem().

.SH "Author"
.PP 
Generated automatically by Doxygen for kdeui Library from the source code.
