51 #include "TypePolyLine.hh"
56 TypePolyLinePlugin::TypePolyLinePlugin() {
60 bool TypePolyLinePlugin::registerType() {
84 QString
name = tr(
"New PolyLine %1.pol").arg( object->
id() );
88 object->setName( f.fileName() );
96 emit emptyObjectAdded (object->
id() );
101 #if QT_VERSION < 0x050000
DLLEXPORT OpenFlipperQSettings & OpenFlipperSettings()
QSettings object containing all program settings of OpenFlipper.
QString name()
Return a name for the plugin.
DLLEXPORT void setTypeIcon(DataType _id, QString _icon)
Set an Icon for a given DataType.
int targetCount()
Get the number of target objects.
DLLEXPORT DataType addDataType(QString _name, QString _readableName)
Adds a datatype and returns the id for the new type.
QString getObjectinfo()
Get all Info for the Object as a string.
int objectCount()
Get the number of available objects.
int addEmpty()
Create an empty object.