\section{KABC::Resource\-Config\-Widget Class Reference}
\label{classKABC_1_1ResourceConfigWidget}\index{KABC::ResourceConfigWidget@{KABC::ResourceConfigWidget}}
Base widget for editing resource settings.  


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

Inheritance diagram for KABC::Resource\-Config\-Widget:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=99pt]{classKABC_1_1ResourceConfigWidget__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KABC::Resource\-Config\-Widget:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=99pt]{classKABC_1_1ResourceConfigWidget__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{CompactItemize}
\item 
virtual void {\bf load\-Settings} ({\bf KConfig} $\ast$config)
\begin{CompactList}\small\item\em This method is called by the Resource\-Config\-Dialog to load the resource specific settings. \item\end{CompactList}\item 
virtual void {\bf save\-Settings} ({\bf KConfig} $\ast$config)
\begin{CompactList}\small\item\em This method is called by the Resource\-Config\-Dialog to save the resource specific settings. \item\end{CompactList}\end{CompactItemize}
\subsection*{Signals}
\begin{CompactItemize}
\item 
void {\bf set\-Resource\-Name} (const  {\bf QString} \&name)\label{classKABC_1_1ResourceConfigWidget_l0}

\item 
void {\bf set\-Read\-Only} (bool value)\label{classKABC_1_1ResourceConfigWidget_l1}

\item 
void {\bf set\-Fast} (bool value)\label{classKABC_1_1ResourceConfigWidget_l2}

\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Resource\-Config\-Widget} ({\bf QWidget} $\ast$parent=0, const  char $\ast$name=0)
\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item 
virtual void {\bf set\-Edit\-Mode} (bool value)
\begin{CompactList}\small\item\em Sets the widget to 'edit' mode. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
Base widget for editing resource settings. 

The {\bf load\-Settings}{\rm (p.\,\pageref{classKABC_1_1ResourceConfigWidget_i0})}() and {\bf save\-Settings}{\rm (p.\,\pageref{classKABC_1_1ResourceConfigWidget_i1})}() slots should be reimplemented to store the resource specific settings. 



Definition at line 36 of file resourceconfigwidget.h.

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


Constructor. 



Definition at line 25 of file resourceconfigwidget.cpp.

References KStd\-Accel::name().

\subsection{Member Function Documentation}
\index{KABC::ResourceConfigWidget@{KABC::Resource\-Config\-Widget}!setEditMode@{setEditMode}}
\index{setEditMode@{setEditMode}!KABC::ResourceConfigWidget@{KABC::Resource\-Config\-Widget}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Resource\-Config\-Widget::set\-Edit\-Mode (bool {\em value})\hspace{0.3cm}{\tt  [virtual]}}\label{classKABC_1_1ResourceConfigWidget_a1}


Sets the widget to 'edit' mode. 

Reimplement this method if you are interested in the mode change (to disable some GUI element for example). By default the widget is in 'add' mode. 

Definition at line 38 of file resourceconfigwidget.cpp.\index{KABC::ResourceConfigWidget@{KABC::Resource\-Config\-Widget}!loadSettings@{loadSettings}}
\index{loadSettings@{loadSettings}!KABC::ResourceConfigWidget@{KABC::Resource\-Config\-Widget}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Resource\-Config\-Widget::load\-Settings ({\bf KConfig} $\ast$ {\em config})\hspace{0.3cm}{\tt  [virtual, slot]}}\label{classKABC_1_1ResourceConfigWidget_i0}


This method is called by the Resource\-Config\-Dialog to load the resource specific settings. 

You have to reimplement it. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em config}]points to a config object where you can read the settings. Don't use {\bf KConfig::set\-Group()} on this pointer. \end{description}
\end{Desc}


Definition at line 30 of file resourceconfigwidget.cpp.\index{KABC::ResourceConfigWidget@{KABC::Resource\-Config\-Widget}!saveSettings@{saveSettings}}
\index{saveSettings@{saveSettings}!KABC::ResourceConfigWidget@{KABC::Resource\-Config\-Widget}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Resource\-Config\-Widget::save\-Settings ({\bf KConfig} $\ast$ {\em config})\hspace{0.3cm}{\tt  [virtual, slot]}}\label{classKABC_1_1ResourceConfigWidget_i1}


This method is called by the Resource\-Config\-Dialog to save the resource specific settings. 

You have to reimplement it. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em config}]points to a config object where you can write the settings. Don't use {\bf KConfig::set\-Group()} on this pointer. \end{description}
\end{Desc}


Definition at line 34 of file resourceconfigwidget.cpp.

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