\section{KFile\-Mime\-Type\-Info::Group\-Info Class Reference}
\label{classKFileMimeTypeInfo_1_1GroupInfo}\index{KFileMimeTypeInfo::GroupInfo@{KFileMimeTypeInfo::GroupInfo}}
This is the class for one group of items of a {\bf KFile\-Mime\-Type\-Info}{\rm (p.\,\pageref{classKFileMimeTypeInfo})}. Information about a meta information group.  


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

Collaboration diagram for KFile\-Mime\-Type\-Info::Group\-Info:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=271pt]{classKFileMimeTypeInfo_1_1GroupInfo__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf QString\-List} {\bf supported\-Keys} () const 
\item 
const {\bf QString} \& {\bf name} () const 
\item 
const {\bf QString} \& {\bf translated\-Name} () const 
\item 
const {\bf Item\-Info} $\ast$ {\bf item\-Info} (const {\bf QString} \&key) const 
\item 
uint {\bf attributes} () const 
\item 
bool {\bf supports\-Variable\-Keys} () const 
\item 
const {\bf Item\-Info} $\ast$ {\bf variable\-Item\-Info} () const 
\end{CompactItemize}
\subsection*{Friends}
\begin{CompactItemize}
\item 
class {\bf KFile\-Plugin}\label{classKFileMimeTypeInfo_1_1GroupInfo_n0}

\item 
class {\bf KFile\-Mime\-Type\-Info}\label{classKFileMimeTypeInfo_1_1GroupInfo_n1}

\end{CompactItemize}


\subsection{Detailed Description}
This is the class for one group of items of a {\bf KFile\-Mime\-Type\-Info}{\rm (p.\,\pageref{classKFileMimeTypeInfo})}. Information about a meta information group. 

It contains, among other things, the information about the group's name and a list of supported items. 



Definition at line 135 of file kfilemetainfo.h.

\subsection{Member Function Documentation}
\index{KFileMimeTypeInfo::GroupInfo@{KFile\-Mime\-Type\-Info::Group\-Info}!supportedKeys@{supportedKeys}}
\index{supportedKeys@{supportedKeys}!KFileMimeTypeInfo::GroupInfo@{KFile\-Mime\-Type\-Info::Group\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString\-List} KFile\-Mime\-Type\-Info::Group\-Info::supported\-Keys () const\hspace{0.3cm}{\tt  [inline]}}\label{classKFileMimeTypeInfo_1_1GroupInfo_a0}


Use this method to get a list of keys in the specified group that the plugin knows about. 

No variable keys. For a group that doesn't support variable keys, all keys that this group may have are returned. For a group that does support them, the non-variable ones are returned. See {\bf KFile\-Meta\-Info}{\rm (p.\,\pageref{classKFileMetaInfo})} about variable keys

\begin{Desc}
\item[Returns:]the list of keys supported for this mimetype \end{Desc}


Definition at line 151 of file kfilemetainfo.h.

Referenced by KFile\-Meta\-Info::add\-Group(), and KFile\-Meta\-Info::save\-Item().\index{KFileMimeTypeInfo::GroupInfo@{KFile\-Mime\-Type\-Info::Group\-Info}!name@{name}}
\index{name@{name}!KFileMimeTypeInfo::GroupInfo@{KFile\-Mime\-Type\-Info::Group\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf QString}\& KFile\-Mime\-Type\-Info::Group\-Info::name () const\hspace{0.3cm}{\tt  [inline]}}\label{classKFileMimeTypeInfo_1_1GroupInfo_a1}


Use this method to get the name of the group. 

This string doesn't depend on the user's locale settings

\begin{Desc}
\item[Returns:]the group name \end{Desc}


Definition at line 162 of file kfilemetainfo.h.\index{KFileMimeTypeInfo::GroupInfo@{KFile\-Mime\-Type\-Info::Group\-Info}!translatedName@{translatedName}}
\index{translatedName@{translatedName}!KFileMimeTypeInfo::GroupInfo@{KFile\-Mime\-Type\-Info::Group\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf QString}\& KFile\-Mime\-Type\-Info::Group\-Info::translated\-Name () const\hspace{0.3cm}{\tt  [inline]}}\label{classKFileMimeTypeInfo_1_1GroupInfo_a2}


Use this method to get the string to display to the user as group name. 

This may be different to {\bf name()}{\rm (p.\,\pageref{classKFileMimeTypeInfo_1_1GroupInfo_a1})} and it returns the name in the user's language

\begin{Desc}
\item[Returns:]the translated group name \end{Desc}


Definition at line 174 of file kfilemetainfo.h.\index{KFileMimeTypeInfo::GroupInfo@{KFile\-Mime\-Type\-Info::Group\-Info}!itemInfo@{itemInfo}}
\index{itemInfo@{itemInfo}!KFileMimeTypeInfo::GroupInfo@{KFile\-Mime\-Type\-Info::Group\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf KFile\-Mime\-Type\-Info::Item\-Info} $\ast$ KFile\-Mime\-Type\-Info::Group\-Info::item\-Info (const {\bf QString} \& {\em key}) const}\label{classKFileMimeTypeInfo_1_1GroupInfo_a3}


A group object can contain several item objects (of which you can get the names with {\bf supported\-Keys()}{\rm (p.\,\pageref{classKFileMimeTypeInfo_1_1GroupInfo_a0})} . 

With this method, you can get one of those item objects. See {\bf Item\-Info}{\rm (p.\,\pageref{classKFileMimeTypeInfo_1_1ItemInfo})}

\begin{Desc}
\item[Returns:]a pointer to the item info. Don't delete this object! \end{Desc}


Definition at line 1544 of file kfilemetainfo.cpp.

References QDict::find().

Referenced by KFile\-Meta\-Info::add\-Group(), and KFile\-Meta\-Info\-Group::add\-Item().\index{KFileMimeTypeInfo::GroupInfo@{KFile\-Mime\-Type\-Info::Group\-Info}!attributes@{attributes}}
\index{attributes@{attributes}!KFileMimeTypeInfo::GroupInfo@{KFile\-Mime\-Type\-Info::Group\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}uint KFile\-Mime\-Type\-Info::Group\-Info::attributes () const\hspace{0.3cm}{\tt  [inline]}}\label{classKFileMimeTypeInfo_1_1GroupInfo_a4}


Get the attributes of this group (see Attributes). 

\begin{Desc}
\item[Returns:]the attributes \end{Desc}


Definition at line 193 of file kfilemetainfo.h.

Referenced by KFile\-Meta\-Info::editable\-Groups().\index{KFileMimeTypeInfo::GroupInfo@{KFile\-Mime\-Type\-Info::Group\-Info}!supportsVariableKeys@{supportsVariableKeys}}
\index{supportsVariableKeys@{supportsVariableKeys}!KFileMimeTypeInfo::GroupInfo@{KFile\-Mime\-Type\-Info::Group\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KFile\-Mime\-Type\-Info::Group\-Info::supports\-Variable\-Keys () const\hspace{0.3cm}{\tt  [inline]}}\label{classKFileMimeTypeInfo_1_1GroupInfo_a5}


\begin{Desc}
\item[Returns:]true if this group supports adding or removing arbitrary keys, false if not. \end{Desc}


Definition at line 202 of file kfilemetainfo.h.\index{KFileMimeTypeInfo::GroupInfo@{KFile\-Mime\-Type\-Info::Group\-Info}!variableItemInfo@{variableItemInfo}}
\index{variableItemInfo@{variableItemInfo}!KFileMimeTypeInfo::GroupInfo@{KFile\-Mime\-Type\-Info::Group\-Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf Item\-Info}$\ast$ KFile\-Mime\-Type\-Info::Group\-Info::variable\-Item\-Info () const\hspace{0.3cm}{\tt  [inline]}}\label{classKFileMimeTypeInfo_1_1GroupInfo_a6}


If the group supports variable keys, you can query their item info with this method. 

The main reason for this is that you can get the type and attributes of variable keys.

\begin{Desc}
\item[Returns:]a pointer to the item info. Don't delete this object! \end{Desc}


Definition at line 214 of file kfilemetainfo.h.

Referenced by KFile\-Meta\-Info\-Group::add\-Item().

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