#include <kmimetype.h>

Public Member Functions | |
KFolderType (KDesktopFile *config) | |
KFolderType (TQDataStream &_str, int offset) | |
virtual TQString | icon (const TQString &_url, bool _is_local) const |
virtual TQString | icon (const KURL &_url, bool _is_local) const |
virtual TQString | comment (const TQString &_url, bool _is_local) const |
virtual TQString | comment (const KURL &_url, bool _is_local) const |
Protected Member Functions | |
virtual void | virtual_hook (int id, void *data) |
Detailed Description
Folder mime type.
Handles locked folders, for instance. Mimetype for a folder (inode/directory)
Definition at line 477 of file kmimetype.h.
Constructor & Destructor Documentation
KFolderType::KFolderType | ( | KDesktopFile * | config | ) | [inline] |
Construct a folder mimetype and take all information from a desktop file.
- Parameters:
-
config the desktop configuration file that describes the mime type
Definition at line 489 of file kmimetype.h.
Member Function Documentation
TQString KFolderType::comment | ( | const TQString & | , |
bool | |||
) | const [virtual] |
Returns the descriptive comment associated with the MIME type.
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.
Definition at line 672 of file kmimetype.cpp.
TQString KFolderType::comment | ( | const KURL & | , |
bool | |||
) | const [virtual] |
Returns the descriptive comment associated with the MIME type.
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.
Definition at line 680 of file kmimetype.cpp.
TQString KFolderType::icon | ( | const TQString & | , |
bool | |||
) | 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.
Definition at line 599 of file kmimetype.cpp.
TQString KFolderType::icon | ( | const KURL & | , |
bool | |||
) | 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.
Definition at line 607 of file kmimetype.cpp.
The documentation for this class was generated from the following files: