50 #include "TypeCoordsys.hh" 54 TypeCoordsysPlugin::TypeCoordsysPlugin() {
58 bool TypeCoordsysPlugin::registerType() {
82 QString
name = QString(tr(
"New Coordinate System %1.cos").arg( object->
id() ));
86 object->setName( f.fileName() );
92 emit emptyObjectAdded (object->
id() );
97 #if QT_VERSION < 0x050000 QString name()
Return a name for the plugin.
int addEmpty()
Create an empty object.
DLLEXPORT OpenFlipperQSettings & OpenFlipperSettings()
QSettings object containing all program settings of OpenFlipper.
DLLEXPORT DataType addDataType(QString _name, QString _readableName)
Adds a datatype and returns the id for the new type.
int objectCount()
Get the number of available objects.
DLLEXPORT void setTypeIcon(DataType _id, QString _icon)
Set an Icon for a given DataType.
int targetCount()
Get the number of target objects.