Logo Search packages:      
Sourcecode: palapeli version File versions  Download package

Palapeli::PatternTrader Class Reference

#include <Palapeli/PatternTrader>

List of all members.


Detailed Description

The pattern trader is a thin wrapper class around the KServiceTypeTrader that is used to locate the pattern plugins.

The following code can be used to fetch a list of all available Palapeli::PatternConfiguration objects from the pattern trader.

QList<Palapeli::PatternConfiguration*> configs;
Palapeli::PatternTrader* trader = Palapeli::PatternTrader::self();

for (int i = 0; i < trader->configurationCount(); ++i)
      configs << trader->configurationAt(i);

Author:
Stefan Majewsky <majewsky@gmx.net>

Definition at line 52 of file pattern-trader.h.


Public Member Functions

PatternConfigurationconfigurationAt (int index) const
int configurationCount () const
PatternConfigurationconfigurationFromName (const QString &patternName) const
void rescanConfigurations ()

Static Public Member Functions

static PatternTraderself ()

Private Attributes

PatternTraderPrivate *const p

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index