Skip to content

Commit

Permalink
Merge pull request #335 from giohappy/master
Browse files Browse the repository at this point in the history
projectSaved SIGNAL added to QgsProject
  • Loading branch information
mach0 committed Nov 26, 2012
2 parents 9f71d9f + 838864f commit 677c9ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/qgsproject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1064,6 +1064,8 @@ bool QgsProject::write()

dirty( false ); // reset to pristine state

emit projectSaved();

return true;
} // QgsProject::write

Expand Down
3 changes: 3 additions & 0 deletions src/core/qgsproject.h
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,9 @@ class CORE_EXPORT QgsProject : public QObject
//! emitted when project is being written
void writeProject( QDomDocument & );

//! emitted when the project file has been written and closed
void projectSaved();

//! emitted when an old project file is read.
void oldProjectVersionWarning( QString );

Expand Down

0 comments on commit 677c9ca

Please sign in to comment.