.TH "KStdAction" kde3 "11 Jun 2005" "Version Version 3.4.1" "kdeui Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KStdAction \- Convenience methods to access all standard \fBKDE\fP actions.  

.PP
.SH SYNOPSIS
.br
.PP
.SS "Enumerations"

.in +1c
.ti -1c
.RI "enum \fBStdAction\fP { \fBActionNone\fP, \fBNew\fP, \fBOpen\fP, \fBOpenRecent\fP, \fBSave\fP, \fBSaveAs\fP, \fBRevert\fP, \fBClose\fP, \fBPrint\fP, \fBPrintPreview\fP, \fBMail\fP, \fBQuit\fP, \fBUndo\fP, \fBRedo\fP, \fBCut\fP, \fBCopy\fP, \fBPaste\fP, \fBSelectAll\fP, \fBDeselect\fP, \fBFind\fP, \fBFindNext\fP, \fBFindPrev\fP, \fBReplace\fP, \fBActualSize\fP, \fBFitToPage\fP, \fBFitToWidth\fP, \fBFitToHeight\fP, \fBZoomIn\fP, \fBZoomOut\fP, \fBZoom\fP, \fBRedisplay\fP, \fBUp\fP, \fBBack\fP, \fBForward\fP, \fBHome\fP, \fBPrior\fP, \fBNext\fP, \fBGoto\fP, \fBGotoPage\fP, \fBGotoLine\fP, \fBFirstPage\fP, \fBLastPage\fP, \fBAddBookmark\fP, \fBEditBookmarks\fP, \fBSpelling\fP, \fBShowMenubar\fP, \fBShowToolbar\fP, \fBShowStatusbar\fP, \fBSaveOptions\fP, \fBKeyBindings\fP, \fBPreferences\fP, \fBConfigureToolbars\fP, \fBHelp\fP, \fBHelpContents\fP, \fBWhatsThis\fP, \fBReportBug\fP, \fBAboutApp\fP, \fBAboutKDE\fP, \fBTipofDay\fP, \fBConfigureNotifications\fP, \fBFullScreen\fP, \fBClear\fP, \fBPasteText\fP }"
.br
.in -1c
.SS "Functions"

.in +1c
.ti -1c
.RI "\fBQStringList\fP \fBstdNames\fP ()"
.br
.ti -1c
.RI "\fBKAction\fP * \fBcreate\fP (\fBStdAction\fP id, const char *name, const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent)"
.br
.ti -1c
.RI "const char * \fBname\fP (\fBStdAction\fP id)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBopenNew\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBopen\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKRecentFilesAction\fP * \fBopenRecent\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBsave\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBsaveAs\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBrevert\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBprint\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBprintPreview\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBclose\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBmail\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBquit\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBundo\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBredo\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBcut\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBcopy\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBpaste\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBpasteText\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBclear\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBselectAll\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBdeselect\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBfind\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBfindNext\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBfindPrev\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBreplace\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBactualSize\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBfitToPage\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBfitToWidth\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBfitToHeight\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBzoomIn\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBzoomOut\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBzoom\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBredisplay\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBup\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBback\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBforward\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBhome\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBprior\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBnext\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBgoTo\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBgotoPage\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBgotoLine\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBfirstPage\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBlastPage\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBaddBookmark\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBeditBookmarks\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBspelling\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKToggleAction\fP * \fBshowMenubar\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *_name)"
.br
.ti -1c
.RI "\fBKToggleAction\fP * \fBshowToolbar\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *_name)"
.br
.ti -1c
.RI "\fBKToggleToolBarAction\fP * \fBshowToolbar\fP (const char *toolBarName, \fBKActionCollection\fP *parent, const char *_name)"
.br
.ti -1c
.RI "\fBKToggleAction\fP * \fBshowStatusbar\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *_name)"
.br
.ti -1c
.RI "\fBKToggleFullScreenAction\fP * \fBfullScreen\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, \fBQWidget\fP *window, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBsaveOptions\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBkeyBindings\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBpreferences\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBconfigureToolbars\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBconfigureNotifications\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBhelp\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBhelpContents\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBwhatsThis\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBtipOfDay\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBreportBug\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBaboutApp\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBaboutKDE\fP (const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBcreate\fP (\fBStdAction\fP id, const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent)"
.br
.ti -1c
.RI "\fBKAction\fP * \fBaction\fP (\fBStdAction\fP act_enum, const \fBQObject\fP *recvr, const char *slot, \fBKActionCollection\fP *parent, const char *name=0L)"
.br
.ti -1c
.RI "const char * \fBstdName\fP (\fBStdAction\fP act_enum)"
.br
.in -1c
.SH "Detailed Description"
.PP 
Convenience methods to access all standard \fBKDE\fP actions. 

These actions should be used instead of hardcoding menubar and toolbar items. Using these actions helps your application easily conform to the \fBKDE\fP UI Style Guide 
.PP
\fBSee also:\fP
.RS 4
http://developer.kde.org/documentation/standards/kde/style/basics/index.html .
.RE
.PP
All of the documentation for \fBKAction\fP holds for KStdAction also. When in doubt on how things work, check the \fBKAction\fP documention first.
.PP
\fBSimple Example:\fP
.br
.PP
In general, using standard actions should be a drop in replacement for regular actions. For example, if you previously had:
.PP
.PP
.nf
 KAction *newAct = new KAction(i18n('&New'), QIconSet(BarIcon('filenew')),
                               KStdAccel::shortcut(KStdAccel::New), this,
                               SLOT(fileNew()), actionCollection());
.fi
.PP
.PP
You could drop that and replace it with:
.PP
.PP
.nf
 KAction *newAct = KStdAction::openNew(this, SLOT(fileNew()),
                                       actionCollection());
.fi
.PP
.PP
\fBNon-standard Usages\fP
.br
.PP
It is possible to use the standard actions in various non-recommended ways. Say, for instance, you wanted to have a standard action (with the associated correct text and icon and accelerator, etc) but you didn't want it to go in the standard place (this is not recommended, by the way). One way to do this is to simply not use the XML UI framework and plug it into wherever you want. If you do want to use the XML UI framework (good!), then it is still possible.
.PP
Basically, the XML building code matches names in the XML code with the internal names of the actions. You can find out the internal names of each of the standard actions by using the stdName action like so: KStdAction::stdName(KStdAction::Cut) would return 'edit_cut'. The XML building code will match 'edit_cut' to the attribute in the global XML file and place your action there.
.PP
However, you can change the internal name. In this example, just do something like:
.PP
.PP
.nf
 (void)KStdAction::cut(this, SLOT(editCut()), actionCollection(), 'my_cut');
.fi
.PP
.PP
Now, in your local XML resource file (e.g., yourappui.rc), simply put 'my_cut' where you want it to go.
.PP
Another non-standard usage concerns getting a pointer to an existing action if, say, you want to enable or disable the action. You could do it the recommended way and just grab a pointer when you instantiate it as in the the 'openNew' example above... or you could do it the hard way:
.PP
.PP
.nf
 KAction *cut = actionCollection()->action(KStdAction::stdName(KStdAction::Cut));
.fi
.PP
.PP
Another non-standard usage concerns instantiating the action in the first place. Usually, you would use the member functions as shown above (e.g., KStdAction::cut(this, SLOT, parent)). You may, however, do this using the enums provided. This author can't think of a reason why you would want to, but, hey, if you do, here's how:
.PP
.PP
.nf
 (void)KStdAction::action(KStdAction::New, this, SLOT(fileNew()), actionCollection());
 (void)KStdAction::action(KStdAction::Cut, this, SLOT(editCut()), actionCollection());
.fi
.PP
.PP
\fBAuthor:\fP
.RS 4
Kurt Granroth <granroth@kde.org> 
.RE
.PP

.PP
.SH "Enumeration Type Documentation"
.PP 
.SS "enum \fBKStdAction::StdAction\fP"
.PP
The standard menubar and toolbar actions. 
.PP

.PP
\fBEnumeration values: \fP
.in +1c
.TP
\fB\fITipofDay \fP\fP
\fBSince:\fP
.RS 4
3.1 
.RE
.PP

.TP
\fB\fIFullScreen \fP\fP
\fBSince:\fP
.RS 4
3.2 
.RE
.PP

.TP
\fB\fIClear \fP\fP
\fBSince:\fP
.RS 4
3.2 
.RE
.PP

.TP
\fB\fIPasteText \fP\fP
\fBSince:\fP
.RS 4
3.2 
.RE
.PP

.PP
Definition at line 122 of file kstdaction.h.
.SH "Function Documentation"
.PP 
.SS "KDEUI_EXPORT \fBQStringList\fP KStdAction::stdNames ()"
.PP
Returns a list of all standard names. 
.PP
Used by KAccelManager to give those heigher weight. 
.PP
\fBSince:\fP
.RS 4
3.1 
.RE
.PP

.PP
Definition at line 38 of file kstdaction.cpp.
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::create (StdAction id, const char * name, const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent)"
.PP
Creates an action corresponding to the \fBKStdAction::StdAction\fP enum. 
.PP

.PP
Definition at line 43 of file kstdaction.cpp.
.PP
References KInstance::aboutData(), QString::arg(), endl(), QString::fromLatin1(), KGlobal::instance(), kdDebug(), PasteText, KAboutData::programName(), KToggleFullScreenAction::setChecked(), KToggleAction::setChecked(), and KStdAccel::shortcut().
.PP
Referenced by aboutApp(), aboutKDE(), action(), actualSize(), addBookmark(), back(), clear(), close(), configureNotifications(), configureToolbars(), copy(), cut(), deselect(), editBookmarks(), find(), findNext(), findPrev(), firstPage(), fitToHeight(), fitToPage(), fitToWidth(), forward(), fullScreen(), goTo(), gotoLine(), gotoPage(), help(), helpContents(), home(), keyBindings(), lastPage(), mail(), next(), open(), openNew(), openRecent(), paste(), pasteText(), preferences(), print(), printPreview(), prior(), quit(), redisplay(), redo(), replace(), reportBug(), revert(), save(), saveAs(), saveOptions(), selectAll(), spelling(), tipOfDay(), undo(), up(), whatsThis(), zoom(), zoomIn(), and zoomOut().
.SS "KDEUI_EXPORT const char * KStdAction::name (StdAction id)"
.PP
This will return the internal name of a given standard action. 
.PP

.PP
Definition at line 134 of file kstdaction.cpp.
.PP
Referenced by showMenubar(), showStatusbar(), showToolbar(), and stdName().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::openNew (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Create a new document or window. 
.PP

.PP
Definition at line 140 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::open (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Open an existing file. 
.PP

.PP
Definition at line 142 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKRecentFilesAction\fP * KStdAction::openRecent (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Open a recently used document. 
.PP
The signature of the slot being called is of the form slotURLSelected( const KURL & ). 
.PP
\fBParameters:\fP
.RS 4
\fIrecvr\fP object to receive slot 
.br
\fIslot\fP The SLOT to invoke when a URL is selected. The slot's signature is slotURLSelected( const KURL & ). 
.br
\fIparent\fP parent widget 
.br
\fIname\fP name of widget
.RE
.PP

.PP
Definition at line 144 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::save (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Save the current document. 
.PP

.PP
Definition at line 146 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::saveAs (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Save the current document under a different name. 
.PP

.PP
Definition at line 148 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::revert (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Revert the current document to the last saved version (essentially will undo all changes). 
.PP

.PP
Definition at line 150 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::print (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Print the current document. 
.PP

.PP
Definition at line 152 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::printPreview (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Show a print preview of the current document. 
.PP

.PP
Definition at line 154 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::close (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Close the current document. 
.PP

.PP
Definition at line 156 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::mail (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Mail this document. 
.PP

.PP
Definition at line 158 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::quit (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Quit the program. 
.PP

.PP
Definition at line 160 of file kstdaction.cpp.
.PP
References create().
.PP
Referenced by KSystemTray::KSystemTray().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::undo (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Undo the last operation. 
.PP

.PP
Definition at line 162 of file kstdaction.cpp.
.PP
References create().
.PP
Referenced by KCommandHistory::KCommandHistory().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::redo (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Redo the last operation. 
.PP

.PP
Definition at line 164 of file kstdaction.cpp.
.PP
References create().
.PP
Referenced by KCommandHistory::KCommandHistory().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::cut (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Cut selected area and store it in the clipboard. 
.PP

.PP
Definition at line 166 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::copy (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Copy the selected area into the clipboard. 
.PP

.PP
Definition at line 168 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::paste (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Paste the contents of clipboard at the current mouse or cursor position. 
.PP

.PP
Definition at line 170 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::pasteText (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Paste the contents of clipboard at the current mouse or cursor position. 
.PP
Provide a button on the toolbar with the clipboard history menu if Klipper is running. 
.PP
\fBSince:\fP
.RS 4
3.2
.RE
.PP

.PP
Definition at line 172 of file kstdaction.cpp.
.PP
References create(), and PasteText.
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::clear (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Clear the content of the focus widget 
.PP
\fBSince:\fP
.RS 4
3.2. 
.RE
.PP

.PP
Definition at line 174 of file kstdaction.cpp.
.PP
References Clear, and create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::selectAll (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Select all elements in the current document. 
.PP

.PP
Definition at line 176 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::deselect (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Deselect any selected elements in the current document. 
.PP

.PP
Definition at line 178 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::find (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Initiate a 'find' request in the current document. 
.PP

.PP
Definition at line 180 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::findNext (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Find the next instance of a stored 'find'. 
.PP

.PP
Definition at line 182 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::findPrev (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Find a previous instance of a stored 'find'. 
.PP

.PP
Definition at line 184 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::replace (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Find and replace matches. 
.PP

.PP
Definition at line 186 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::actualSize (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
View the document at its actual size. 
.PP

.PP
Definition at line 188 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::fitToPage (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Fit the document view to the size of the current window. 
.PP

.PP
Definition at line 190 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::fitToWidth (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Fit the document view to the width of the current window. 
.PP

.PP
Definition at line 192 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::fitToHeight (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Fit the document view to the height of the current window. 
.PP

.PP
Definition at line 194 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::zoomIn (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Zoom in. 
.PP

.PP
Definition at line 196 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::zoomOut (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Zoom out. 
.PP

.PP
Definition at line 198 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::zoom (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Popup a zoom dialog. 
.PP

.PP
Definition at line 200 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::redisplay (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Redisplay or redraw the document. 
.PP

.PP
Definition at line 202 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::up (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Move up (web style menu). 
.PP

.PP
Definition at line 204 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::back (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Move back (web style menu). 
.PP

.PP
Definition at line 206 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::forward (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Move forward (web style menu). 
.PP

.PP
Definition at line 208 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::home (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Go to the 'Home' position or document. 
.PP

.PP
Definition at line 210 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::prior (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Scroll up one page. 
.PP

.PP
Definition at line 212 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::next (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Scroll down one page. 
.PP

.PP
Definition at line 214 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::goTo (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Go to somewhere in general. 
.PP

.PP
Definition at line 216 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::gotoPage (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Go to a specific page (dialog). 
.PP

.PP
Definition at line 218 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::gotoLine (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Go to a specific line (dialog). 
.PP

.PP
Definition at line 220 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::firstPage (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Jump to the first page. 
.PP

.PP
Definition at line 222 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::lastPage (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Jump to the last page. 
.PP

.PP
Definition at line 224 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::addBookmark (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Add the current page to the bookmarks tree. 
.PP

.PP
Definition at line 226 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::editBookmarks (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Edit the application bookmarks. 
.PP

.PP
Definition at line 228 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::spelling (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Pop up the spell checker. 
.PP

.PP
Definition at line 230 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKToggleAction\fP * KStdAction::showMenubar (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Show/Hide the menubar. 
.PP

.PP
Definition at line 233 of file kstdaction.cpp.
.PP
References name(), KToggleAction::setChecked(), KToggleAction::setCheckedState(), and KAction::setWhatsThis().
.SS "KDEUI_EXPORT \fBKToggleAction\fP * KStdAction::showToolbar (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
\fBDeprecated\fP
.RS 4
. toolbar actions are created automatically now in the Settings menu. Don't use this anymore. See: \fBKMainWindow::createStandardStatusBarAction()\fP Show/Hide the primary toolbar. 
.PP
\fBSince:\fP
.RS 4
3.1 
.RE
.PP
.RE
.PP

.PP
Definition at line 249 of file kstdaction.cpp.
.PP
References name(), and KToggleAction::setChecked().
.SS "KDEUI_EXPORT \fBKToggleToolBarAction\fP * KStdAction::showToolbar (const char * toolBarName, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
\fBDeprecated\fP
.RS 4
. toolbar actions are created automatically now in the Settings menu. Don't use this anymore. See: \fBKMainWindow::setStandardToolBarMenuEnabled(bool)\fP; Show/Hide the primary toolbar. 
.RE
.PP

.PP
Definition at line 260 of file kstdaction.cpp.
.PP
References name().
.SS "KDEUI_EXPORT \fBKToggleAction\fP * KStdAction::showStatusbar (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Show/Hide the statusbar. 
.PP

.PP
Definition at line 268 of file kstdaction.cpp.
.PP
References name(), KToggleAction::setChecked(), KToggleAction::setCheckedState(), and KAction::setWhatsThis().
.PP
Referenced by KMainWindow::createStandardStatusBarAction().
.SS "KDEUI_EXPORT \fBKToggleFullScreenAction\fP * KStdAction::fullScreen (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, \fBQWidget\fP * window, const char * name = \fC0\fP)"
.PP
Switch to/from full screen mode 
.PP
\fBSince:\fP
.RS 4
3.2. 
.RE
.PP

.PP
Definition at line 285 of file kstdaction.cpp.
.PP
References create(), and KToggleFullScreenAction::setWindow().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::saveOptions (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Display the save options dialog. 
.PP

.PP
Definition at line 294 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::keyBindings (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Display the configure key bindings dialog. 
.PP
Note that you might be able to use the pre-built KXMLGUIFactory's fuction: \fBKStdAction::keyBindings\fP(guiFactory(), SLOT(configureShortcuts()), actionCollection()); 
.PP
Definition at line 296 of file kstdaction.cpp.
.PP
References create().
.PP
Referenced by KMainWindow::setupGUI().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::preferences (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Display the preferences/options dialog. 
.PP

.PP
Definition at line 298 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::configureToolbars (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
The Customize Toolbar dialog. 
.PP

.PP
Definition at line 300 of file kstdaction.cpp.
.PP
References create().
.PP
Referenced by KMainWindow::setupGUI().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::configureNotifications (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
The Configure Notifications dialo 
.PP
\fBSince:\fP
.RS 4
3.1. 
.RE
.PP

.PP
Definition at line 302 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::help (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Display the help. 
.PP

.PP
Definition at line 304 of file kstdaction.cpp.
.PP
References create().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::helpContents (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Display the help contents. 
.PP

.PP
Definition at line 306 of file kstdaction.cpp.
.PP
References create().
.PP
Referenced by KHelpMenu::KHelpMenu().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::whatsThis (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Trigger the What's This cursor. 
.PP

.PP
Definition at line 308 of file kstdaction.cpp.
.PP
References create().
.PP
Referenced by KHelpMenu::KHelpMenu().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::tipOfDay (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Display 'Tip of the Day' 
.PP
\fBSince:\fP
.RS 4
3.1. 
.RE
.PP

.PP
Definition at line 310 of file kstdaction.cpp.
.PP
References create(), and TipofDay.
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::reportBug (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Open up the Report Bug dialog. 
.PP

.PP
Definition at line 312 of file kstdaction.cpp.
.PP
References create().
.PP
Referenced by KHelpMenu::KHelpMenu().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::aboutApp (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Display the application's About box. 
.PP

.PP
Definition at line 314 of file kstdaction.cpp.
.PP
References create().
.PP
Referenced by KHelpMenu::KHelpMenu().
.SS "KDEUI_EXPORT \fBKAction\fP * KStdAction::aboutKDE (const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0\fP)"
.PP
Display the About \fBKDE\fP dialog. 
.PP

.PP
Definition at line 316 of file kstdaction.cpp.
.PP
References create().
.PP
Referenced by KHelpMenu::KHelpMenu().
.SS "\fBKAction\fP* action (StdAction act_enum, const \fBQObject\fP * recvr, const char * slot, \fBKActionCollection\fP * parent, const char * name = \fC0L\fP)\fC [inline]\fP"
.PP
\fBDeprecated\fP
.RS 4
. Creates an action corresponding to the \fBKStdAction::StdAction\fP enum. 
.RE
.PP

.PP
Definition at line 180 of file kstdaction.h.
.PP
References create().
.SS "const char* stdName (StdAction act_enum)\fC [inline]\fP"
.PP
\fBDeprecated\fP
.RS 4
. Use \fBname\fP
.RE
.PP

.PP
Definition at line 191 of file kstdaction.h.
.PP
References name().
.SH "Author"
.PP 
Generated automatically by Doxygen for kdeui Library from the source code.
