32 #include <QtCore/qplugin.h>
33 #include <QtCore/QObject>
35 using namespace Plugin3;
38 : initializeCalled(false)
44 initializeCalled =
true;
45 QObject *obj =
new QObject(
this);
46 obj->setObjectName(
"MyPlugin3");
50 foreach (QObject *
object, ExtensionSystem::PluginManager::instance()->allObjects()) {
51 if (object->objectName() ==
"MyPlugin2")
57 *errorString =
"object from plugin2 could not be found";
63 if (!initializeCalled)
66 QObject *obj =
new QObject(
this);
67 obj->setObjectName(
"MyPlugin3_running");
bool initialize(const QStringList &arguments, QString *errorString)
void extensionsInitialized()
void addAutoReleasedObject(QObject *obj)