\section{KToggle\-Full\-Screen\-Action Class Reference}
\label{classKToggleFullScreenAction}\index{KToggleFullScreenAction@{KToggleFullScreenAction}}
An action for switching between to/from full screen mode.  


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

Inheritance diagram for KToggle\-Full\-Screen\-Action:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=82pt]{classKToggleFullScreenAction__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KToggle\-Full\-Screen\-Action:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=101pt]{classKToggleFullScreenAction__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{CompactItemize}
\item 
virtual void {\bf set\-Checked} (bool)
\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KToggle\-Full\-Screen\-Action} (const {\bf KShortcut} \&cut, const {\bf QObject} $\ast$receiver, const char $\ast$slot, {\bf QObject} $\ast${\bf parent}, {\bf QWidget} $\ast$window, const char $\ast${\bf name})
\item 
void {\bf set\-Window} ({\bf QWidget} $\ast$window)
\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
virtual bool {\bf event\-Filter} ({\bf QObject} $\ast$o, {\bf QEvent} $\ast$e)\label{classKToggleFullScreenAction_b0}

\item 
virtual void {\bf virtual\_\-hook} (int id, void $\ast$data)\label{classKToggleFullScreenAction_b1}

\end{CompactItemize}


\subsection{Detailed Description}
An action for switching between to/from full screen mode. 

Note that {\bf QWidget::is\-Full\-Screen()} may reflect the new or the old state depending on how the action was triggered (by the application or from the window manager). Also don't try to track the window state yourself. Rely on this action's state ({\bf is\-Checked()}{\rm (p.\,\pageref{classKToggleAction_a9})}) instead.

Important: If you need to set/change the fullscreen state manually, use the relevant {\bf QWidget} function (show\-Full\-Screen etc.), do not call directly the slot connected to the toggled() signal. The slot still needs to explicitly set the window state though. \begin{Desc}
\item[Since:]3.2 \end{Desc}




Definition at line 1218 of file kactionclasses.h.

\subsection{Constructor \& Destructor Documentation}
\index{KToggleFullScreenAction@{KToggle\-Full\-Screen\-Action}!KToggleFullScreenAction@{KToggleFullScreenAction}}
\index{KToggleFullScreenAction@{KToggleFullScreenAction}!KToggleFullScreenAction@{KToggle\-Full\-Screen\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KToggle\-Full\-Screen\-Action::KToggle\-Full\-Screen\-Action (const {\bf KShortcut} \& {\em cut}, const {\bf QObject} $\ast$ {\em receiver}, const char $\ast$ {\em slot}, {\bf QObject} $\ast$ {\em parent}, {\bf QWidget} $\ast$ {\em window}, const char $\ast$ {\em name})}\label{classKToggleFullScreenAction_a0}


Create a KToggle\-Full\-Screen\-Action. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cut}]The corresponding keyboard accelerator (shortcut). \item[{\em receiver}]The SLOT's parent. \item[{\em slot}]The SLOT to invoke to execute this action. \item[{\em parent}]This action's parent. \item[{\em window}]the window that will switch to/from full screen mode \item[{\em name}]An internal name for this action. \end{description}
\end{Desc}


Definition at line 1948 of file kactionclasses.cpp.

References set\-Window().

\subsection{Member Function Documentation}
\index{KToggleFullScreenAction@{KToggle\-Full\-Screen\-Action}!setWindow@{setWindow}}
\index{setWindow@{setWindow}!KToggleFullScreenAction@{KToggle\-Full\-Screen\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KToggle\-Full\-Screen\-Action::set\-Window ({\bf QWidget} $\ast$ {\em window})}\label{classKToggleFullScreenAction_a2}


Sets the window that will be related to this action. 



Definition at line 1962 of file kactionclasses.cpp.

Referenced by KStd\-Action::full\-Screen(), and KToggle\-Full\-Screen\-Action().\index{KToggleFullScreenAction@{KToggle\-Full\-Screen\-Action}!setChecked@{setChecked}}
\index{setChecked@{setChecked}!KToggleFullScreenAction@{KToggle\-Full\-Screen\-Action}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KToggle\-Full\-Screen\-Action::set\-Checked (bool)\hspace{0.3cm}{\tt  [virtual, slot]}}\label{classKToggleFullScreenAction_i0}


Sets the state of the action. 



Reimplemented from {\bf KToggle\-Action} {\rm (p.\,\pageref{classKToggleAction_i0})}.

Definition at line 1971 of file kactionclasses.cpp.

References KToggle\-Action::set\-Checked(), and KAction::set\-Text().

Referenced by KStd\-Action::create().

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