\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=58pt]{classKAboutWidget__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KAbout\-Widget:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=234pt]{classKAboutWidget__coll__graph}
\end{center}
\end{figure}
\subsection*{Signals}
\begin{CompactItemize}
\item 
void {\bf send\-Email} (const {\bf QString} \&name, const {\bf QString} \&email)
\item 
void {\bf open\-URL} (const {\bf QString} \&url)
\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KAbout\-Widget} ({\bf QWidget} $\ast$parent=0, const char $\ast$name=0)
\item 
void {\bf adjust} ()
\item 
void {\bf set\-Logo} (const {\bf QPixmap} \&)
\item 
void {\bf set\-Author} (const {\bf QString} \&name, const {\bf QString} \&email, const {\bf QString} \&url, const {\bf QString} \&work)
\item 
void {\bf set\-Maintainer} (const {\bf QString} \&name, const {\bf QString} \&email, const {\bf QString} \&url, const {\bf QString} \&work)
\item 
void {\bf add\-Contributor} (const {\bf QString} \&name, const {\bf QString} \&email, const {\bf QString} \&url, const {\bf QString} \&work)
\item 
void {\bf set\-Version} (const {\bf QString} \&name)
\end{CompactItemize}
\subsection*{Protected Slots}
\begin{CompactItemize}
\item 
void {\bf send\-Email\-Slot} (const {\bf QString} \&name, const {\bf QString} \&email)
\item 
void {\bf open\-URLSlot} (const {\bf QString} \&url)
\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
void {\bf resize\-Event} ({\bf QResize\-Event} $\ast$)
\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
{\bf QLabel} $\ast$ {\bf version}
\item 
{\bf QLabel} $\ast$ {\bf cont}
\item 
{\bf QLabel} $\ast$ {\bf logo}
\item 
{\bf KAbout\-Contributor} $\ast$ {\bf author}
\item 
{\bf KAbout\-Contributor} $\ast$ {\bf maintainer}
\item 
bool {\bf show\-Maintainer}
\item 
{\bf QPtr\-List}$<$ {\bf KAbout\-Contributor} $>$ {\bf contributors}
\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} = {\tt 0}, const char $\ast$ {\em name} = {\tt 0})}\label{classKAboutWidget_a0}


The {\bf Qt} constructor. 



Definition at line 1313 of file kaboutdialog.cpp.

References author, endl(), kd\-Debug(), logo, maintainer, open\-URL(), open\-URLSlot(), send\-Email(), send\-Email\-Slot(), QLabel::set\-Alignment(), QLabel::set\-Text(), and version.

\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 1349 of file kaboutdialog.cpp.

References author, contributors, QPtr\-List\-Iterator::current(), QSize::height(), QPtr\-List::is\-Empty(), logo, maintainer, QWidget::set\-Minimum\-Size(), show\-Maintainer, KAbout\-Contributor::size\-Hint(), version, 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 1393 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 1411 of file kaboutdialog.cpp.

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

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 1423 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 1436 of file kaboutdialog.cpp.

References QPtr\-List::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 1454 of file kaboutdialog.cpp.

References QLabel::set\-Text(), and version.

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 1400 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 1405 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 1462 of file kaboutdialog.cpp.

References author, contributors, QPtr\-List\-Iterator::current(), QSize::height(), QPtr\-List::is\-Empty(), logo, maintainer, show\-Maintainer, KAbout\-Contributor::size\-Hint(), version, 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.

Referenced by adjust(), KAbout\-Widget(), resize\-Event(), and set\-Version().\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.

Referenced by adjust(), KAbout\-Widget(), resize\-Event(), and set\-Author().\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}
