Skip to content

Commit

Permalink
PyQGIS: added subclassing code for QgsComposerView
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@13361 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Apr 24, 2010
1 parent 3d2b177 commit c2dbddc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions python/gui/qgscomposerview.sip
Expand Up @@ -11,6 +11,14 @@ class QgsComposerView: QGraphicsView
#include "qgscomposerview.h"
%End

%ConvertToSubClassCode
if (sipCpp->inherits("QgsComposerView"))
sipClass = sipClass_QgsComposerView;
else
sipClass = NULL;
%End


public:

/**Current tool*/
Expand Down

0 comments on commit c2dbddc

Please sign in to comment.