KDE3Support
#include <k3mimesourcefactory.h>
Public Member Functions | |
K3MimeSourceFactory (KIconLoader *loader=0) | |
virtual | ~K3MimeSourceFactory () |
virtual QString | makeAbsolute (const QString &abs_or_rel_name, const QString &context) const |
Static Public Member Functions | |
static void | install () |
Protected Member Functions | |
virtual void | virtual_hook (int id, void *data) |
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.
Definition at line 42 of file k3mimesourcefactory.h.
Constructor & Destructor Documentation
|
explicit |
Constructor.
- Parameters
-
loader is the iconloader used to find images.
Definition at line 54 of file k3mimesourcefactory.cpp.
|
virtual |
Destructor.
Definition at line 60 of file k3mimesourcefactory.cpp.
Member Function Documentation
|
static |
Set up a K3MimeSourceFactory instance as the default mimesource factory.
Definition at line 36 of file k3mimesourcefactory.cpp.
|
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
-
abs_or_rel_name is the absolute or relative pathname. context is the path of the context object for the queried resource. Almost always empty.
Definition at line 65 of file k3mimesourcefactory.cpp.
|
protectedvirtual |
Virtual hook, used to add new "virtual" functions while maintaining binary compatibility.
Unused in this class.
Definition at line 106 of file k3mimesourcefactory.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.