Skip to content
Permalink
Browse files

Uncomment convert code for attribute table item

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14771 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Nov 26, 2010
1 parent 6568583 commit b15d21ba69e7c4e3f29d6702259332d36ec8bbca
Showing with 4 additions and 4 deletions.
  1. +4 −4 python/core/qgscomposeritem.sip
@@ -14,8 +14,8 @@ class QgsComposerItem: QObject, QGraphicsRectItem
#include <qgscomposerpicture.h>
#include <qgscomposerscalebar.h>
#include <qgscomposershape.h>
//#include <qgscomposertable.h>
//#include <qgscomposerattributetable.h>
#include <qgscomposertable.h>
#include <qgscomposerattributetable.h>
//#include <qgscomposertexttable.h>
%End

@@ -64,15 +64,15 @@ class QgsComposerItem: QObject, QGraphicsRectItem
sipType = sipType_QgsComposerShape;
*sipCppRet = static_cast<QgsComposerShape*>(sipCpp);
break;
/* case QgsComposerItem::ComposerTable:
case QgsComposerItem::ComposerTable:
sipType = sipType_QgsComposerTable;
*sipCppRet = static_cast<QgsComposerTable*>(sipCpp);
break;
case QgsComposerItem::ComposerAttributeTable:
sipType = sipType_QgsComposerAttributeTable;
*sipCppRet = static_cast<QgsComposerAttributeTable*>(sipCpp);
break;
case QgsComposerItem::ComposerTextTable:
/*case QgsComposerItem::ComposerTextTable:
sipType = sipType_QgsComposerTextTable;
*sipCppRet = static_cast<QgsComposerTextTable*>(sipCpp);
break;*/

0 comments on commit b15d21b

Please sign in to comment.
You can’t perform that action at this time.