Skip to content

Commit 677c9ca

Browse files
committed
Merge pull request #335 from giohappy/master
projectSaved SIGNAL added to QgsProject
2 parents 9f71d9f + 838864f commit 677c9ca

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/core/qgsproject.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1064,6 +1064,8 @@ bool QgsProject::write()
10641064

10651065
dirty( false ); // reset to pristine state
10661066

1067+
emit projectSaved();
1068+
10671069
return true;
10681070
} // QgsProject::write
10691071

src/core/qgsproject.h

+3
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,9 @@ class CORE_EXPORT QgsProject : public QObject
332332
//! emitted when project is being written
333333
void writeProject( QDomDocument & );
334334

335+
//! emitted when the project file has been written and closed
336+
void projectSaved();
337+
335338
//! emitted when an old project file is read.
336339
void oldProjectVersionWarning( QString );
337340

0 commit comments

Comments
 (0)