1. GISBASE env var
2. QSettings
3. --with-grass configure flag
Before resorting to asking the user for it. Still need to provide
some more information in the file dialog.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2738 c8812cc2-4d05-0410-92ff-de0c093fc19c
Updated _all_ plugins so that initGui() is implemented as a slot.
This is required if you wish to use qgsproject for storing and reinstating state in qgis. The reason for this is that the initGui() method is only called once at the moment when qgis starts up. I will be adding a signal to qgisproject 'projectLoaded' that will be emitted when a new project is loaded. I will also be adding connect() for each plugin when its initially loaded in qgisapp so that the initgui slot is called whenever the project loads.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2238 c8812cc2-4d05-0410-92ff-de0c093fc19c