Skip to content

Commit b199dc7

Browse files
committedJun 4, 2014
QgsComposition::addItemsFromXML for python (without optional arguments). Funded by Sourcepole QGIS Enterprise.
1 parent 72f01ba commit b199dc7

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed
 

‎python/core/composer/qgscomposition.sip

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -242,14 +242,8 @@ class QgsComposition : QGraphicsScene
242242
/**Add items from XML representation to the graphics scene (for project file reading, pasting items from clipboard)
243243
@param elem items parent element, e.g. \verbatim <Composer> \endverbatim or \verbatim <ComposerItemClipboard> \endverbatim
244244
@param doc xml document
245-
@param mapsToRestore for reading from project file: set preview move 'rectangle' to all maps and save the preview states to show composer maps on demand
246-
@param addUndoCommands insert AddItem commands if true (e.g. for copy/paste)
247-
@param pos item position. Optional, take position from xml if 0
248-
@param pasteInPlace whether the position should be kept but mapped to the page origin. (the page is the page under to the mouse cursor)
249-
@note not available in python bindings
250245
*/
251-
// void addItemsFromXML( const QDomElement& elem, const QDomDocument& doc, QMap< QgsComposerMap*, int >* mapsToRestore = 0,
252-
// bool addUndoCommands = false, QPointF* pos = 0, bool pasteInPlace = false );
246+
void addItemsFromXML( const QDomElement& elem, const QDomDocument& doc );
253247

254248
/**Adds item to z list. Usually called from constructor of QgsComposerItem*/
255249
void addItemToZList( QgsComposerItem* item );

0 commit comments

Comments
 (0)
Please sign in to comment.