\section{KStd\-Gui\-Item Class Reference}
\label{classKStdGuiItem}\index{KStdGuiItem@{KStdGuiItem}}
Provides a set of standardized KGui\-Items.  


{\tt \#include $<$kstdguiitem.h$>$}

\subsection*{Public Types}
\begin{CompactItemize}
\item 
enum {\bf Bidi\-Mode} \{ {\bf Use\-RTL} =  0, 
{\bf Ignore\-RTL}
 \}
\item 
enum {\bf Std\-Item} \{ \par
{\bf Ok} = 1, 
{\bf Cancel}, 
{\bf Yes}, 
{\bf No}, 
\par
{\bf Discard}, 
{\bf Save}, 
{\bf Dont\-Save}, 
{\bf Save\-As}, 
\par
{\bf Apply}, 
{\bf Clear}, 
{\bf Help}, 
{\bf Defaults}, 
\par
{\bf Close}, 
{\bf Back}, 
{\bf Forward}, 
{\bf Print}, 
\par
{\bf Continue}, 
{\bf Open}, 
{\bf Quit}, 
{\bf Admin\-Mode}, 
\par
{\bf Reset}, 
{\bf Delete}, 
{\bf Insert}, 
{\bf Configure}, 
\par
{\bf Find}, 
{\bf Stop}, 
{\bf Add}, 
{\bf Remove}, 
\par
{\bf Test}, 
{\bf Properties}
 \}
\end{CompactItemize}
\subsection*{Static Public Member Functions}
\begin{CompactItemize}
\item 
static {\bf KGui\-Item} {\bf gui\-Item} ({\bf Std\-Item} ui\_\-enum)\label{classKStdGuiItem_e0}

\item 
static {\bf QString} {\bf std\-Item} ({\bf Std\-Item} ui\_\-enum)\label{classKStdGuiItem_e1}

\item 
static {\bf KGui\-Item} {\bf ok} ()\label{classKStdGuiItem_e2}

\item 
static {\bf KGui\-Item} {\bf cancel} ()\label{classKStdGuiItem_e3}

\item 
static {\bf KGui\-Item} {\bf yes} ()\label{classKStdGuiItem_e4}

\item 
static {\bf KGui\-Item} {\bf no} ()\label{classKStdGuiItem_e5}

\item 
static {\bf KGui\-Item} {\bf insert} ()\label{classKStdGuiItem_e6}

\item 
static {\bf KGui\-Item} {\bf discard} ()\label{classKStdGuiItem_e7}

\item 
static {\bf KGui\-Item} {\bf save} ()\label{classKStdGuiItem_e8}

\item 
static {\bf KGui\-Item} {\bf help} ()\label{classKStdGuiItem_e9}

\item 
static {\bf KGui\-Item} {\bf dont\-Save} ()\label{classKStdGuiItem_e10}

\item 
static {\bf KGui\-Item} {\bf save\-As} ()\label{classKStdGuiItem_e11}

\item 
static {\bf KGui\-Item} {\bf apply} ()\label{classKStdGuiItem_e12}

\item 
static {\bf KGui\-Item} {\bf clear} ()\label{classKStdGuiItem_e13}

\item 
static {\bf KGui\-Item} {\bf defaults} ()\label{classKStdGuiItem_e14}

\item 
static {\bf KGui\-Item} {\bf close} ()\label{classKStdGuiItem_e15}

\item 
static {\bf KGui\-Item} {\bf print} ()\label{classKStdGuiItem_e16}

\item 
static {\bf KGui\-Item} {\bf properties} ()
\item 
static {\bf KGui\-Item} {\bf reset} ()\label{classKStdGuiItem_e18}

\item 
static {\bf KGui\-Item} {\bf admin\-Mode} ()
\item 
static {\bf KGui\-Item} {\bf cont} ()
\item 
static {\bf KGui\-Item} {\bf del} ()
\item 
static {\bf KGui\-Item} {\bf open} ()\label{classKStdGuiItem_e22}

\item 
static {\bf KGui\-Item} {\bf back} ({\bf Bidi\-Mode} use\-Bidi=Ignore\-RTL)
\item 
static {\bf KGui\-Item} {\bf forward} ({\bf Bidi\-Mode} use\-Bidi=Ignore\-RTL)
\item 
static {\bf KGui\-Item} {\bf configure} ()
\item 
static {\bf QPair}$<$ {\bf KGui\-Item}, {\bf KGui\-Item} $>$ {\bf back\-And\-Forward} ()
\item 
static {\bf KGui\-Item} {\bf quit} ()\label{classKStdGuiItem_e27}

\item 
static {\bf KGui\-Item} {\bf find} ()
\item 
static {\bf KGui\-Item} {\bf stop} ()
\item 
static {\bf KGui\-Item} {\bf add} ()
\item 
static {\bf KGui\-Item} {\bf remove} ()
\item 
static {\bf KGui\-Item} {\bf test} ()
\end{CompactItemize}


\subsection{Detailed Description}
Provides a set of standardized KGui\-Items. 

The various static methods returns standardized {\bf KGui\-Item}{\rm (p.\,\pageref{classKGuiItem})}'s conforming to the {\bf KDE} UI Standards. Use them instead of creating your own.

\begin{Desc}
\item[Author:]Holger Freyther $<${\tt freyther@kde.org}$>$ \end{Desc}




Definition at line 37 of file kstdguiitem.h.

\subsection{Member Enumeration Documentation}
\index{KStdGuiItem@{KStd\-Gui\-Item}!BidiMode@{BidiMode}}
\index{BidiMode@{BidiMode}!KStdGuiItem@{KStd\-Gui\-Item}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}enum {\bf KStd\-Gui\-Item::Bidi\-Mode}}\label{classKStdGuiItem_w32}


The back and forward items by default use the RTL settings for Hebrew and Arab countries. 

If you want those actions to ignore the RTL value and force 'Western' behavior instead, use the Ignore\-RTL value instead. 

Definition at line 45 of file kstdguiitem.h.\index{KStdGuiItem@{KStd\-Gui\-Item}!StdItem@{StdItem}}
\index{StdItem@{StdItem}!KStdGuiItem@{KStd\-Gui\-Item}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}enum {\bf KStd\-Gui\-Item::Std\-Item}}\label{classKStdGuiItem_w33}


\begin{Desc}
\item[Enumeration values: ]\par
\begin{description}
\index{Configure@{Configure}!KStdGuiItem@{KStdGuiItem}}\index{KStdGuiItem@{KStdGuiItem}!Configure@{Configure}}\item[{\em 
Configure\label{classKStdGuiItem_w33w25}
}]\begin{Desc}
\item[Since:]3.4 \end{Desc}
\index{Find@{Find}!KStdGuiItem@{KStdGuiItem}}\index{KStdGuiItem@{KStdGuiItem}!Find@{Find}}\item[{\em 
Find\label{classKStdGuiItem_w33w26}
}]\begin{Desc}
\item[Since:]3.4 \end{Desc}
\index{Stop@{Stop}!KStdGuiItem@{KStdGuiItem}}\index{KStdGuiItem@{KStdGuiItem}!Stop@{Stop}}\item[{\em 
Stop\label{classKStdGuiItem_w33w27}
}]\begin{Desc}
\item[Since:]3.4 \end{Desc}
\index{Add@{Add}!KStdGuiItem@{KStdGuiItem}}\index{KStdGuiItem@{KStdGuiItem}!Add@{Add}}\item[{\em 
Add\label{classKStdGuiItem_w33w28}
}]\begin{Desc}
\item[Since:]3.4 \end{Desc}
\index{Remove@{Remove}!KStdGuiItem@{KStdGuiItem}}\index{KStdGuiItem@{KStdGuiItem}!Remove@{Remove}}\item[{\em 
Remove\label{classKStdGuiItem_w33w29}
}]\begin{Desc}
\item[Since:]3.4 \end{Desc}
\index{Test@{Test}!KStdGuiItem@{KStdGuiItem}}\index{KStdGuiItem@{KStdGuiItem}!Test@{Test}}\item[{\em 
Test\label{classKStdGuiItem_w33w30}
}]\begin{Desc}
\item[Since:]3.4 \end{Desc}
\index{Properties@{Properties}!KStdGuiItem@{KStdGuiItem}}\index{KStdGuiItem@{KStdGuiItem}!Properties@{Properties}}\item[{\em 
Properties\label{classKStdGuiItem_w33w31}
}]\begin{Desc}
\item[Since:]3.4 \end{Desc}
\end{description}
\end{Desc}



Definition at line 47 of file kstdguiitem.h.

\subsection{Member Function Documentation}
\index{KStdGuiItem@{KStd\-Gui\-Item}!properties@{properties}}
\index{properties@{properties}!KStdGuiItem@{KStd\-Gui\-Item}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KGui\-Item} KStd\-Gui\-Item::properties ()\hspace{0.3cm}{\tt  [static]}}\label{classKStdGuiItem_e17}


\begin{Desc}
\item[Since:]3.4 \end{Desc}




Definition at line 275 of file kstdguiitem.cpp.\index{KStdGuiItem@{KStd\-Gui\-Item}!adminMode@{adminMode}}
\index{adminMode@{adminMode}!KStdGuiItem@{KStd\-Gui\-Item}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KGui\-Item} KStd\-Gui\-Item::admin\-Mode ()\hspace{0.3cm}{\tt  [static]}}\label{classKStdGuiItem_e19}


Returns a {\bf KGui\-Item}{\rm (p.\,\pageref{classKGuiItem})} suiting for cases where code or functionality runs under root privileges. 

Used in conjunction with {\bf KConfig} Modules. 

Definition at line 149 of file kstdguiitem.cpp.\index{KStdGuiItem@{KStd\-Gui\-Item}!cont@{cont}}
\index{cont@{cont}!KStdGuiItem@{KStd\-Gui\-Item}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KGui\-Item} KStd\-Gui\-Item::cont ()\hspace{0.3cm}{\tt  [static]}}\label{classKStdGuiItem_e20}


Returns a \char`\"{}continue\char`\"{} item. 

The short name is due to \char`\"{}continue\char`\"{} being a reserved word in the C++ language. 

Definition at line 210 of file kstdguiitem.cpp.\index{KStdGuiItem@{KStd\-Gui\-Item}!del@{del}}
\index{del@{del}!KStdGuiItem@{KStd\-Gui\-Item}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KGui\-Item} KStd\-Gui\-Item::del ()\hspace{0.3cm}{\tt  [static]}}\label{classKStdGuiItem_e21}


Returns a \char`\"{}delete\char`\"{} item. 

The short name is due to \char`\"{}delete\char`\"{} being a reserved word in the C++ language. \begin{Desc}
\item[Since:]3.3 \end{Desc}


Definition at line 216 of file kstdguiitem.cpp.\index{KStdGuiItem@{KStd\-Gui\-Item}!back@{back}}
\index{back@{back}!KStdGuiItem@{KStd\-Gui\-Item}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KGui\-Item} KStd\-Gui\-Item::back ({\bf Bidi\-Mode} {\em use\-Bidi} = {\tt IgnoreRTL})\hspace{0.3cm}{\tt  [static]}}\label{classKStdGuiItem_e23}


Return a GUI item for a 'back' action, like Konqueror's back button. 

This GUI item can optionally honor the user's setting for Bi\-Di, so the icon for right-to-left languages (Hebrew and Arab) has the arrow pointing in the opposite direction. By default the arrow points in the Western 'back' direction (i.e. to the left). This is because usually you only want the Bidi aware GUI item if you also want the 'forward' item. Those two are available in the separate {\bf back\-And\-Forward()}{\rm (p.\,\pageref{classKStdGuiItem_e26})} method. 

Definition at line 182 of file kstdguiitem.cpp.

References QApplication::reverse\-Layout().

Referenced by back\-And\-Forward(), and KWizard::KWizard().\index{KStdGuiItem@{KStd\-Gui\-Item}!forward@{forward}}
\index{forward@{forward}!KStdGuiItem@{KStd\-Gui\-Item}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KGui\-Item} KStd\-Gui\-Item::forward ({\bf Bidi\-Mode} {\em use\-Bidi} = {\tt IgnoreRTL})\hspace{0.3cm}{\tt  [static]}}\label{classKStdGuiItem_e24}


Return a GUI item for a 'forward' action, like Konqueror's forward button. 

This GUI item can optionally honor the user's setting for Bi\-Di, so the icon for right-to-left languages (Hebrew and Arab) has the arrow pointing in the opposite direction. By default the arrow points in the Western 'forward' direction (i.e. to the right). This is because usually you only want the Bidi aware GUI item if you also want the 'back' item. Those two are available in the separate {\bf back\-And\-Forward()}{\rm (p.\,\pageref{classKStdGuiItem_e26})} method. 

Definition at line 190 of file kstdguiitem.cpp.

References QApplication::reverse\-Layout().

Referenced by back\-And\-Forward(), and KWizard::KWizard().\index{KStdGuiItem@{KStd\-Gui\-Item}!configure@{configure}}
\index{configure@{configure}!KStdGuiItem@{KStd\-Gui\-Item}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KGui\-Item} KStd\-Gui\-Item::configure ()\hspace{0.3cm}{\tt  [static]}}\label{classKStdGuiItem_e25}


Returns a \char`\"{}configure\char`\"{} item. 

\begin{Desc}
\item[Since:]3.4 \end{Desc}


Definition at line 245 of file kstdguiitem.cpp.\index{KStdGuiItem@{KStd\-Gui\-Item}!backAndForward@{backAndForward}}
\index{backAndForward@{backAndForward}!KStdGuiItem@{KStd\-Gui\-Item}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QPair}$<$ {\bf KGui\-Item}, {\bf KGui\-Item} $>$ KStd\-Gui\-Item::back\-And\-Forward ()\hspace{0.3cm}{\tt  [static]}}\label{classKStdGuiItem_e26}


Return both a back and a forward item. 

This function always returns items that are aware of the Right-to-Left setting for Arab and Hebrew locales. If you have a reason for wanting the 'Western' back/forward buttons, please use the {\bf back()}{\rm (p.\,\pageref{classKStdGuiItem_e23})} and {\bf forward()}{\rm (p.\,\pageref{classKStdGuiItem_e24})} items instead. 

Definition at line 198 of file kstdguiitem.cpp.

References back(), and forward().\index{KStdGuiItem@{KStd\-Gui\-Item}!find@{find}}
\index{find@{find}!KStdGuiItem@{KStd\-Gui\-Item}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KGui\-Item} KStd\-Gui\-Item::find ()\hspace{0.3cm}{\tt  [static]}}\label{classKStdGuiItem_e28}


Returns a \char`\"{}find\char`\"{} item. 

\begin{Desc}
\item[Since:]3.4 \end{Desc}


Definition at line 250 of file kstdguiitem.cpp.\index{KStdGuiItem@{KStd\-Gui\-Item}!stop@{stop}}
\index{stop@{stop}!KStdGuiItem@{KStd\-Gui\-Item}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KGui\-Item} KStd\-Gui\-Item::stop ()\hspace{0.3cm}{\tt  [static]}}\label{classKStdGuiItem_e29}


Returns a \char`\"{}stop\char`\"{} item. 

\begin{Desc}
\item[Since:]3.4 \end{Desc}


Definition at line 255 of file kstdguiitem.cpp.\index{KStdGuiItem@{KStd\-Gui\-Item}!add@{add}}
\index{add@{add}!KStdGuiItem@{KStd\-Gui\-Item}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KGui\-Item} KStd\-Gui\-Item::add ()\hspace{0.3cm}{\tt  [static]}}\label{classKStdGuiItem_e30}


Returns a \char`\"{}add\char`\"{} item. 

\begin{Desc}
\item[Since:]3.4 \end{Desc}


Definition at line 260 of file kstdguiitem.cpp.\index{KStdGuiItem@{KStd\-Gui\-Item}!remove@{remove}}
\index{remove@{remove}!KStdGuiItem@{KStd\-Gui\-Item}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KGui\-Item} KStd\-Gui\-Item::remove ()\hspace{0.3cm}{\tt  [static]}}\label{classKStdGuiItem_e31}


Returns a \char`\"{}remove\char`\"{} item. 

\begin{Desc}
\item[Since:]3.4 \end{Desc}


Definition at line 265 of file kstdguiitem.cpp.\index{KStdGuiItem@{KStd\-Gui\-Item}!test@{test}}
\index{test@{test}!KStdGuiItem@{KStd\-Gui\-Item}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KGui\-Item} KStd\-Gui\-Item::test ()\hspace{0.3cm}{\tt  [static]}}\label{classKStdGuiItem_e32}


Returns a \char`\"{}test\char`\"{} item. 

\begin{Desc}
\item[Since:]3.4 \end{Desc}


Definition at line 270 of file kstdguiitem.cpp.

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
kstdguiitem.h\item 
kstdguiitem.cpp\end{CompactItemize}
