\section{KStartup\-Info Class Reference}
\label{classKStartupInfo}\index{KStartupInfo@{KStartupInfo}}
Class for manipulating the application startup notification.  


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

Inheritance diagram for KStartup\-Info:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=54pt]{classKStartupInfo__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KStartup\-Info:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=54pt]{classKStartupInfo__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{CompactItemize}
\item 
enum \{ {\bf Clean\-On\-Cant\-Detect} =  1 $<$$<$ 0, 
{\bf Disable\-KWin\-Module} =  1 $<$$<$ 1, 
{\bf Announce\-Silence\-Changes} =  1 $<$$<$ 2
 \}
\item 
enum {\bf startup\_\-t} \{ {\bf No\-Match}, 
{\bf Match}, 
{\bf Cant\-Detect}
 \}
\end{CompactItemize}
\subsection*{Signals}
\begin{CompactItemize}
\item 
void {\bf got\-New\-Startup} (const {\bf KStartup\-Info\-Id} \&id, const {\bf KStartup\-Info\-Data} \&data)
\item 
void {\bf got\-Startup\-Change} (const {\bf KStartup\-Info\-Id} \&id, const {\bf KStartup\-Info\-Data} \&data)
\item 
void {\bf got\-Remove\-Startup} (const {\bf KStartup\-Info\-Id} \&id, const {\bf KStartup\-Info\-Data} \&data)
\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KStartup\-Info} (int flags, {\bf QObject} $\ast${\bf parent}=NULL, const char $\ast${\bf name}=NULL)
\item 
{\bf KStartup\-Info} (bool clean\_\-on\_\-cantdetect, {\bf QObject} $\ast${\bf parent}=0, const char $\ast${\bf name}=0)
\item 
{\bf startup\_\-t} {\bf check\-Startup} (WId w)
\item 
{\bf startup\_\-t} {\bf check\-Startup} (WId w, {\bf KStartup\-Info\-Id} \&id)
\item 
{\bf startup\_\-t} {\bf check\-Startup} (WId w, {\bf KStartup\-Info\-Data} \&data)
\item 
{\bf startup\_\-t} {\bf check\-Startup} (WId w, {\bf KStartup\-Info\-Id} \&id, {\bf KStartup\-Info\-Data} \&data)
\item 
void {\bf set\-Timeout} (unsigned int secs)
\end{CompactItemize}
\subsection*{Static Public Member Functions}
\begin{CompactItemize}
\item 
static void {\bf disable\-Auto\-App\-Started\-Sending} (bool disable=true)
\item 
static void {\bf app\-Started} ()
\item 
static void {\bf app\-Started} (const {\bf QCString} \&startup\_\-id)
\item 
static void {\bf set\-New\-Startup\-Id} ({\bf QWidget} $\ast$window, const {\bf QCString} \&startup\_\-id)
\item 
static void {\bf silence\-Startup} (bool silence)
\item 
static {\bf QCString} {\bf create\-New\-Startup\-Id} ()
\item 
static bool {\bf send\-Startup} (const {\bf KStartup\-Info\-Id} \&id, const {\bf KStartup\-Info\-Data} \&data)
\item 
static bool {\bf send\-Startup\-X} (Display $\ast$dpy, const {\bf KStartup\-Info\-Id} \&id, const {\bf KStartup\-Info\-Data} \&data)
\item 
static bool {\bf send\-Change} (const {\bf KStartup\-Info\-Id} \&id, const {\bf KStartup\-Info\-Data} \&data)
\item 
static bool {\bf send\-Change\-X} (Display $\ast$dpy, const {\bf KStartup\-Info\-Id} \&id, const {\bf KStartup\-Info\-Data} \&data)
\item 
static bool {\bf send\-Finish} (const {\bf KStartup\-Info\-Id} \&id)
\item 
static bool {\bf send\-Finish\-X} (Display $\ast$dpy, const {\bf KStartup\-Info\-Id} \&id)
\item 
static bool {\bf send\-Finish} (const {\bf KStartup\-Info\-Id} \&id, const {\bf KStartup\-Info\-Data} \&data)
\item 
static bool {\bf send\-Finish\-X} (Display $\ast$dpy, const {\bf KStartup\-Info\-Id} \&id, const {\bf KStartup\-Info\-Data} \&data)
\item 
static {\bf KStartup\-Info\-Id} {\bf current\-Startup\-Id\-Env} ()
\item 
static void {\bf reset\-Startup\-Env} ()
\item 
static void {\bf set\-Window\-Startup\-Id} (WId window, const {\bf QCString} \&id)
\item 
static {\bf QCString} {\bf window\-Startup\-Id} (WId w)
\item 
static void {\bf handle\-Auto\-App\-Started\-Sending} ()\label{classKStartupInfo_e18}

\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
virtual void {\bf custom\-Event} ({\bf QCustom\-Event} $\ast$e\_\-P)\label{classKStartupInfo_b0}

\end{CompactItemize}
\subsection*{Friends}
\begin{CompactItemize}
\item 
class {\bf KStartup\-Info\-Private}\label{classKStartupInfo_n0}

\end{CompactItemize}


\subsection{Detailed Description}
Class for manipulating the application startup notification. 

This class can be used to send information about started application, change the information and receive this information. For detailed description, see kdelibs/kdecore/README.kstartupinfo.

You usually don't need to use this class for sending the notification information, as {\bf KDE}{\rm (p.\,\pageref{namespaceKDE})} libraries should do this when an application is started (e.g. {\bf KRun} class).

For receiving the startup notification info, create an instance and connect to its slots. It will automatically detect started applications and when they are ready.

\begin{Desc}
\item[See also:]{\bf KStartup\-Info\-Id}{\rm (p.\,\pageref{classKStartupInfoId})} 

{\bf KStartup\-Info\-Data}{\rm (p.\,\pageref{classKStartupInfoData})}\end{Desc}
\begin{Desc}
\item[Author:]Lubos Lunak $<${\tt l.lunak@kde.org}$>$ \end{Desc}




Definition at line 63 of file kstartupinfo.h.

\subsection{Member Enumeration Documentation}
\index{KStartupInfo@{KStartup\-Info}!startup_t@{startup\_\-t}}
\index{startup_t@{startup\_\-t}!KStartupInfo@{KStartup\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}enum {\bf KStartup\-Info::startup\_\-t}}\label{classKStartupInfo_w7}


\begin{itemize}
\item No\-Match - the window doesn't match any existing startup notification \item Match - the window matches an existing startup notification \item Cant\-Detect - unable to detect if the window matches any existing startup notification \end{itemize}




Definition at line 261 of file kstartupinfo.h.

\subsection{Constructor \& Destructor Documentation}
\index{KStartupInfo@{KStartup\-Info}!KStartupInfo@{KStartupInfo}}
\index{KStartupInfo@{KStartupInfo}!KStartupInfo@{KStartup\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KStartup\-Info::KStartup\-Info (int {\em flags}, {\bf QObject} $\ast$ {\em parent} = {\tt NULL}, const char $\ast$ {\em name} = {\tt NULL})}\label{classKStartupInfo_a0}


Creates an instance that will receive the startup notifications. 

The various flags passed may be \begin{itemize}
\item Clean\-On\-Cant\-Detect - when a new unknown window appears, all startup notifications for applications that are not compliant with the startup protocol are removed \item Disable\-KWin\-Module - KWin\-Module, which is normally used to detect new windows, is disabled. With this flag, {\bf check\-Startup()}{\rm (p.\,\pageref{classKStartupInfo_a3})} must be called in order to check newly mapped windows. \item Announce\-Silence\-Changes - normally, startup notifications are \char`\"{}removed\char`\"{} when they're silenced, and \char`\"{}recreated\char`\"{} when they're resumed. With this flag, the change is normally announced with {\bf got\-Startup\-Change()}{\rm (p.\,\pageref{classKStartupInfo_l1})}.\end{itemize}
\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em flags}]OR-ed combination of flags \item[{\em parent}]the parent of this {\bf QObject} (can be 0 for no parent) \item[{\em name}]the name of the {\bf QObject} (can be 0 for no name)\end{description}
\end{Desc}


Definition at line 114 of file kstartupinfo.cpp.\index{KStartupInfo@{KStartup\-Info}!KStartupInfo@{KStartupInfo}}
\index{KStartupInfo@{KStartupInfo}!KStartupInfo@{KStartup\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KStartup\-Info::KStartup\-Info (bool {\em clean\_\-on\_\-cantdetect}, {\bf QObject} $\ast$ {\em parent} = {\tt 0}, const char $\ast$ {\em name} = {\tt 0})}\label{classKStartupInfo_a1}


Creates an instance that will receive the startup notifications. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em clean\_\-on\_\-cantdetect}]if true, and a new unknown window appears, removes all notification for applications that are not compliant with the app startup protocol \item[{\em parent}]the parent of this {\bf QObject} (can be 0 for no parent) \item[{\em name}]the name of the {\bf QObject} (can be 0 for no name)\end{description}
\end{Desc}


\begin{Desc}
\item[{\bf Deprecated}]\end{Desc}


Definition at line 121 of file kstartupinfo.cpp.

\subsection{Member Function Documentation}
\index{KStartupInfo@{KStartup\-Info}!disableAutoAppStartedSending@{disableAutoAppStartedSending}}
\index{disableAutoAppStartedSending@{disableAutoAppStartedSending}!KStartupInfo@{KStartup\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KStartup\-Info::disable\-Auto\-App\-Started\-Sending (bool {\em disable} = {\tt true})\hspace{0.3cm}{\tt  [static]}}\label{classKStartupInfo_e0}


By default, the startup notification is ended for the application after it shows its first toplevel window. 

If you app e.g. has several toplevel windows after its startup, you can disable the automatic handling, and call {\bf app\-Started()}{\rm (p.\,\pageref{classKStartupInfo_e1})} manually after all toplevel windows have been shown. \begin{Desc}
\item[Since:]3.2 \end{Desc}


Definition at line 523 of file kstartupinfo.cpp.\index{KStartupInfo@{KStartup\-Info}!appStarted@{appStarted}}
\index{appStarted@{appStarted}!KStartupInfo@{KStartup\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KStartup\-Info::app\-Started ()\hspace{0.3cm}{\tt  [static]}}\label{classKStartupInfo_e1}


Manual notification that the application has started. 

If you do not map a (toplevel) window, then startup notification will not disappear for the application until a timeout. You can use this as an alternative method in this case. 

Definition at line 494 of file kstartupinfo.cpp.

References current\-Startup\-Id\-Env().\index{KStartupInfo@{KStartup\-Info}!appStarted@{appStarted}}
\index{appStarted@{appStarted}!KStartupInfo@{KStartup\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KStartup\-Info::app\-Started (const {\bf QCString} \& {\em startup\_\-id})\hspace{0.3cm}{\tt  [static]}}\label{classKStartupInfo_e2}


Sends explicit notification that the startup notification with id startup\_\-id should end. 

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


Definition at line 502 of file kstartupinfo.cpp.

References send\-Finish(), and send\-Finish\-X().\index{KStartupInfo@{KStartup\-Info}!setNewStartupId@{setNewStartupId}}
\index{setNewStartupId@{setNewStartupId}!KStartupInfo@{KStartup\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KStartup\-Info::set\-New\-Startup\-Id ({\bf QWidget} $\ast$ {\em window}, const {\bf QCString} \& {\em startup\_\-id})\hspace{0.3cm}{\tt  [static]}}\label{classKStartupInfo_e3}


Use this function if the application got a request with startup notification from outside (for example, when {\bf KUnique\-Application::new\-Instance()}{\rm (p.\,\pageref{classKUniqueApplication_a4})} is called, or e.g. 

when khelpcenter opens new URL in its window). The window can be either an already existing and visible window, or a new one, before being shown. Note that this function is usually needed only when a window is reused. \begin{Desc}
\item[Since:]3.2 \end{Desc}


Definition at line 545 of file kstartupinfo.cpp.

References NETRoot\-Info::is\-Supported(), and set\-Window\-Startup\-Id().

Referenced by KUnique\-Application::new\-Instance().\index{KStartupInfo@{KStartup\-Info}!silenceStartup@{silenceStartup}}
\index{silenceStartup@{silenceStartup}!KStartupInfo@{KStartup\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KStartup\-Info::silence\-Startup (bool {\em silence})\hspace{0.3cm}{\tt  [static]}}\label{classKStartupInfo_e4}


If your application shows temporarily some window during its startup, for example a dialog, and only after closing it shows the main window, startup notification would normally be shown while the dialog is visible. 

To temporarily suspend and resume the notification, use this function. Note that this is cumulative, i.e. after suspending twice, you have to resume twice. \begin{Desc}
\item[Since:]3.2 \end{Desc}


Definition at line 528 of file kstartupinfo.cpp.

References send\-Change(), and KStartup\-Info\-Data::set\-Silent().\index{KStartupInfo@{KStartup\-Info}!createNewStartupId@{createNewStartupId}}
\index{createNewStartupId@{createNewStartupId}!KStartupInfo@{KStartup\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QCString} KStartup\-Info::create\-New\-Startup\-Id ()\hspace{0.3cm}{\tt  [static]}}\label{classKStartupInfo_e5}


Creates and returns new startup id. 

The id includes properly setup user timestamp. \begin{Desc}
\item[Since:]3.3 \end{Desc}


Definition at line 923 of file kstartupinfo.cpp.

References endl().

Referenced by KStartup\-Info\-Id::init\-Id().\index{KStartupInfo@{KStartup\-Info}!sendStartup@{sendStartup}}
\index{sendStartup@{sendStartup}!KStartupInfo@{KStartup\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KStartup\-Info::send\-Startup (const {\bf KStartup\-Info\-Id} \& {\em id}, const {\bf KStartup\-Info\-Data} \& {\em data})\hspace{0.3cm}{\tt  [static]}}\label{classKStartupInfo_e6}


Sends given notification data about started application with the given startup identification. 

If no notification for this identification exists yet, it is created, otherwise it's updated. Note that the name field in data is required.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em id}]the id of the application \item[{\em data}]the application's data \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]true if successful, false otherwise \end{Desc}
\begin{Desc}
\item[See also:]{\bf KStartup\-Info\-Id}{\rm (p.\,\pageref{classKStartupInfoId})} 

{\bf KStartup\-Info\-Data}{\rm (p.\,\pageref{classKStartupInfoData})}\end{Desc}


Definition at line 378 of file kstartupinfo.cpp.

References KXMessages::broadcast\-Message(), endl(), and QString::from\-Latin1().\index{KStartupInfo@{KStartup\-Info}!sendStartupX@{sendStartupX}}
\index{sendStartupX@{sendStartupX}!KStartupInfo@{KStartup\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KStartup\-Info::send\-Startup\-X (Display $\ast$ {\em dpy}, const {\bf KStartup\-Info\-Id} \& {\em id}, const {\bf KStartup\-Info\-Data} \& {\em data})\hspace{0.3cm}{\tt  [static]}}\label{classKStartupInfo_e7}


Like send\-Startup , uses dpy instead of qt\_\-x11display() for sending the info. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em dpy}]the display of the application. Note that the name field in data is required. \item[{\em id}]the id of the application \item[{\em data}]the application's data \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]true if successful, false otherwise\end{Desc}


Definition at line 391 of file kstartupinfo.cpp.

References KXMessages::broadcast\-Message\-X(), endl(), and QString::from\-Latin1().\index{KStartupInfo@{KStartup\-Info}!sendChange@{sendChange}}
\index{sendChange@{sendChange}!KStartupInfo@{KStartup\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KStartup\-Info::send\-Change (const {\bf KStartup\-Info\-Id} \& {\em id}, const {\bf KStartup\-Info\-Data} \& {\em data})\hspace{0.3cm}{\tt  [static]}}\label{classKStartupInfo_e8}


Sends given notification data about started application with the given startup identification. 

This is used for updating the notification info, if no notification for this identification exists, it's ignored. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em id}]the id of the application \item[{\em data}]the application's data \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]true if successful, false otherwise \end{Desc}
\begin{Desc}
\item[See also:]{\bf KStartup\-Info\-Id}{\rm (p.\,\pageref{classKStartupInfoId})} 

{\bf KStartup\-Info\-Data}{\rm (p.\,\pageref{classKStartupInfoData})}\end{Desc}


Definition at line 422 of file kstartupinfo.cpp.

References QString::arg(), KXMessages::broadcast\-Message(), endl(), and QString::from\-Latin1().

Referenced by silence\-Startup().\index{KStartupInfo@{KStartup\-Info}!sendChangeX@{sendChangeX}}
\index{sendChangeX@{sendChangeX}!KStartupInfo@{KStartup\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KStartup\-Info::send\-Change\-X (Display $\ast$ {\em dpy}, const {\bf KStartup\-Info\-Id} \& {\em id}, const {\bf KStartup\-Info\-Data} \& {\em data})\hspace{0.3cm}{\tt  [static]}}\label{classKStartupInfo_e9}


Like send\-Change , uses dpy instead of qt\_\-x11display() for sending the info. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em dpy}]the display of the application. \item[{\em id}]the id of the application \item[{\em data}]the application's data \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]true if successful, false otherwise\end{Desc}


Definition at line 434 of file kstartupinfo.cpp.

References KXMessages::broadcast\-Message\-X(), endl(), and QString::from\-Latin1().

Referenced by KUnique\-Application::start().\index{KStartupInfo@{KStartup\-Info}!sendFinish@{sendFinish}}
\index{sendFinish@{sendFinish}!KStartupInfo@{KStartup\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KStartup\-Info::send\-Finish (const {\bf KStartup\-Info\-Id} \& {\em id})\hspace{0.3cm}{\tt  [static]}}\label{classKStartupInfo_e10}


Ends startup notification with the given identification. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em id}]the id of the application \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]true if successful, false otherwise\end{Desc}


Definition at line 447 of file kstartupinfo.cpp.

References KXMessages::broadcast\-Message(), endl(), and QString::from\-Latin1().

Referenced by app\-Started().\index{KStartupInfo@{KStartup\-Info}!sendFinishX@{sendFinishX}}
\index{sendFinishX@{sendFinishX}!KStartupInfo@{KStartup\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KStartup\-Info::send\-Finish\-X (Display $\ast$ {\em dpy}, const {\bf KStartup\-Info\-Id} \& {\em id})\hspace{0.3cm}{\tt  [static]}}\label{classKStartupInfo_e11}


Like send\-Finish , uses dpy instead of qt\_\-x11display() for sending the info. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em dpy}]the display of the application. \item[{\em id}]the id of the application \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]true if successful, false otherwise\end{Desc}


Definition at line 458 of file kstartupinfo.cpp.

References KXMessages::broadcast\-Message\-X(), endl(), and QString::from\-Latin1().

Referenced by app\-Started(), and KUnique\-Application::start().\index{KStartupInfo@{KStartup\-Info}!sendFinish@{sendFinish}}
\index{sendFinish@{sendFinish}!KStartupInfo@{KStartup\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KStartup\-Info::send\-Finish (const {\bf KStartup\-Info\-Id} \& {\em id}, const {\bf KStartup\-Info\-Data} \& {\em data})\hspace{0.3cm}{\tt  [static]}}\label{classKStartupInfo_e12}


Ends startup notification with the given identification and the given data ( e.g. 

PIDs of processes for this startup notification that exited ). \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em id}]the id of the application \item[{\em data}]the application's data \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]true if successful, false otherwise\end{Desc}


Definition at line 469 of file kstartupinfo.cpp.

References KXMessages::broadcast\-Message(), endl(), and QString::from\-Latin1().\index{KStartupInfo@{KStartup\-Info}!sendFinishX@{sendFinishX}}
\index{sendFinishX@{sendFinishX}!KStartupInfo@{KStartup\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KStartup\-Info::send\-Finish\-X (Display $\ast$ {\em dpy}, const {\bf KStartup\-Info\-Id} \& {\em id}, const {\bf KStartup\-Info\-Data} \& {\em data})\hspace{0.3cm}{\tt  [static]}}\label{classKStartupInfo_e13}


Like send\-Finish , uses dpy instead of qt\_\-x11display() for sending the info. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em dpy}]the display of the application. \item[{\em id}]the id of the application \item[{\em data}]the application's data \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]true if successful, false otherwise\end{Desc}


Definition at line 481 of file kstartupinfo.cpp.

References KXMessages::broadcast\-Message\-X(), endl(), and QString::from\-Latin1().\index{KStartupInfo@{KStartup\-Info}!currentStartupIdEnv@{currentStartupIdEnv}}
\index{currentStartupIdEnv@{currentStartupIdEnv}!KStartupInfo@{KStartup\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KStartup\-Info\-Id} KStartup\-Info::current\-Startup\-Id\-Env ()\hspace{0.3cm}{\tt  [static]}}\label{classKStartupInfo_e14}


Returns the current startup notification identification for the current startup notification environment variable. 

Note that {\bf KApplication}{\rm (p.\,\pageref{classKApplication})} constructor unsets the variable and you have to use {\bf KApplication::startup\-Id}{\rm (p.\,\pageref{classKApplication_a41})} . \begin{Desc}
\item[Returns:]the current startup notification identification\end{Desc}


Definition at line 1008 of file kstartupinfo.cpp.

Referenced by app\-Started(), and KUnique\-Application::start().\index{KStartupInfo@{KStartup\-Info}!resetStartupEnv@{resetStartupEnv}}
\index{resetStartupEnv@{resetStartupEnv}!KStartupInfo@{KStartup\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KStartup\-Info::reset\-Startup\-Env ()\hspace{0.3cm}{\tt  [static]}}\label{classKStartupInfo_e15}


Unsets the startup notification environment variable. 



Definition at line 1019 of file kstartupinfo.cpp.\index{KStartupInfo@{KStartup\-Info}!checkStartup@{checkStartup}}
\index{checkStartup@{checkStartup}!KStartupInfo@{KStartup\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KStartup\-Info::startup\_\-t} KStartup\-Info::check\-Startup (WId {\em w})}\label{classKStartupInfo_a3}


Checks if the given windows matches any existing startup notification. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em w}]the window id to check \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]the result of the operation\end{Desc}


Definition at line 586 of file kstartupinfo.cpp.\index{KStartupInfo@{KStartup\-Info}!checkStartup@{checkStartup}}
\index{checkStartup@{checkStartup}!KStartupInfo@{KStartup\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KStartup\-Info::startup\_\-t} KStartup\-Info::check\-Startup (WId {\em w}, {\bf KStartup\-Info\-Id} \& {\em id})}\label{classKStartupInfo_a4}


Checks if the given windows matches any existing startup notification, and if yes, returns the identification in id. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em w}]the window id to check \item[{\em id}]if found, the id of the startup notification will be written here \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]the result of the operation\end{Desc}


Definition at line 576 of file kstartupinfo.cpp.\index{KStartupInfo@{KStartup\-Info}!checkStartup@{checkStartup}}
\index{checkStartup@{checkStartup}!KStartupInfo@{KStartup\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KStartup\-Info::startup\_\-t} KStartup\-Info::check\-Startup (WId {\em w}, {\bf KStartup\-Info\-Data} \& {\em data})}\label{classKStartupInfo_a5}


Checks if the given windows matches any existing startup notification, and if yes, returns the notification data in data. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em w}]the window id to check \item[{\em data}]if found, the data of the startup notification will be written here \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]the result of the operation\end{Desc}


Definition at line 581 of file kstartupinfo.cpp.\index{KStartupInfo@{KStartup\-Info}!checkStartup@{checkStartup}}
\index{checkStartup@{checkStartup}!KStartupInfo@{KStartup\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KStartup\-Info::startup\_\-t} KStartup\-Info::check\-Startup (WId {\em w}, {\bf KStartup\-Info\-Id} \& {\em id}, {\bf KStartup\-Info\-Data} \& {\em data})}\label{classKStartupInfo_a6}


Checks if the given windows matches any existing startup notification, and if yes, returns the identification in id and notification data in data. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em w}]the window id to check \item[{\em id}]if found, the id of the startup notification will be written here \item[{\em data}]if found, the data of the startup notification will be written here \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]the result of the operation\end{Desc}


Definition at line 570 of file kstartupinfo.cpp.\index{KStartupInfo@{KStartup\-Info}!setTimeout@{setTimeout}}
\index{setTimeout@{setTimeout}!KStartupInfo@{KStartup\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KStartup\-Info::set\-Timeout (unsigned int {\em secs})}\label{classKStartupInfo_a7}


Sets the timeout for notifications, after this timeout a notification is removed. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em secs}]the new timeout in seconds\end{description}
\end{Desc}


Definition at line 815 of file kstartupinfo.cpp.

References QTimer::single\-Shot().\index{KStartupInfo@{KStartup\-Info}!setWindowStartupId@{setWindowStartupId}}
\index{setWindowStartupId@{setWindowStartupId}!KStartupInfo@{KStartup\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KStartup\-Info::set\-Window\-Startup\-Id (WId {\em window}, const {\bf QCString} \& {\em id})\hspace{0.3cm}{\tt  [static]}}\label{classKStartupInfo_e16}


Sets the startup notification window property on the given window. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em window}]the id of the window \item[{\em id}]the startup notification id\end{description}
\end{Desc}


Definition at line 779 of file kstartupinfo.cpp.

Referenced by set\-New\-Startup\-Id(), and KApplication::set\-Top\-Widget().\index{KStartupInfo@{KStartup\-Info}!windowStartupId@{windowStartupId}}
\index{windowStartupId@{windowStartupId}!KStartupInfo@{KStartup\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QCString} KStartup\-Info::window\-Startup\-Id (WId {\em w})\hspace{0.3cm}{\tt  [static]}}\label{classKStartupInfo_e17}


Returns startup notification identification of the given window. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em w}]the id of the window \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]the startup notification id. Can be null if not found.\end{Desc}


Definition at line 757 of file kstartupinfo.cpp.

References QCString::is\-Empty().\index{KStartupInfo@{KStartup\-Info}!gotNewStartup@{gotNewStartup}}
\index{gotNewStartup@{gotNewStartup}!KStartupInfo@{KStartup\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KStartup\-Info::got\-New\-Startup (const {\bf KStartup\-Info\-Id} \& {\em id}, const {\bf KStartup\-Info\-Data} \& {\em data})\hspace{0.3cm}{\tt  [signal]}}\label{classKStartupInfo_l0}


Emitted when a new startup notification is created (i.e. 

a new application is being started). \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em id}]the notification identification \item[{\em data}]the notification data\end{description}
\end{Desc}
\index{KStartupInfo@{KStartup\-Info}!gotStartupChange@{gotStartupChange}}
\index{gotStartupChange@{gotStartupChange}!KStartupInfo@{KStartup\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KStartup\-Info::got\-Startup\-Change (const {\bf KStartup\-Info\-Id} \& {\em id}, const {\bf KStartup\-Info\-Data} \& {\em data})\hspace{0.3cm}{\tt  [signal]}}\label{classKStartupInfo_l1}


Emitted when a startup notification changes. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em id}]the notification identification \item[{\em data}]the notification data\end{description}
\end{Desc}
\index{KStartupInfo@{KStartup\-Info}!gotRemoveStartup@{gotRemoveStartup}}
\index{gotRemoveStartup@{gotRemoveStartup}!KStartupInfo@{KStartup\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KStartup\-Info::got\-Remove\-Startup (const {\bf KStartup\-Info\-Id} \& {\em id}, const {\bf KStartup\-Info\-Data} \& {\em data})\hspace{0.3cm}{\tt  [signal]}}\label{classKStartupInfo_l2}


Emitted when a startup notification is removed (either because it was detected that the application is ready or because of a timeout). 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em id}]the notification identification \item[{\em data}]the notification data\end{description}
\end{Desc}


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