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

Palapeli::HexagonalPatternPlugin Class Reference

#include <pattern-hexagon.h>

Inheritance diagram for Palapeli::HexagonalPatternPlugin:

Palapeli::PatternPlugin

List of all members.


Detailed Description

For internal use only.

Definition at line 59 of file pattern-hexagon.h.


Public Member Functions

virtual QList
< PatternConfiguration * > 
createInstances () const
 Returns Palapeli::PatternConfiguration instances for this plugin. To actually use your plugin, Palapeli needs access to the patterns defined by your plugin. (This will usually be only one pattern per plugin.) Therefore, this method creates Palapeli::PatternConfiguration instances for Palapeli. If you choose to have multiple patterns in one plugin, you can create one Palapeli::PatternConfiguration instance for each plugin.
 HexagonalPatternPlugin (QObject *parent=0, const QVariantList &args=QVariantList())

Protected Member Functions

QString displayName () const
 The plugin's display name. This method returns the plugin's display name as specified in the plugin's desktop file. This localizable string identifies the plugin in interfaces, and can be used as a basis for the display name needed in the Palapeli::PatternConfiguration constructor.
QString iconName () const
 The plugin's icon name. This method returns the name of the icon recommended to depict this plugin, as specified in the plugin's desktop file.
QString pluginName () const
 The plugin's internal name. This method returns the plugin name specified in the plugin's desktop file. This string identifies the plugin internally, and can be used as a basis for the pattern name needed in the Palapeli::PatternConfiguration constructor.

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

Generated by  Doxygen 1.6.0   Back to index