Fix typo in docs

This commit is contained in:
Nyall Dawson 2014-08-14 17:40:07 +10:00
parent 43c545c2f6
commit 11686c7ad3
2 changed files with 2 additions and 2 deletions

View File

@ -305,7 +305,7 @@ class QgsComposition : QGraphicsScene
@param addUndoCommands insert AddItem commands if true (e.g. for copy/paste)
@param pos item position. Optional, take position from xml if 0
@param pasteInPlace whether the position should be kept but mapped to the page origin. (the page is the page under to the mouse cursor)
@note parameters mapsToResotre, addUndoCommands pos and pasteInPlace not available in python bindings
@note parameters mapsToRestore, addUndoCommands pos and pasteInPlace not available in python bindings
*/
void addItemsFromXML( const QDomElement& elem, const QDomDocument& doc );

View File

@ -363,7 +363,7 @@ class CORE_EXPORT QgsComposition : public QGraphicsScene
@param addUndoCommands insert AddItem commands if true (e.g. for copy/paste)
@param pos item position. Optional, take position from xml if 0
@param pasteInPlace whether the position should be kept but mapped to the page origin. (the page is the page under to the mouse cursor)
@note parameters mapsToResotre, addUndoCommands pos and pasteInPlace not available in python bindings
@note parameters mapsToRestore, addUndoCommands pos and pasteInPlace not available in python bindings
*/
void addItemsFromXML( const QDomElement& elem, const QDomDocument& doc, QMap< QgsComposerMap*, int >* mapsToRestore = 0,
bool addUndoCommands = false, QPointF* pos = 0, bool pasteInPlace = false );