Thanks to Jurgen&#39;s suggestion I&#39;ve been able to connect the application instance signals through QCoreApplication.instance().<div><br></div><div>giovanni<br><br><div class="gmail_quote">2012/4/3 G. Allegri <span dir="ltr">&lt;<a href="mailto:giohappy@gmail.com">giohappy@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Yes, the static methods let me access informations, but now I&#39;m quite dure (having searched the source code) that the application instance is kept &quot;hided&quot; to plugins, probably to avoid interferences (<span style="font-size:13px;white-space:nowrap;font-family:arial,sans-serif">especially</span> from bugous plugins!).<div>

<br></div><div>giovanni<div><div class="h5"><br><br><div class="gmail_quote">2012/4/3 ASAHI Kosuke <span dir="ltr">&lt;<a href="mailto:asahi@hcc.co.jp" target="_blank">asahi@hcc.co.jp</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi Giovanni.<br>
<br>
If you want to get some information from QgisApplication, just type like &quot;QgsApplication.showSettings()<u></u>&quot;.<br>
But I&#39;m not sure you can control some aspects of the application....<div><div><br>
<br>
(2012/04/03 17:19), G. Allegri wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
Is there a way to reach the QgisApplication reference from a python<br>
plugin? The iface object is exposed by the application object, but afaik<br>
it doesn&#39;t expose it.<br>
I need to control some aspects of the application lifecycle, but I fear<br>
the plugin system is designed to not allow it...<br>
<br>
giovanni<br>
<br>
<br></div></div>
______________________________<u></u>_________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/qgis-<u></u>developer</a><span><font color="#888888"><br>
</font></span></blockquote><span><font color="#888888">
<br>
-- <br>
ASAHI Kosuke<br>
<br>
</font></span></blockquote></div><br></div></div></div>
</blockquote></div><br></div>