\section{KParts::Part\-Activate\-Event Class Reference}
\label{classKParts_1_1PartActivateEvent}\index{KParts::PartActivateEvent@{KParts::PartActivateEvent}}
This event is sent by the part manager when the active part changes.  


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

Inheritance diagram for KParts::Part\-Activate\-Event:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=87pt]{classKParts_1_1PartActivateEvent__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KParts::Part\-Activate\-Event:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=288pt]{classKParts_1_1PartActivateEvent__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Part\-Activate\-Event} (bool activated, {\bf Part} $\ast$part, {\bf QWidget} $\ast$widget)\label{classKParts_1_1PartActivateEvent_a0}

\item 
bool {\bf activated} () const \label{classKParts_1_1PartActivateEvent_a1}

\item 
{\bf Part} $\ast$ {\bf part} () const \label{classKParts_1_1PartActivateEvent_a2}

\item 
{\bf QWidget} $\ast$ {\bf widget} () const \label{classKParts_1_1PartActivateEvent_a3}

\end{CompactItemize}
\subsection*{Static Public Member Functions}
\begin{CompactItemize}
\item 
bool {\bf test} (const  {\bf QEvent} $\ast$event)\label{classKParts_1_1PartActivateEvent_e0}

\end{CompactItemize}


\subsection{Detailed Description}
This event is sent by the part manager when the active part changes. 

Each time the active part changes, it will send first a {\bf Part\-Activate\-Event}{\rm (p.\,\pageref{classKParts_1_1PartActivateEvent})} with activated=false, part=old\-Active\-Part, widget=old\-Active\-Widget and then another {\bf Part\-Activate\-Event}{\rm (p.\,\pageref{classKParts_1_1PartActivateEvent})} with activated=true, part=new\-Part, widget=new\-Widget. \begin{Desc}
\item[See also:]{\bf KParts::Part::part\-Activate\-Event}{\rm (p.\,\pageref{classKParts_1_1Part_b2})} \end{Desc}




Definition at line 74 of file event.h.

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