• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kio

KFolderType Class Reference

Folder mime type. More...

#include <kmimetype.h>

Inheritance diagram for KFolderType:

Inheritance graph
[legend]

List of all members.


Public Member Functions

virtual QString comment (const KURL &_url, bool _is_local) const
virtual QString comment (const QString &_url, bool _is_local) const
virtual QString icon (const KURL &_url, bool _is_local) const
virtual QString icon (const QString &_url, bool _is_local) const
 KFolderType (QDataStream &_str, int offset)
 KFolderType (KDesktopFile *config)

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.

KFolderType::KFolderType ( QDataStream &  _str,
int  offset 
) [inline]

For internal use only.

Definition at line 491 of file kmimetype.h.


Member Function Documentation

QString 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 672 of file kmimetype.cpp.

QString KFolderType::comment ( const QString &  ,
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 664 of file kmimetype.cpp.

QString 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 599 of file kmimetype.cpp.

QString KFolderType::icon ( const QString &  ,
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 591 of file kmimetype.cpp.

void KFolderType::virtual_hook ( int  id,
void *  data 
) [protected, virtual]

Reimplemented from KMimeType.

Definition at line 1164 of file kmimetype.cpp.


The documentation for this class was generated from the following files:
  • kmimetype.h
  • kmimetype.cpp

kio

Skip menu "kio"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal