\section{KAbout\-Widget Class Reference}
\label{classKAboutWidget}\index{KAboutWidget@{KAboutWidget}}
KAbout\-Widget is the main widget for {\bf KAbout\-Dialog}{\rm (p.\,\pageref{classKAboutDialog})}.  


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

Inheritance diagram for KAbout\-Widget:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=61pt]{classKAboutWidget__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KAbout\-Widget:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=266pt]{classKAboutWidget__coll__graph}
\end{center}
\end{figure}
\subsection*{Signals}
\begin{CompactItemize}
\item 
void {\bf send\-Email} (const  {\bf QString} \&name, const  {\bf QString} \&email)
\begin{CompactList}\small\item\em An email address has been selected by the user. \item\end{CompactList}\item 
void {\bf open\-URL} (const  {\bf QString} \&url)
\begin{CompactList}\small\item\em An URL has been clicked. \item\end{CompactList}\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KAbout\-Widget} ({\bf QWidget} $\ast$parent=0, const  char $\ast$name=0)
\begin{CompactList}\small\item\em The {\bf Qt} constructor. \item\end{CompactList}\item 
void {\bf adjust} ()
\begin{CompactList}\small\item\em Adjust the minimum size (after setting the properties of the image and the labels. \item\end{CompactList}\item 
void {\bf set\-Logo} (const  {\bf QPixmap} \&)
\begin{CompactList}\small\item\em Sets the image as the application logo. \item\end{CompactList}\item 
void {\bf set\-Author} (const  {\bf QString} \&name, const  {\bf QString} \&email, const  {\bf QString} \&url, const  {\bf QString} \&work)
\begin{CompactList}\small\item\em Sets the author's name and email address. \item\end{CompactList}\item 
void {\bf set\-Maintainer} (const  {\bf QString} \&name, const  {\bf QString} \&email, const  {\bf QString} \&url, const  {\bf QString} \&work)
\begin{CompactList}\small\item\em Sets the maintainers name and email address. \item\end{CompactList}\item 
void {\bf add\-Contributor} (const  {\bf QString} \&name, const  {\bf QString} \&email, const  {\bf QString} \&url, const  {\bf QString} \&work)
\begin{CompactList}\small\item\em Shows this person as one of the major contributors. \item\end{CompactList}\item 
void {\bf set\-Version} (const  {\bf QString} \&name)
\begin{CompactList}\small\item\em Sets the text describing the version. \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Slots}
\begin{CompactItemize}
\item 
void {\bf send\-Email\-Slot} (const  {\bf QString} \&name, const  {\bf QString} \&email)
\begin{CompactList}\small\item\em Catches the signals from the contributors elements. \item\end{CompactList}\item 
void {\bf open\-URLSlot} (const  {\bf QString} \&url)
\begin{CompactList}\small\item\em Catches the clicked URLs. \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
void {\bf resize\-Event} ({\bf QResize\-Event} $\ast$)
\begin{CompactList}\small\item\em The resize event. \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
{\bf QLabel} $\ast$ {\bf version}
\begin{CompactList}\small\item\em The label showing the program version. \item\end{CompactList}\item 
{\bf QLabel} $\ast$ {\bf cont}
\begin{CompactList}\small\item\em The label showing the text \char`\"{}Other contributors:\char`\"{}. \item\end{CompactList}\item 
{\bf QLabel} $\ast$ {\bf logo}
\begin{CompactList}\small\item\em The frame showing the logo. \item\end{CompactList}\item 
{\bf KAbout\-Contributor} $\ast$ {\bf author}
\begin{CompactList}\small\item\em The application developer. \item\end{CompactList}\item 
{\bf KAbout\-Contributor} $\ast$ {\bf maintainer}
\begin{CompactList}\small\item\em The application maintainer. \item\end{CompactList}\item 
bool {\bf show\-Maintainer}
\begin{CompactList}\small\item\em Show the maintainer? \item\end{CompactList}\item 
{\bf QPtr\-List}$<$ {\bf KAbout\-Contributor} $>$ {\bf contributors}
\begin{CompactList}\small\item\em A set of people who contributed to the application. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
KAbout\-Widget is the main widget for {\bf KAbout\-Dialog}{\rm (p.\,\pageref{classKAboutDialog})}. 

It has a minimum size set. 



Definition at line 150 of file kaboutdialog.h.

\subsection{Constructor \& Destructor Documentation}
\index{KAboutWidget@{KAbout\-Widget}!KAboutWidget@{KAboutWidget}}
\index{KAboutWidget@{KAboutWidget}!KAboutWidget@{KAbout\-Widget}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KAbout\-Widget::KAbout\-Widget ({\bf QWidget} $\ast$ {\em parent} = 0, const char $\ast$ {\em name} = 0)}\label{classKAboutWidget_a0}


The {\bf Qt} constructor. 



Definition at line 1288 of file kaboutdialog.cpp.

References logo, maintainer, open\-URL(), open\-URLSlot(), send\-Email(), send\-Email\-Slot(), and QLabel::set\-Text().

\subsection{Member Function Documentation}
\index{KAboutWidget@{KAbout\-Widget}!adjust@{adjust}}
\index{adjust@{adjust}!KAboutWidget@{KAbout\-Widget}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAbout\-Widget::adjust ()}\label{classKAboutWidget_a1}


Adjust the minimum size (after setting the properties of the image and the labels. 



Definition at line 1323 of file kaboutdialog.cpp.

References contributors, QPtr\-List\-Iterator::current(), QSize::height(), QPtr\-List$<$ KAbout\-Contributor $>$::is\-Empty(), logo, maintainer, QWidget::set\-Minimum\-Size(), show\-Maintainer, KAbout\-Contributor::size\-Hint(), and QSize::width().

Referenced by KAbout\-Dialog::adjust().\index{KAboutWidget@{KAbout\-Widget}!setLogo@{setLogo}}
\index{setLogo@{setLogo}!KAboutWidget@{KAbout\-Widget}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAbout\-Widget::set\-Logo (const {\bf QPixmap} \&)}\label{classKAboutWidget_a2}


Sets the image as the application logo. 



Definition at line 1365 of file kaboutdialog.cpp.

References logo, and QLabel::set\-Pixmap().

Referenced by KAbout\-Dialog::set\-Logo().\index{KAboutWidget@{KAbout\-Widget}!setAuthor@{setAuthor}}
\index{setAuthor@{setAuthor}!KAboutWidget@{KAbout\-Widget}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAbout\-Widget::set\-Author (const {\bf QString} \& {\em name}, const {\bf QString} \& {\em email}, const {\bf QString} \& {\em url}, const {\bf QString} \& {\em work})}\label{classKAboutWidget_a3}


Sets the author's name and email address. 



Definition at line 1383 of file kaboutdialog.cpp.

Referenced by KAbout\-Dialog::set\-Author().\index{KAboutWidget@{KAbout\-Widget}!setMaintainer@{setMaintainer}}
\index{setMaintainer@{setMaintainer}!KAboutWidget@{KAbout\-Widget}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAbout\-Widget::set\-Maintainer (const {\bf QString} \& {\em name}, const {\bf QString} \& {\em email}, const {\bf QString} \& {\em url}, const {\bf QString} \& {\em work})}\label{classKAboutWidget_a4}


Sets the maintainers name and email address. 



Definition at line 1395 of file kaboutdialog.cpp.

References maintainer, KAbout\-Contributor::set\-Email(), KAbout\-Contributor::set\-Name(), KAbout\-Contributor::set\-URL(), KAbout\-Contributor::set\-Work(), and show\-Maintainer.

Referenced by KAbout\-Dialog::set\-Maintainer().\index{KAboutWidget@{KAbout\-Widget}!addContributor@{addContributor}}
\index{addContributor@{addContributor}!KAboutWidget@{KAbout\-Widget}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAbout\-Widget::add\-Contributor (const {\bf QString} \& {\em name}, const {\bf QString} \& {\em email}, const {\bf QString} \& {\em url}, const {\bf QString} \& {\em work})}\label{classKAboutWidget_a5}


Shows this person as one of the major contributors. 



Definition at line 1408 of file kaboutdialog.cpp.

References QPtr\-List$<$ KAbout\-Contributor $>$::append(), contributors, open\-URL(), open\-URLSlot(), send\-Email(), send\-Email\-Slot(), KAbout\-Contributor::set\-Email(), KAbout\-Contributor::set\-Name(), KAbout\-Contributor::set\-URL(), and KAbout\-Contributor::set\-Work().

Referenced by KAbout\-Dialog::add\-Contributor().\index{KAboutWidget@{KAbout\-Widget}!setVersion@{setVersion}}
\index{setVersion@{setVersion}!KAboutWidget@{KAbout\-Widget}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAbout\-Widget::set\-Version (const {\bf QString} \& {\em name})}\label{classKAboutWidget_a6}


Sets the text describing the version. 



Definition at line 1426 of file kaboutdialog.cpp.

Referenced by KAbout\-Dialog::set\-Version().\index{KAboutWidget@{KAbout\-Widget}!sendEmailSlot@{sendEmailSlot}}
\index{sendEmailSlot@{sendEmailSlot}!KAboutWidget@{KAbout\-Widget}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAbout\-Widget::send\-Email\-Slot (const {\bf QString} \& {\em name}, const {\bf QString} \& {\em email})\hspace{0.3cm}{\tt  [protected, slot]}}\label{classKAboutWidget_j0}


Catches the signals from the contributors elements. 



Definition at line 1372 of file kaboutdialog.cpp.

References send\-Email().

Referenced by add\-Contributor(), and KAbout\-Widget().\index{KAboutWidget@{KAbout\-Widget}!openURLSlot@{openURLSlot}}
\index{openURLSlot@{openURLSlot}!KAboutWidget@{KAbout\-Widget}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAbout\-Widget::open\-URLSlot (const {\bf QString} \& {\em url})\hspace{0.3cm}{\tt  [protected, slot]}}\label{classKAboutWidget_j1}


Catches the clicked URLs. 



Definition at line 1377 of file kaboutdialog.cpp.

References open\-URL().

Referenced by add\-Contributor(), and KAbout\-Widget().\index{KAboutWidget@{KAbout\-Widget}!sendEmail@{sendEmail}}
\index{sendEmail@{sendEmail}!KAboutWidget@{KAbout\-Widget}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAbout\-Widget::send\-Email (const {\bf QString} \& {\em name}, const {\bf QString} \& {\em email})\hspace{0.3cm}{\tt  [signal]}}\label{classKAboutWidget_l0}


An email address has been selected by the user. 



Referenced by add\-Contributor(), KAbout\-Widget(), and send\-Email\-Slot().\index{KAboutWidget@{KAbout\-Widget}!openURL@{openURL}}
\index{openURL@{openURL}!KAboutWidget@{KAbout\-Widget}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAbout\-Widget::open\-URL (const {\bf QString} \& {\em url})\hspace{0.3cm}{\tt  [signal]}}\label{classKAboutWidget_l1}


An URL has been clicked. 



Referenced by add\-Contributor(), KAbout\-Widget(), and open\-URLSlot().\index{KAboutWidget@{KAbout\-Widget}!resizeEvent@{resizeEvent}}
\index{resizeEvent@{resizeEvent}!KAboutWidget@{KAbout\-Widget}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAbout\-Widget::resize\-Event ({\bf QResize\-Event} $\ast$)\hspace{0.3cm}{\tt  [protected]}}\label{classKAboutWidget_b0}


The resize event. 



Reimplemented from {\bf QWidget}.

Definition at line 1434 of file kaboutdialog.cpp.

References contributors, QPtr\-List\-Iterator::current(), QSize::height(), QPtr\-List$<$ KAbout\-Contributor $>$::is\-Empty(), logo, maintainer, show\-Maintainer, KAbout\-Contributor::size\-Hint(), and QWidget::width().

\subsection{Member Data Documentation}
\index{KAboutWidget@{KAbout\-Widget}!version@{version}}
\index{version@{version}!KAboutWidget@{KAbout\-Widget}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QLabel}$\ast$ {\bf KAbout\-Widget::version}\hspace{0.3cm}{\tt  [protected]}}\label{classKAboutWidget_p0}


The label showing the program version. 



Definition at line 220 of file kaboutdialog.h.\index{KAboutWidget@{KAbout\-Widget}!cont@{cont}}
\index{cont@{cont}!KAboutWidget@{KAbout\-Widget}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QLabel}$\ast$ {\bf KAbout\-Widget::cont}\hspace{0.3cm}{\tt  [protected]}}\label{classKAboutWidget_p1}


The label showing the text \char`\"{}Other contributors:\char`\"{}. 



Definition at line 224 of file kaboutdialog.h.\index{KAboutWidget@{KAbout\-Widget}!logo@{logo}}
\index{logo@{logo}!KAboutWidget@{KAbout\-Widget}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QLabel}$\ast$ {\bf KAbout\-Widget::logo}\hspace{0.3cm}{\tt  [protected]}}\label{classKAboutWidget_p2}


The frame showing the logo. 



Definition at line 228 of file kaboutdialog.h.

Referenced by adjust(), KAbout\-Widget(), resize\-Event(), and set\-Logo().\index{KAboutWidget@{KAbout\-Widget}!author@{author}}
\index{author@{author}!KAboutWidget@{KAbout\-Widget}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAbout\-Contributor}$\ast$ {\bf KAbout\-Widget::author}\hspace{0.3cm}{\tt  [protected]}}\label{classKAboutWidget_p3}


The application developer. 



Definition at line 232 of file kaboutdialog.h.\index{KAboutWidget@{KAbout\-Widget}!maintainer@{maintainer}}
\index{maintainer@{maintainer}!KAboutWidget@{KAbout\-Widget}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAbout\-Contributor}$\ast$ {\bf KAbout\-Widget::maintainer}\hspace{0.3cm}{\tt  [protected]}}\label{classKAboutWidget_p4}


The application maintainer. 



Definition at line 236 of file kaboutdialog.h.

Referenced by adjust(), KAbout\-Widget(), resize\-Event(), and set\-Maintainer().\index{KAboutWidget@{KAbout\-Widget}!showMaintainer@{showMaintainer}}
\index{showMaintainer@{showMaintainer}!KAboutWidget@{KAbout\-Widget}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool {\bf KAbout\-Widget::show\-Maintainer}\hspace{0.3cm}{\tt  [protected]}}\label{classKAboutWidget_p5}


Show the maintainer? 



Definition at line 240 of file kaboutdialog.h.

Referenced by adjust(), resize\-Event(), and set\-Maintainer().\index{KAboutWidget@{KAbout\-Widget}!contributors@{contributors}}
\index{contributors@{contributors}!KAboutWidget@{KAbout\-Widget}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QPtr\-List}$<${\bf KAbout\-Contributor}$>$ {\bf KAbout\-Widget::contributors}\hspace{0.3cm}{\tt  [protected]}}\label{classKAboutWidget_p6}


A set of people who contributed to the application. 



Definition at line 244 of file kaboutdialog.h.

Referenced by add\-Contributor(), adjust(), and resize\-Event().

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