\section{KShared\-Config Class Reference}
\label{classKSharedConfig}\index{KSharedConfig@{KSharedConfig}}
{\bf KConfig}{\rm (p.\,\pageref{classKConfig})} variant using shared memory.  


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

Inheritance diagram for KShared\-Config:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=86pt]{classKSharedConfig__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KShared\-Config:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=268pt]{classKSharedConfig__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{CompactItemize}
\item 
typedef {\bf KShared\-Ptr}$<$ {\bf KShared\-Config} $>$ {\bf Ptr}\label{classKSharedConfig_w0}

\end{CompactItemize}
\subsection*{Static Public Member Functions}
\begin{CompactItemize}
\item 
static {\bf KShared\-Config::Ptr} {\bf open\-Config} (const {\bf QString} \&file\-Name, bool immutable=false, bool b\-Use\-KDEGlobals=true)
\end{CompactItemize}
\subsection*{Friends}
\begin{CompactItemize}
\item 
class {\bf QValue\-List$<$KShared\-Config$\ast$$>$}\label{classKSharedConfig_n0}

\end{CompactItemize}


\subsection{Detailed Description}
{\bf KConfig}{\rm (p.\,\pageref{classKConfig})} variant using shared memory. 

KShared\-Config provides a reference counted, shared memory variant of {\bf KConfig}{\rm (p.\,\pageref{classKConfig})}. 



Definition at line 273 of file kconfig.h.

\subsection{Member Function Documentation}
\index{KSharedConfig@{KShared\-Config}!openConfig@{openConfig}}
\index{openConfig@{openConfig}!KSharedConfig@{KShared\-Config}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KShared\-Config::Ptr} KShared\-Config::open\-Config (const {\bf QString} \& {\em file\-Name}, bool {\em immutable} = {\tt false}, bool {\em b\-Use\-KDEGlobals} = {\tt true})\hspace{0.3cm}{\tt  [static]}}\label{classKSharedConfig_e0}


Returns a ref-counted pointer to a shared read-write config object. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em file\-Name}]the name of the file to use for the configuration \item[{\em immutable}]if true, force the config object to be read-only. \item[{\em b\-Use\-KDEGlobals}]Toggle reading the global {\bf KDE}{\rm (p.\,\pageref{namespaceKDE})} configuration file. \end{description}
\end{Desc}


Definition at line 334 of file kconfig.cpp.

References QValue\-List::begin(), and QValue\-List::end().

Referenced by KInstance::config(), KConfig\-Skeleton::KConfig\-Skeleton(), and KIcon\-Theme::KIcon\-Theme().

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