.TH "KFolderType" kde3 "11 Jun 2005" "Version Version 3.4.1" "kio Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KFolderType \- Folder mime type. Mimetype for a folder (inode/directory).  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <kmimetype.h>\fP
.PP
Inherits \fBKMimeType\fP.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKFolderType\fP (\fBKDesktopFile\fP *config)"
.br
.ti -1c
.RI "\fBKFolderType\fP (\fBQDataStream\fP &_str, int \fBoffset\fP)"
.br
.ti -1c
.RI "virtual \fBQString\fP \fBicon\fP (const \fBQString\fP &_url, bool _is_local) const "
.br
.ti -1c
.RI "virtual \fBQString\fP \fBicon\fP (const \fBKURL\fP &_url, bool _is_local) const "
.br
.ti -1c
.RI "virtual \fBQString\fP \fBcomment\fP (const \fBQString\fP &_url, bool _is_local) const "
.br
.ti -1c
.RI "virtual \fBQString\fP \fBcomment\fP (const \fBKURL\fP &_url, bool _is_local) const "
.br
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "virtual void \fBvirtual_hook\fP (int id, void *data)"
.br
.in -1c
.SH "Detailed Description"
.PP 
Folder mime type. Mimetype for a folder (inode/directory). 

Handles locked folders, for instance. 
.PP
Definition at line 477 of file kmimetype.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KFolderType::KFolderType (\fBKDesktopFile\fP * config)\fC [inline]\fP"
.PP
Construct a folder mimetype and take all information from a desktop file. 
.PP
\fBParameters:\fP
.RS 4
\fIconfig\fP the desktop configuration file that describes the mime type 
.RE
.PP

.PP
Definition at line 489 of file kmimetype.h.
.SH "Member Function Documentation"
.PP 
.SS "\fBQString\fP KFolderType::icon (const \fBQString\fP & _url, bool _is_local) const\fC [virtual]\fP"
.PP
Return the filename of the icon associated with the mimetype. 
.PP
The arguments are unused, but provided so that KMimeType-derived classes can use them (e.g. KFolderType uses the URL to return one out of 2 icons)
.PP
\fBReturns:\fP
.RS 4
The path to the icon associated with this MIME type. 
.RE
.PP

.PP
Reimplemented from \fBKMimeType\fP.
.PP
Definition at line 592 of file kmimetype.cpp.
.PP
References KServiceType::icon().
.PP
Referenced by icon().
.SS "\fBQString\fP KFolderType::icon (const \fBKURL\fP & _url, bool _is_local) const\fC [virtual]\fP"
.PP
Return the filename of the icon associated with the mimetype. 
.PP
The arguments are unused, but provided so that KMimeType-derived classes can use them (e.g. KFolderType uses the URL to return one out of 2 icons)
.PP
\fBReturns:\fP
.RS 4
The path to the icon associated with this MIME type. 
.RE
.PP

.PP
Reimplemented from \fBKMimeType\fP.
.PP
Definition at line 600 of file kmimetype.cpp.
.PP
References KURL::addPath(), QValueList::append(), QValueList::end(), QValueList::find(), icon(), KServiceType::icon(), QString::isEmpty(), QString::mid(), KURL::path(), and QString::startsWith().
.SS "\fBQString\fP KFolderType::comment (const \fBQString\fP & _url, bool _is_local) const\fC [virtual]\fP"
.PP
Returns the descriptive comment associated with the MIME type. 
.PP
The arguments are unused, but provided so that \fBKMimeType\fP derived classes can use them.
.PP
\fBReturns:\fP
.RS 4
The descriptive comment associated with the MIME type, if any. 
.RE
.PP

.PP
Reimplemented from \fBKMimeType\fP.
.PP
Definition at line 665 of file kmimetype.cpp.
.PP
References KMimeType::comment().
.PP
Referenced by comment().
.SS "\fBQString\fP KFolderType::comment (const \fBKURL\fP & _url, bool _is_local) const\fC [virtual]\fP"
.PP
Returns the descriptive comment associated with the MIME type. 
.PP
The arguments are unused, but provided so that \fBKMimeType\fP derived classes can use them.
.PP
\fBReturns:\fP
.RS 4
The descriptive comment associated with the MIME type, if any. 
.RE
.PP

.PP
Reimplemented from \fBKMimeType\fP.
.PP
Definition at line 673 of file kmimetype.cpp.
.PP
References KURL::addPath(), comment(), KMimeType::comment(), QString::isEmpty(), and KURL::path().

.SH "Author"
.PP 
Generated automatically by Doxygen for kio Library from the source code.
