.TH "KListAction" 3 "28 Jan 2004" "kdeui Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KListAction \- \fBThis class or method is obsolete, it is provided for compatibility only.\fP Use \fBKSelectAction\fP instead.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <kaction.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
.RI "\fISets the currently checked item. \fP"
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKListAction\fP (const  \fBQString\fP &text, const  KShortcut &cut=KShortcut(), \fBQObject\fP *\fBparent\fP=0, const  char *\fBname\fP=0)"
.br
.RI "\fIConstructs a list action with text and potential keyboard accelerator but nothing else. \fP"
.ti -1c
.RI "\fBKListAction\fP (const  \fBQString\fP &text, const  KShortcut &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  KShortcut &cut=KShortcut(), \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  KShortcut &cut=KShortcut(), \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  KShortcut &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  KShortcut &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
.RI "\fIDestructor. \fP"
.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 
\fBThis class or method is obsolete, it is provided for compatibility only.\fP Use \fBKSelectAction\fP instead. Definition at line 1074 of file kaction.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KListAction::KListAction (const \fBQString\fP & text, const KShortcut & cut = KShortcut(), \fBQObject\fP * parent = 0, const char * name = 0)"
.PP
Constructs a list action with text and potential keyboard accelerator but nothing else. 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
Definition at line 1914 of file kaction.cpp.
.PP
References KStdAccel::cut(), and QObject::name().
.SS "KListAction::KListAction (const \fBQString\fP & text, const KShortcut & cut, const \fBQObject\fP * receiver, const char * slot, \fBQObject\fP * parent, const char * name = 0)"
.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
Definition at line 1921 of file kaction.cpp.
.PP
References QObject::connect(), KStdAccel::cut(), and KStdAccel::name().
.SS "KListAction::KListAction (const \fBQString\fP & text, const \fBQIconSet\fP & pix, const KShortcut & cut = KShortcut(), \fBQObject\fP * parent = 0, const char * name = 0)"
.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
Definition at line 1931 of file kaction.cpp.
.PP
References KStdAccel::cut(), and KStdAccel::name().
.SS "KListAction::KListAction (const \fBQString\fP & text, const \fBQString\fP & pix, const KShortcut & cut = KShortcut(), \fBQObject\fP * parent = 0, const char * name = 0)"
.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
Definition at line 1939 of file kaction.cpp.
.PP
References KStdAccel::cut(), and KStdAccel::name().
.SS "KListAction::KListAction (const \fBQString\fP & text, const \fBQIconSet\fP & pix, const KShortcut & cut, const \fBQObject\fP * receiver, const char * slot, \fBQObject\fP * parent, const char * name = 0)"
.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
Definition at line 1947 of file kaction.cpp.
.PP
References QObject::connect(), KStdAccel::cut(), and KStdAccel::name().
.SS "KListAction::KListAction (const \fBQString\fP & text, const \fBQString\fP & pix, const KShortcut & cut, const \fBQObject\fP * receiver, const char * slot, \fBQObject\fP * parent, const char * name = 0)"
.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
Definition at line 1958 of file kaction.cpp.
.PP
References QObject::connect(), KStdAccel::cut(), and KStdAccel::name().
.SS "KListAction::KListAction (\fBQObject\fP * parent = 0, const char * name = 0)"
.PP
\fBParameters:\fP
.RS 4
\fIparent\fP This action's parent. 
.br
\fIname\fP An internal name for this action. 
.RE
.PP
Definition at line 1969 of file kaction.cpp.
.PP
References KStdAccel::name().
.SS "KListAction::~\fBKListAction\fP ()\fC [virtual]\fP"
.PP
Destructor. Definition at line 1975 of file kaction.cpp.
.SH "Member Function Documentation"
.PP 
.SS "void KListAction::setCurrentItem (int index)\fC [virtual, slot]\fP"
.PP
Sets the currently checked item. \fBParameters:\fP
.RS 4
\fIindex\fP Index of the item (remember the first item is zero). 
.RE
.PP
Reimplemented from \fBKSelectAction\fP.
.PP
Definition at line 1980 of file kaction.cpp.
.PP
References KSelectAction::setCurrentItem().

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