diff --git a/src/runner/proxypluginwrappers.cpp b/src/runner/proxypluginwrappers.cpp index bade563..ddaaf04 100644 --- a/src/runner/proxypluginwrappers.cpp +++ b/src/runner/proxypluginwrappers.cpp @@ -1,4 +1,4 @@ -#define HAVE_ROUND +//#define HAVE_ROUND #include "proxypluginwrappers.h" #include #include "error.h" @@ -27,63 +27,64 @@ bool IPluginToolWrapper::init(MOBase::IOrganizer *moInfo) QString IPluginToolWrapper::name() const { try { - return this->get_override("name")(); + return this->get_override("name")().as(); } PYCATCH; } QString IPluginToolWrapper::author() const { try { - return this->get_override("author")(); + return this->get_override("author")().as(); } PYCATCH; } QString IPluginToolWrapper::description() const { try { - return this->get_override("description")(); + return this->get_override("description")().as(); } PYCATCH; } MOBase::VersionInfo IPluginToolWrapper::version() const { try { - return this->get_override("version")(); + return this->get_override("version")().as(); } PYCATCH; } bool IPluginToolWrapper::isActive() const { try { - return this->get_override("isActive")(); + return this->get_override("isActive")().as(); } PYCATCH; } QList IPluginToolWrapper::settings() const { try { - return this->get_override("settings")(); + return this->get_override("settings")().as>(); } PYCATCH; } QString IPluginToolWrapper::displayName() const { try { - return this->get_override("displayName")(); + return this->get_override("displayName")().as(); } PYCATCH; } QString IPluginToolWrapper::tooltip() const { try { - return this->get_override("tooltip")(); + return this->get_override("tooltip")().as(); } PYCATCH; } QIcon IPluginToolWrapper::icon() const { try { - return this->get_override("icon")(); +qDebug("%p", this->get_override("icon").ptr()); + return this->get_override("icon")().as(); } PYCATCH; } @@ -118,21 +119,21 @@ bool IPluginInstallerCustomWrapper::init(MOBase::IOrganizer *moInfo) QString IPluginInstallerCustomWrapper::name() const { try { - return this->get_override("name")(); + return this->get_override("name")().as(); } PYCATCH; } QString IPluginInstallerCustomWrapper::author() const { try { - return this->get_override("author")(); + return this->get_override("author")().as(); } PYCATCH; } QString IPluginInstallerCustomWrapper::description() const { try { - return this->get_override("description")(); + return this->get_override("description")().as(); } PYCATCH; } @@ -153,7 +154,7 @@ bool IPluginInstallerCustomWrapper::isActive() const QList IPluginInstallerCustomWrapper::settings() const { try { - return this->get_override("settings")(); + return this->get_override("settings")().as>(); } PYCATCH; } @@ -189,7 +190,7 @@ bool IPluginInstallerCustomWrapper::isArchiveSupported(const QString &archiveNam std::set IPluginInstallerCustomWrapper::supportedExtensions() const { try { - return this->get_override("supportedExtensions")(); + return this->get_override("supportedExtensions")().as>(); } PYCATCH; }