Am Donnerstag 07 Mai 2009 09:08:28 schrieb Vladimir Prus: > After the interface is declared, and implemented, how to get hold of > an instance of that interface? > > Thanks, > Volodya Something like this: QList m_plugins=ICore::self()->pluginController()- >allPluginsForExtension(interfaceName); Where interfaceName is the interface id. Then you can qobject_cast or dynamic_cast the plugins to the interfaces. Ah yeah, I think the plugin that implements the interface must be marked in the .desktop file using X-KDevelop- Interfaces with that interface to make this work. Greetings, David _______________________________________________ KDevelop-devel mailing list KDevelop-devel@kdevelop.org https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel