[QGIS Commit] r13361 - trunk/qgis/python/gui

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sat Apr 24 08:03:09 EDT 2010


Author: wonder
Date: 2010-04-24 08:03:08 -0400 (Sat, 24 Apr 2010)
New Revision: 13361

Modified:
   trunk/qgis/python/gui/qgscomposerview.sip
Log:
PyQGIS: added subclassing code for QgsComposerView


Modified: trunk/qgis/python/gui/qgscomposerview.sip
===================================================================
--- trunk/qgis/python/gui/qgscomposerview.sip	2010-04-24 09:00:25 UTC (rev 13360)
+++ trunk/qgis/python/gui/qgscomposerview.sip	2010-04-24 12:03:08 UTC (rev 13361)
@@ -11,6 +11,14 @@
 #include "qgscomposerview.h"
 %End
 
+%ConvertToSubClassCode
+  if (sipCpp->inherits("QgsComposerView"))
+    sipClass = sipClass_QgsComposerView;
+  else
+    sipClass = NULL;
+%End
+
+
   public:
 
     /**Current tool*/



More information about the QGIS-commit mailing list