class KMimeSourceFactory

An extension to QMimeSourceFactory that uses KIconLoader to find images. More...

Definition#include <kmimesourcefactory.h>
InheritsQMimeSourceFactory
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

An extension to QMimeSourceFactory that uses KIconLoader to find images.

Normally you don't have to instantiate this class at all, KApplication does that for you automagically and sets QMimeSourceFactory::setDefaultFactory.

 KMimeSourceFactory (KIconLoader* loader = KGlobal::iconLoader())

Constructor.

Parameters:

KMimeSourceFactory ()

[virtual]

Destructor.

QString  makeAbsolute (const QString& abs_or_rel_name, const QString& context)

[const virtual]

This function is maps an absolute or relative name for a resource to the absolute one.

To load an icon, prepend the category name before the icon name, in the style of <category>|<icon>.

Example:

 "", "", ...

Parameters: