kalzium
KalziumGradientTypeFactory Class Reference
#include <kalziumgradienttype.h>
Detailed Description
Factory for KalziumGradientType classes.
Definition at line 33 of file kalziumgradienttype.h.
Public Member Functions | |
| KalziumGradientType * | build (int id) const |
| KalziumGradientType * | build (const QByteArray &id) const |
| QStringList | gradients () const |
Static Public Member Functions | |
| static KalziumGradientTypeFactory * | instance () |
Member Function Documentation
| KalziumGradientTypeFactory * KalziumGradientTypeFactory::instance | ( | ) | [static] |
| KalziumGradientType * KalziumGradientTypeFactory::build | ( | int | id | ) | const |
Returns the KalziumGradientType with the id specified.
It will gives 0 if none found.
Definition at line 52 of file kalziumgradienttype.cpp.
| KalziumGradientType * KalziumGradientTypeFactory::build | ( | const QByteArray & | id | ) | const |
Returns the KalziumGradientType whose name is the id specified.
It will gives 0 if none found.
Definition at line 60 of file kalziumgradienttype.cpp.
| QStringList KalziumGradientTypeFactory::gradients | ( | ) | const |
Returns a list with the names of the gradients we support.
Definition at line 72 of file kalziumgradienttype.cpp.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference