\section{KStd\-Action Namespace Reference}
\label{namespaceKStdAction}\index{KStdAction@{KStdAction}}
Convenience methods to access all standard {\bf KDE} actions.  


\subsection*{Enumerations}
\begin{CompactItemize}
\item 
enum {\bf Std\-Action} \{ \par
{\bf Action\-None}, 
{\bf New}, 
{\bf Open}, 
{\bf Open\-Recent}, 
\par
{\bf Save}, 
{\bf Save\-As}, 
{\bf Revert}, 
{\bf Close}, 
\par
{\bf Print}, 
{\bf Print\-Preview}, 
{\bf Mail}, 
{\bf Quit}, 
\par
{\bf Undo}, 
{\bf Redo}, 
{\bf Cut}, 
{\bf Copy}, 
\par
{\bf Paste}, 
{\bf Select\-All}, 
{\bf Deselect}, 
{\bf Find}, 
\par
{\bf Find\-Next}, 
{\bf Find\-Prev}, 
{\bf Replace}, 
{\bf Actual\-Size}, 
\par
{\bf Fit\-To\-Page}, 
{\bf Fit\-To\-Width}, 
{\bf Fit\-To\-Height}, 
{\bf Zoom\-In}, 
\par
{\bf Zoom\-Out}, 
{\bf Zoom}, 
{\bf Redisplay}, 
{\bf Up}, 
\par
{\bf Back}, 
{\bf Forward}, 
{\bf Home}, 
{\bf Prior}, 
\par
{\bf Next}, 
{\bf Goto}, 
{\bf Goto\-Page}, 
{\bf Goto\-Line}, 
\par
{\bf First\-Page}, 
{\bf Last\-Page}, 
{\bf Add\-Bookmark}, 
{\bf Edit\-Bookmarks}, 
\par
{\bf Spelling}, 
{\bf Show\-Menubar}, 
{\bf Show\-Toolbar}, 
{\bf Show\-Statusbar}, 
\par
{\bf Save\-Options}, 
{\bf Key\-Bindings}, 
{\bf Preferences}, 
{\bf Configure\-Toolbars}, 
\par
{\bf Help}, 
{\bf Help\-Contents}, 
{\bf Whats\-This}, 
{\bf Report\-Bug}, 
\par
{\bf About\-App}, 
{\bf About\-KDE}, 
{\bf Tipof\-Day}, 
{\bf Configure\-Notifications}
 \}
\begin{CompactList}\small\item\em The standard menubar and toolbar actions. \item\end{CompactList}\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
const  KStd\-Action\-Info $\ast$ {\bf info\-Ptr} ({\bf Std\-Action} id)\label{namespaceKStdAction_a61}

\item 
{\bf QString\-List} {\bf std\-Names} ()
\begin{CompactList}\small\item\em Returns a list of all standard names. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf create} ({\bf Std\-Action} id, const  char $\ast$name, const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent)
\begin{CompactList}\small\item\em Creates an action corresponding to the {\bf KStd\-Action::Std\-Action}{\rm (p.\,\pageref{namespaceKStdAction_a128})} enum. \item\end{CompactList}\item 
const  char $\ast$ {\bf name} ({\bf Std\-Action} id)
\begin{CompactList}\small\item\em This will return the internal name of a given standard action. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf open\-New} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Create a new document or window. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf open} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Open an existing file. \item\end{CompactList}\item 
{\bf KRecent\-Files\-Action} $\ast$ {\bf open\-Recent} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Open a recently used document. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf save} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Save the current document. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf save\-As} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Save the current document under a different name. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf revert} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Revert the current document to the last saved version (essentially will undo all changes). \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf print} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Print the current document. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf print\-Preview} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Show a print preview of the current document. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf close} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Close the current document. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf mail} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Mail this document. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf quit} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Quit the program. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf undo} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Undo the last operation. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf redo} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Redo the last operation. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf cut} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Cut selected area and store it in the clipboard. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf copy} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Copy the selected area into the clipboard. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf paste} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Paste the contents of clipboard at the current mouse or cursor position. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf select\-All} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Select all elements in the current document. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf deselect} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Deselect any selected elements in the current document. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf find} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Initiate a 'find' request in the current document. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf find\-Next} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Find the next instance of a stored 'find'. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf find\-Prev} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Find a previous instance of a stored 'find'. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf replace} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Find and replace matches. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf actual\-Size} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em View the document at its actual size. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf fit\-To\-Page} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Fit the document view to the size of the current window. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf fit\-To\-Width} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Fit the document view to the width of the current window. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf fit\-To\-Height} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Fit the document view to the height of the current window. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf zoom\-In} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Zoom in. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf zoom\-Out} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Zoom out. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf zoom} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Popup a zoom dialog. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf redisplay} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Redisplay or redraw the document. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf up} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Move up (web style menu). \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf back} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Move back (web style menu). \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf forward} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Move forward (web style menu). \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf home} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Go to the \char`\"{}Home\char`\"{} position or document. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf prior} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Scroll up one page. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf next} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Scroll down one page. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf go\-To} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Go to somewhere in general. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf goto\-Page} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Go to a specific page (dialog). \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf goto\-Line} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Go to a specific line (dialog). \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf first\-Page} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Jump to the first page. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf last\-Page} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Jump to the last page. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf add\-Bookmark} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Add the current page to the bookmarks tree. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf edit\-Bookmarks} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Edit the application bookmarks. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf spelling} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Pop up the spell checker. \item\end{CompactList}\item 
{\bf KToggle\-Action} $\ast$ {\bf show\-Menubar} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$\_\-name)
\begin{CompactList}\small\item\em Show/Hide the menubar. \item\end{CompactList}\item 
{\bf KToggle\-Action} $\ast$ {\bf show\-Toolbar} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$\_\-name)
\item 
{\bf KToggle\-Tool\-Bar\-Action} $\ast$ {\bf show\-Toolbar} (const  char $\ast$tool\-Bar\-Name, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$\_\-name)
\item 
{\bf KToggle\-Action} $\ast$ {\bf show\-Statusbar} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$\_\-name)
\begin{CompactList}\small\item\em Show/Hide the statusbar. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf save\-Options} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Display the save options dialog. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf key\-Bindings} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Display the configure key bindings dialog. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf preferences} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Display the preferences/options dialog. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf configure\-Toolbars} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em The Customize Toolbar dialog. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf configure\-Notifications} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em The Configure Notifications dialo \begin{Desc}
\item[Since:]3.1. \end{Desc}
\item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf help} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Display the help. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf help\-Contents} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Display the help contents. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf whats\-This} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Trigger the What's This cursor. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf tip\-Of\-Day} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Display \char`\"{}Tip of the Day\char`\"{} \begin{Desc}
\item[Since:]3.1. \end{Desc}
\item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf report\-Bug} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Open up the Report Bug dialog. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf about\-App} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Display the application's About box. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf about\-KDE} (const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Display the About {\bf KDE} dialog. \item\end{CompactList}\item 
{\bf KAction} $\ast$ {\bf create} ({\bf Std\-Action} id, const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent)\label{namespaceKStdAction_a125}

\item 
{\bf KAction} $\ast$ {\bf action} ({\bf Std\-Action} act\_\-enum, const  {\bf QObject} $\ast$recvr, const  char $\ast$slot, {\bf KAction\-Collection} $\ast$parent, const  char $\ast$name=0L)
\item 
const  char $\ast$ {\bf std\-Name} ({\bf Std\-Action} act\_\-enum)
\end{CompactItemize}
\subsection*{Variables}
\begin{CompactItemize}
\item 
const  KStd\-Action\-Info {\bf g\_\-rg\-Action\-Info} [$\,$]\label{namespaceKStdAction_a0}

\end{CompactItemize}


\subsection{Detailed Description}
Convenience methods to access all standard {\bf KDE} actions. 

These actions should be used instead of hardcoding menubar and toolbar items. Using these actions helps your application easily conform to the {\bf KDE} UI Style Guide \begin{Desc}
\item[See also:]{\tt http://developer.kde.org/documentation/standards/kde/style/basics/index.html} .\end{Desc}
All of the documentation for {\bf KAction}{\rm (p.\,\pageref{classKAction})} holds for KStd\-Action also. When in doubt on how things work, check the {\bf KAction}{\rm (p.\,\pageref{classKAction})} documention first.

{\bf  Simple Example:}

{\bf  In general, using standard actions should be a drop in replacement for regular actions. For example, if you previously had:}

{\bf  \small\begin{alltt}
 {\bf KAction}{\rm (p.\,\pageref{classKAction})} *newAct = new {\bf KAction}{\rm (p.\,\pageref{classKAction})}(i18n("&New"), {\bf QIconSet}(BarIcon("filenew")),
                               KStdAccel::key(KStdAccel::New), this,
                               SLOT(fileNew()), actionCollection());
 \end{alltt}\normalsize 
}

{\bf  You could drop that and replace it with:}

{\bf  \small\begin{alltt}
 {\bf KAction}{\rm (p.\,\pageref{classKAction})} *newAct = {\bf KStdAction::openNew}{\rm (p.\,\pageref{namespaceKStdAction_a65})}(this, SLOT(fileNew()),
                                       actionCollection());
 \end{alltt}\normalsize 
}

{\bf  }

{\bf {\bf  Non-standard Usages}}

{\bf {\bf  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.}}

{\bf {\bf  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 {\bf std\-Name}{\rm (p.\,\pageref{namespaceKStdAction_a127})} action like so: {\bf KStd\-Action::std\-Name}{\rm (p.\,\pageref{namespaceKStdAction_a127})}(KStd\-Action::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.}}

{\bf {\bf  However, you can change the internal name. In this example, just do something like:}}

{\bf {\bf  \small\begin{alltt}
 (void){\bf KStdAction::cut}{\rm (p.\,\pageref{namespaceKStdAction_a78})}(this, SLOT(editCut()), actionCollection(), "my\_cut");
 \end{alltt}\normalsize 
}}

{\bf {\bf  Now, in your local XML resource file (e.g., yourappui.rc), simply put 'my\_\-cut' where you want it to go.}}

{\bf {\bf  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 'open\-New' example above... or you could do it the hard way:}}

{\bf {\bf  \small\begin{alltt}
 {\bf KAction}{\rm (p.\,\pageref{classKAction})} *cut = actionCollection()-$>$action(KStdAction::stdName(KStdAction::Cut));
 \end{alltt}\normalsize 
}}

{\bf {\bf  Another non-standard usage concerns instantiating the action in the first place. Usually, you would use the member functions as shown above (e.g., KStd\-Action::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:}}

{\bf {\bf  \small\begin{alltt}
 (void){\bf KStdAction::action}{\rm (p.\,\pageref{namespaceKStdAction_a126})}(KStdAction::New, this, SLOT(fileNew()), actionCollection());
 (void){\bf KStdAction::action}{\rm (p.\,\pageref{namespaceKStdAction_a126})}(KStdAction::Cut, this, SLOT(editCut()), actionCollection());
 \end{alltt}\normalsize 
}}

{\bf {\bf  \begin{Desc}
\item[Author:]Kurt Granroth $<${\tt granroth@kde.org}$>$ \end{Desc}
}}



\subsection{Enumeration Type Documentation}
\index{KStdAction@{KStd\-Action}!StdAction@{StdAction}}
\index{StdAction@{StdAction}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}enum {\bf KStd\-Action::Std\-Action}}\label{namespaceKStdAction_a128}


The standard menubar and toolbar actions. 

\begin{Desc}
\item[Enumeration values: ]\par
\begin{description}
\index{TipofDay@{TipofDay}!KStdAction@{KStdAction}}\index{KStdAction@{KStdAction}!TipofDay@{TipofDay}}\item[{\em 
Tipof\-Day\label{namespaceKStdAction_a128a59}
}]\begin{Desc}
\item[Since:]3.1 \end{Desc}
\end{description}
\end{Desc}



Definition at line 118 of file kstdaction.h.

\subsection{Function Documentation}
\index{KStdAction@{KStd\-Action}!stdNames@{stdNames}}
\index{stdNames@{stdNames}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString\-List} KStd\-Action::std\-Names ()}\label{namespaceKStdAction_a62}


Returns a list of all standard names. 

Used by KAccel\-Manager to give those heigher weight. \begin{Desc}
\item[Since:]3.1 \end{Desc}


Definition at line 128 of file kstdaction.cpp.\index{KStdAction@{KStd\-Action}!create@{create}}
\index{create@{create}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::create (Std\-Action {\em id}, const char $\ast$ {\em name}, const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent})}\label{namespaceKStdAction_a63}


Creates an action corresponding to the {\bf KStd\-Action::Std\-Action}{\rm (p.\,\pageref{namespaceKStdAction_a128})} enum. 



Definition at line 138 of file kstdaction.cpp.

References KInstance::about\-Data(), QString::arg(), KStd\-Accel::cut(), QString::from\-Latin1(), KGlobal::instance(), KStd\-Accel::name(), KAbout\-Data::program\-Name(), QApplication::reverse\-Layout(), KToggle\-Action::set\-Checked(), and KStd\-Accel::shortcut().

Referenced by about\-App(), about\-KDE(), action(), actual\-Size(), add\-Bookmark(), back(), close(), KLine\-Edit::completion\-Box(), KCombo\-Box::completion\-Box(), configure\-Notifications(), configure\-Toolbars(), copy(), cut(), deselect(), edit\-Bookmarks(), find(), find\-Next(), find\-Prev(), first\-Page(), fit\-To\-Height(), fit\-To\-Page(), fit\-To\-Width(), forward(), go\-To(), goto\-Line(), goto\-Page(), help(), help\-Contents(), home(), key\-Bindings(), last\-Page(), mail(), next(), open(), open\-New(), open\-Recent(), paste(), preferences(), print(), print\-Preview(), prior(), quit(), redisplay(), redo(), replace(), report\-Bug(), revert(), save(), save\-As(), save\-Options(), select\-All(), spelling(), tip\-Of\-Day(), undo(), up(), whats\-This(), zoom(), zoom\-In(), and zoom\-Out().\index{KStdAction@{KStd\-Action}!name@{name}}
\index{name@{name}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const  char $\ast$ KStd\-Action::name (Std\-Action {\em id})}\label{namespaceKStdAction_a64}


This will return the internal name of a given standard action. 



Definition at line 202 of file kstdaction.cpp.

Referenced by show\-Menubar(), show\-Statusbar(), show\-Toolbar(), and std\-Name().\index{KStdAction@{KStd\-Action}!openNew@{openNew}}
\index{openNew@{openNew}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::open\-New (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a65}


Create a new document or window. 



Definition at line 208 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!open@{open}}
\index{open@{open}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::open (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a66}


Open an existing file. 



Definition at line 210 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!openRecent@{openRecent}}
\index{openRecent@{openRecent}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KRecent\-Files\-Action} $\ast$ KStd\-Action::open\-Recent (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a67}


Open a recently used document. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em slot}]The SLOT to invoke when a URL is selected. Its signature is of the form slot\-URLSelected( const KURL \& ).\end{description}
\end{Desc}


Definition at line 212 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!save@{save}}
\index{save@{save}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::save (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a68}


Save the current document. 



Definition at line 214 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!saveAs@{saveAs}}
\index{saveAs@{saveAs}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::save\-As (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a69}


Save the current document under a different name. 



Definition at line 216 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!revert@{revert}}
\index{revert@{revert}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::revert (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a70}


Revert the current document to the last saved version (essentially will undo all changes). 



Definition at line 218 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!print@{print}}
\index{print@{print}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::print (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a71}


Print the current document. 



Definition at line 220 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!printPreview@{printPreview}}
\index{printPreview@{printPreview}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::print\-Preview (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a72}


Show a print preview of the current document. 



Definition at line 222 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!close@{close}}
\index{close@{close}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::close (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a73}


Close the current document. 



Definition at line 224 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!mail@{mail}}
\index{mail@{mail}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::mail (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a74}


Mail this document. 



Definition at line 226 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!quit@{quit}}
\index{quit@{quit}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::quit (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a75}


Quit the program. 



Definition at line 228 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().

Referenced by KSystem\-Tray::KSystem\-Tray().\index{KStdAction@{KStd\-Action}!undo@{undo}}
\index{undo@{undo}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::undo (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a76}


Undo the last operation. 



Definition at line 230 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().

Referenced by KCommand\-History::KCommand\-History().\index{KStdAction@{KStd\-Action}!redo@{redo}}
\index{redo@{redo}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::redo (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a77}


Redo the last operation. 



Definition at line 232 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().

Referenced by KCommand\-History::KCommand\-History().\index{KStdAction@{KStd\-Action}!cut@{cut}}
\index{cut@{cut}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::cut (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a78}


Cut selected area and store it in the clipboard. 



Definition at line 234 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!copy@{copy}}
\index{copy@{copy}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::copy (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a79}


Copy the selected area into the clipboard. 



Definition at line 236 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!paste@{paste}}
\index{paste@{paste}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::paste (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a80}


Paste the contents of clipboard at the current mouse or cursor position. 



Definition at line 238 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!selectAll@{selectAll}}
\index{selectAll@{selectAll}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::select\-All (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a81}


Select all elements in the current document. 



Definition at line 240 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!deselect@{deselect}}
\index{deselect@{deselect}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::deselect (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a82}


Deselect any selected elements in the current document. 



Definition at line 242 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().

Referenced by KEdit::clean\-White\-Space(), KEdit::replace(), KEdit::search(), and KEdit::spellcheck\_\-stop().\index{KStdAction@{KStd\-Action}!find@{find}}
\index{find@{find}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::find (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a83}


Initiate a 'find' request in the current document. 



Definition at line 244 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!findNext@{findNext}}
\index{findNext@{findNext}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::find\-Next (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a84}


Find the next instance of a stored 'find'. 



Definition at line 246 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!findPrev@{findPrev}}
\index{findPrev@{findPrev}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::find\-Prev (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a85}


Find a previous instance of a stored 'find'. 



Definition at line 248 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!replace@{replace}}
\index{replace@{replace}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::replace (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a86}


Find and replace matches. 



Definition at line 250 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!actualSize@{actualSize}}
\index{actualSize@{actualSize}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::actual\-Size (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a87}


View the document at its actual size. 



Definition at line 252 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!fitToPage@{fitToPage}}
\index{fitToPage@{fitToPage}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::fit\-To\-Page (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a88}


Fit the document view to the size of the current window. 



Definition at line 254 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!fitToWidth@{fitToWidth}}
\index{fitToWidth@{fitToWidth}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::fit\-To\-Width (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a89}


Fit the document view to the width of the current window. 



Definition at line 256 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!fitToHeight@{fitToHeight}}
\index{fitToHeight@{fitToHeight}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::fit\-To\-Height (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a90}


Fit the document view to the height of the current window. 



Definition at line 258 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!zoomIn@{zoomIn}}
\index{zoomIn@{zoomIn}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::zoom\-In (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a91}


Zoom in. 



Definition at line 260 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!zoomOut@{zoomOut}}
\index{zoomOut@{zoomOut}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::zoom\-Out (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a92}


Zoom out. 



Definition at line 262 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!zoom@{zoom}}
\index{zoom@{zoom}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::zoom (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a93}


Popup a zoom dialog. 



Definition at line 264 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!redisplay@{redisplay}}
\index{redisplay@{redisplay}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::redisplay (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a94}


Redisplay or redraw the document. 



Definition at line 266 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!up@{up}}
\index{up@{up}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::up (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a95}


Move up (web style menu). 



Definition at line 268 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!back@{back}}
\index{back@{back}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::back (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a96}


Move back (web style menu). 



Definition at line 270 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!forward@{forward}}
\index{forward@{forward}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::forward (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a97}


Move forward (web style menu). 



Definition at line 272 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!home@{home}}
\index{home@{home}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::home (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a98}


Go to the \char`\"{}Home\char`\"{} position or document. 



Definition at line 274 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!prior@{prior}}
\index{prior@{prior}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::prior (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a99}


Scroll up one page. 



Definition at line 276 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!next@{next}}
\index{next@{next}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::next (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a100}


Scroll down one page. 



Definition at line 278 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!goTo@{goTo}}
\index{goTo@{goTo}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::go\-To (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a101}


Go to somewhere in general. 



Definition at line 280 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!gotoPage@{gotoPage}}
\index{gotoPage@{gotoPage}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::goto\-Page (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a102}


Go to a specific page (dialog). 



Definition at line 282 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!gotoLine@{gotoLine}}
\index{gotoLine@{gotoLine}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::goto\-Line (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a103}


Go to a specific line (dialog). 



Definition at line 284 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!firstPage@{firstPage}}
\index{firstPage@{firstPage}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::first\-Page (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a104}


Jump to the first page. 



Definition at line 286 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!lastPage@{lastPage}}
\index{lastPage@{lastPage}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::last\-Page (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a105}


Jump to the last page. 



Definition at line 288 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!addBookmark@{addBookmark}}
\index{addBookmark@{addBookmark}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::add\-Bookmark (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a106}


Add the current page to the bookmarks tree. 



Definition at line 290 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!editBookmarks@{editBookmarks}}
\index{editBookmarks@{editBookmarks}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::edit\-Bookmarks (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a107}


Edit the application bookmarks. 



Definition at line 292 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!spelling@{spelling}}
\index{spelling@{spelling}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::spelling (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a108}


Pop up the spell checker. 



Definition at line 294 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!showMenubar@{showMenubar}}
\index{showMenubar@{showMenubar}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KToggle\-Action} $\ast$ KStd\-Action::show\-Menubar (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a109}


Show/Hide the menubar. 



Definition at line 297 of file kstdaction.cpp.

References name(), and KToggle\-Action::set\-Checked().\index{KStdAction@{KStd\-Action}!showToolbar@{showToolbar}}
\index{showToolbar@{showToolbar}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KToggle\-Action} $\ast$ KStd\-Action::show\-Toolbar (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a110}


\begin{Desc}
\item[{\bf Deprecated}]. toolbar actions are created automatically now in the Settings menu. Don't use this anymore Show/Hide the primary toolbar. \begin{Desc}
\item[Since:]3.1 \end{Desc}
\end{Desc}


Definition at line 306 of file kstdaction.cpp.

References name(), and KToggle\-Action::set\-Checked().\index{KStdAction@{KStd\-Action}!showToolbar@{showToolbar}}
\index{showToolbar@{showToolbar}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KToggle\-Tool\-Bar\-Action} $\ast$ KStd\-Action::show\-Toolbar (const char $\ast$ {\em tool\-Bar\-Name}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a111}


\begin{Desc}
\item[{\bf Deprecated}]. toolbar actions are created automatically now in the Settings menu. Don't use this anymore Show/Hide the primary toolbar. \end{Desc}


Definition at line 316 of file kstdaction.cpp.

References name().\index{KStdAction@{KStd\-Action}!showStatusbar@{showStatusbar}}
\index{showStatusbar@{showStatusbar}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KToggle\-Action} $\ast$ KStd\-Action::show\-Statusbar (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a112}


Show/Hide the statusbar. 



Definition at line 324 of file kstdaction.cpp.

References name(), and KToggle\-Action::set\-Checked().\index{KStdAction@{KStd\-Action}!saveOptions@{saveOptions}}
\index{saveOptions@{saveOptions}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::save\-Options (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a113}


Display the save options dialog. 



Definition at line 334 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!keyBindings@{keyBindings}}
\index{keyBindings@{keyBindings}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::key\-Bindings (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a114}


Display the configure key bindings dialog. 



Definition at line 336 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!preferences@{preferences}}
\index{preferences@{preferences}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::preferences (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a115}


Display the preferences/options dialog. 



Definition at line 338 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!configureToolbars@{configureToolbars}}
\index{configureToolbars@{configureToolbars}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::configure\-Toolbars (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a116}


The Customize Toolbar dialog. 



Definition at line 340 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!configureNotifications@{configureNotifications}}
\index{configureNotifications@{configureNotifications}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::configure\-Notifications (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a117}


The Configure Notifications dialo \begin{Desc}
\item[Since:]3.1. \end{Desc}




Definition at line 342 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!help@{help}}
\index{help@{help}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::help (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a118}


Display the help. 



Definition at line 344 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!helpContents@{helpContents}}
\index{helpContents@{helpContents}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::help\-Contents (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a119}


Display the help contents. 



Definition at line 346 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().

Referenced by KHelp\-Menu::KHelp\-Menu().\index{KStdAction@{KStd\-Action}!whatsThis@{whatsThis}}
\index{whatsThis@{whatsThis}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::whats\-This (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a120}


Trigger the What's This cursor. 



Definition at line 348 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().

Referenced by KHelp\-Menu::KHelp\-Menu().\index{KStdAction@{KStd\-Action}!tipOfDay@{tipOfDay}}
\index{tipOfDay@{tipOfDay}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::tip\-Of\-Day (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a121}


Display \char`\"{}Tip of the Day\char`\"{} \begin{Desc}
\item[Since:]3.1. \end{Desc}




Definition at line 350 of file kstdaction.cpp.

References create(), KStd\-Accel::name(), and Tipof\-Day.\index{KStdAction@{KStd\-Action}!reportBug@{reportBug}}
\index{reportBug@{reportBug}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::report\-Bug (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a122}


Open up the Report Bug dialog. 



Definition at line 352 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().

Referenced by KHelp\-Menu::KHelp\-Menu().\index{KStdAction@{KStd\-Action}!aboutApp@{aboutApp}}
\index{aboutApp@{aboutApp}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::about\-App (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a123}


Display the application's About box. 



Definition at line 354 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().

Referenced by KHelp\-Menu::KHelp\-Menu().\index{KStdAction@{KStd\-Action}!aboutKDE@{aboutKDE}}
\index{aboutKDE@{aboutKDE}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction} $\ast$ KStd\-Action::about\-KDE (const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0)}\label{namespaceKStdAction_a124}


Display the About {\bf KDE} dialog. 



Definition at line 356 of file kstdaction.cpp.

References create(), and KStd\-Accel::name().

Referenced by KHelp\-Menu::KHelp\-Menu().\index{KStdAction@{KStd\-Action}!action@{action}}
\index{action@{action}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAction}$\ast$ action (Std\-Action {\em act\_\-enum}, const {\bf QObject} $\ast$ {\em recvr}, const char $\ast$ {\em slot}, {\bf KAction\-Collection} $\ast$ {\em parent}, const char $\ast$ {\em name} = 0L)\hspace{0.3cm}{\tt  [inline]}}\label{namespaceKStdAction_a126}


\begin{Desc}
\item[{\bf Deprecated}]. Creates an action corresponding to the {\bf KStd\-Action::Std\-Action}{\rm (p.\,\pageref{namespaceKStdAction_a128})} enum. \end{Desc}


Definition at line 172 of file kstdaction.h.

References create(), and KStd\-Accel::name().\index{KStdAction@{KStd\-Action}!stdName@{stdName}}
\index{stdName@{stdName}!KStdAction@{KStd\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ std\-Name (Std\-Action {\em act\_\-enum})\hspace{0.3cm}{\tt  [inline]}}\label{namespaceKStdAction_a127}


\begin{Desc}
\item[{\bf Deprecated}]. Use {\bf name}{\rm (p.\,\pageref{namespaceKStdAction_a64})}\end{Desc}


Definition at line 183 of file kstdaction.h.

References name().