\section{KStartup\-Info\-Id Class Reference}
\label{classKStartupInfoId}\index{KStartupInfoId@{KStartupInfoId}}
Class representing an identification of application startup notification.  


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

\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
bool {\bf operator==} (const {\bf KStartup\-Info\-Id} \&id) const 
\item 
bool {\bf operator!=} (const {\bf KStartup\-Info\-Id} \&id) const 
\item 
bool {\bf none} () const 
\item 
void {\bf init\-Id} (const {\bf QCString} \&id=\char`\"{}\char`\"{})
\item 
const {\bf QCString} \& {\bf id} () const 
\item 
unsigned long {\bf timestamp} () const 
\item 
bool {\bf setup\-Startup\-Env} () const 
\item 
{\bf KStartup\-Info\-Id} ()
\item 
{\bf KStartup\-Info\-Id} (const {\bf KStartup\-Info\-Id} \&data)
\item 
{\bf KStartup\-Info\-Id} \& {\bf operator=} (const {\bf KStartup\-Info\-Id} \&data)\label{classKStartupInfoId_a10}

\item 
bool {\bf operator$<$} (const {\bf KStartup\-Info\-Id} \&id) const \label{classKStartupInfoId_a11}

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

\end{CompactItemize}


\subsection{Detailed Description}
Class representing an identification of application startup notification. 

Every existing notification about a starting application has its own unique identification, that's used to identify and manipulate the notification.

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

{\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 390 of file kstartupinfo.h.

\subsection{Constructor \& Destructor Documentation}
\index{KStartupInfoId@{KStartup\-Info\-Id}!KStartupInfoId@{KStartupInfoId}}
\index{KStartupInfoId@{KStartupInfoId}!KStartupInfoId@{KStartup\-Info\-Id}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KStartup\-Info\-Id::KStartup\-Info\-Id ()}\label{classKStartupInfoId_a7}


Creates an empty identification. 



Definition at line 1024 of file kstartupinfo.cpp.\index{KStartupInfoId@{KStartup\-Info\-Id}!KStartupInfoId@{KStartupInfoId}}
\index{KStartupInfoId@{KStartupInfoId}!KStartupInfoId@{KStartup\-Info\-Id}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KStartup\-Info\-Id::KStartup\-Info\-Id (const {\bf KStartup\-Info\-Id} \& {\em data})}\label{classKStartupInfoId_a8}


Copy constructor. 



Definition at line 1034 of file kstartupinfo.cpp.

\subsection{Member Function Documentation}
\index{KStartupInfoId@{KStartup\-Info\-Id}!operator==@{operator==}}
\index{operator==@{operator==}!KStartupInfoId@{KStartup\-Info\-Id}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KStartup\-Info\-Id::operator== (const {\bf KStartup\-Info\-Id} \& {\em id}) const}\label{classKStartupInfoId_a0}


Overloaded operator. 

\begin{Desc}
\item[Returns:]true if the notification identifications are the same\end{Desc}


Definition at line 1048 of file kstartupinfo.cpp.

References id().\index{KStartupInfoId@{KStartup\-Info\-Id}!operator"!=@{operator"!=}}
\index{operator"!=@{operator"!=}!KStartupInfoId@{KStartup\-Info\-Id}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KStartup\-Info\-Id::operator!= (const {\bf KStartup\-Info\-Id} \& {\em id}) const}\label{classKStartupInfoId_a1}


Overloaded operator. 

\begin{Desc}
\item[Returns:]true if the notification identifications are different\end{Desc}


Definition at line 1053 of file kstartupinfo.cpp.\index{KStartupInfoId@{KStartup\-Info\-Id}!none@{none}}
\index{none@{none}!KStartupInfoId@{KStartup\-Info\-Id}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KStartup\-Info\-Id::none () const}\label{classKStartupInfoId_a2}


Checks whether the identifier is valid. 

\begin{Desc}
\item[Returns:]true if this object doesn't represent a valid notification identification\end{Desc}


Definition at line 1064 of file kstartupinfo.cpp.

References QCString::is\-Empty().

Referenced by timestamp().\index{KStartupInfoId@{KStartup\-Info\-Id}!initId@{initId}}
\index{initId@{initId}!KStartupInfoId@{KStartup\-Info\-Id}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KStartup\-Info\-Id::init\-Id (const {\bf QCString} \& {\em id} = {\tt \char`\"{}\char`\"{}})}\label{classKStartupInfoId_a3}


Initializes this object with the given identification ( which may be also \char`\"{}0\char`\"{} for no notification ), or if \char`\"{}\char`\"{} is given, tries to read it from the startup notification environment variable, and if it's not set, creates a new one. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em id}]the new identification, \char`\"{}0\char`\"{} for no notification or \char`\"{}\char`\"{} to read the environment variable\end{description}
\end{Desc}


Definition at line 976 of file kstartupinfo.cpp.

References KStartup\-Info::create\-New\-Startup\-Id(), and endl().\index{KStartupInfoId@{KStartup\-Info\-Id}!id@{id}}
\index{id@{id}!KStartupInfoId@{KStartup\-Info\-Id}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf QCString} \& KStartup\-Info\-Id::id () const}\label{classKStartupInfoId_a4}


Returns the notification identifier as string. 

\begin{Desc}
\item[Returns:]the identification string for the notification\end{Desc}


Definition at line 951 of file kstartupinfo.cpp.

Referenced by operator==(), and setup\-Startup\-Env().\index{KStartupInfoId@{KStartup\-Info\-Id}!timestamp@{timestamp}}
\index{timestamp@{timestamp}!KStartupInfoId@{KStartup\-Info\-Id}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned long KStartup\-Info\-Id::timestamp () const}\label{classKStartupInfoId_a5}


Return the user timestamp for the startup notification, or 0 if no timestamp is set. 

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


Definition at line 1069 of file kstartupinfo.cpp.

References QCString::find\-Rev(), QCString::mid(), none(), and QCString::to\-Long().\index{KStartupInfoId@{KStartup\-Info\-Id}!setupStartupEnv@{setupStartupEnv}}
\index{setupStartupEnv@{setupStartupEnv}!KStartupInfoId@{KStartup\-Info\-Id}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KStartup\-Info\-Id::setup\-Startup\-Env () const}\label{classKStartupInfoId_a6}


Sets the startup notification environment variable to this identification. 

\begin{Desc}
\item[Returns:]true if successful, false otherwise\end{Desc}


Definition at line 998 of file kstartupinfo.cpp.

References id(), and QCString::is\-Empty().

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