KFolderType Class Reference
Folder mime type. Mimetype for a folder (inode/directory). More...
#include <kmimetype.h>
Inheritance diagram for KFolderType:

Public Methods | |
KFolderType (KDesktopFile *config) | |
KFolderType (QDataStream &_str, int offset) | |
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
Folder mime type. Mimetype for a folder (inode/directory).Handles locked folders, for instance.
Definition at line 478 of file kmimetype.h.
Constructor & Destructor Documentation
|
Construct a folder mimetype and take all information from a desktop file.
Definition at line 490 of file kmimetype.h. |
Member Function Documentation
|
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)
Reimplemented from KMimeType. Definition at line 574 of file kmimetype.cpp. References KServiceType::icon(), and QString::isEmpty(). Referenced by icon(). |
|
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)
Reimplemented from KMimeType. Definition at line 582 of file kmimetype.cpp. References KURL::addPath(), QFile::encodeName(), KStandardDirs::exists(), icon(), KServiceType::icon(), QString::isEmpty(), and KURL::path(). |
|
Returns the descriptive comment associated with the MIME type. The arguments are unused, but provided so that KMimeType derived classes can use them.
Reimplemented from KMimeType. Definition at line 629 of file kmimetype.cpp. References KMimeType::comment(), and QString::isEmpty(). Referenced by comment(). |
|
Returns the descriptive comment associated with the MIME type. The arguments are unused, but provided so that KMimeType derived classes can use them.
Reimplemented from KMimeType. Definition at line 637 of file kmimetype.cpp. References KURL::addPath(), comment(), KMimeType::comment(), QString::isEmpty(), and KURL::path(). |
The documentation for this class was generated from the following files: