Skip to content

Commit 40256fa

Browse files
author
wonder
committed
PyQGIS: small fixes for handling of QML styling.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12949 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent b3cdb6f commit 40256fa

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

python/core/qgsmaplayer.sip

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ public:
231231
* @return a QString with any status messages
232232
* @see also loadNamedStyle ();
233233
*/
234-
virtual QString loadDefaultStyle( bool & theResultFlag );
234+
virtual QString loadDefaultStyle( bool & theResultFlag /Out/ );
235235

236236
/** Retrieve a named style for this layer if one
237237
* exists (either as a .qml file on disk or as a
@@ -246,9 +246,9 @@ public:
246246
* @return a QString with any status messages
247247
* @see also loadDefaultStyle ();
248248
*/
249-
virtual QString loadNamedStyle( const QString theURI, bool & theResultFlag );
249+
virtual QString loadNamedStyle( const QString theURI, bool & theResultFlag /Out/ );
250250

251-
virtual bool loadNamedStyleFromDb( const QString db, const QString theURI, QString &qml );
251+
virtual bool loadNamedStyleFromDb( const QString db, const QString theURI, QString &qml /Out/ );
252252

253253
/** Save the properties of this layer as the default style
254254
* (either as a .qml file on disk or as a
@@ -258,7 +258,7 @@ public:
258258
* @return a QString with any status messages
259259
* @see also loadNamedStyle () and saveNamedStyle()
260260
*/
261-
virtual QString saveDefaultStyle( bool & theResultFlag );
261+
virtual QString saveDefaultStyle( bool & theResultFlag /Out/ );
262262

263263
/** Save the properties of this layer as a named style
264264
* (either as a .qml file on disk or as a
@@ -273,7 +273,7 @@ public:
273273
* @return a QString with any status messages
274274
* @see also saveDefaultStyle ();
275275
*/
276-
virtual QString saveNamedStyle( const QString theURI, bool & theResultFlag );
276+
virtual QString saveNamedStyle( const QString theURI, bool & theResultFlag /Out/ );
277277

278278
/** Return pointer to layer's undo stack */
279279
QUndoStack* undoStack();

0 commit comments

Comments
 (0)