Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

KFolderType Class Reference

Mimetype for a folder (inode/directory) Handles locked folders, for instance. More...

#include <kmimetype.h>

Inheritance diagram for KFolderType:

KMimeType KServiceType KSycocaEntry KShared List of all members.

Public Methods

virtual QString icon (const QString &_url, bool _is_local) const
virtual QString icon (const KURL &_url, bool _is_local) const
virtual QString comment (const QString &_url, bool _is_local) const
virtual QString comment (const KURL &_url, bool _is_local) const

Protected Methods

virtual void virtual_hook (int id, void *data)

Detailed Description

Mimetype for a folder (inode/directory) Handles locked folders, for instance.

Definition at line 316 of file kmimetype.h.


Member Function Documentation

virtual QString KFolderType::comment const KURL   _url,
bool    _is_local
const [virtual]
 

This function differs from the above only in that a KURL may be provided instead of a QString for convenience.

Reimplemented from KMimeType.

virtual QString KFolderType::comment const QString &    _url,
bool    _is_local
const [virtual]
 

The arguments are unused, but provided so that KMimeType derived classes can use them.

Returns:
The descriptive comment associated with the MIME type, if any.

Reimplemented from KMimeType.

virtual QString KFolderType::icon const KURL   _url,
bool    _is_local
const [virtual]
 

This function differs from the above only in that a KURL may be provided instead of a QString for convenience.

Reimplemented from KMimeType.

virtual QString KFolderType::icon const QString &    _url,
bool    _is_local
const [virtual]
 

Return the filename of the icon associated with the mimetype.

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)

Returns:
The path to the icon associated with this MIME type.

Reimplemented from KMimeType.


The documentation for this class was generated from the following file:
Generated on Wed Aug 13 23:30:14 2003 for kdelibs by doxygen1.2.18