[QGIS-trac] Re: [Quantum GIS] #3297: Add projectSaved() signal to the QgisInterface

Quantum GIS qgis at qgis.org
Mon Dec 6 18:49:54 EST 2010


#3297: Add projectSaved() signal to the QgisInterface
-----------------------------------------------------+----------------------
        Reporter:  ccrook                            |         Owner:  nobody       
            Type:  patch                             |        Status:  closed       
        Priority:  major: does not work as expected  |     Milestone:  Version 1.7.0
       Component:  Project Loading / Saving          |       Version:  Trunk        
      Resolution:  worksforme                        |      Keywords:               
Platform_version:                                    |      Platform:  All          
        Must_fix:  No                                |   Status_info:  0            
-----------------------------------------------------+----------------------
Changes (by ccrook):

  * status:  new => closed
  * resolution:  => worksforme


Comment:

 Good point .. it does indeed seem to work.

 I hadn't realised that the QgsProject was a singleton, so I can just
 attach to the .instance() signals.  Although the timing of the event
 doesn't fit perfectly (the file is not completely written) I think this is
 works for me!

 It may be worth putting a bit more source code documentation on the
 QgsInterface readProject signal to point users to the QgsProject signals?

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/3297#comment:5>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list