Skip to content

Commit

Permalink
Uncomment convert code for attribute table item
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14771 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Nov 26, 2010
1 parent 6568583 commit b15d21b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/core/qgscomposeritem.sip
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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;*/
Expand Down

0 comments on commit b15d21b

Please sign in to comment.