Skip to content
Permalink
Browse files

Flag old composer table classes as deprecated

  • Loading branch information
nyalldawson committed May 23, 2016
1 parent eb3a34c commit 726a013222118441634a4f99d6cd699a6a54c286
@@ -24,15 +24,17 @@ class QgsComposerAttributeTableCompare
void setAscending( bool asc );
};

/** A table class that displays a vector attribute table*/
/** A table class that displays a vector attribute table
* @deprecated use QgsComposerAttributeTableV2 instead
*/
class QgsComposerAttributeTable : QgsComposerTable
{
%TypeHeaderCode
#include <qgscomposerattributetable.h>
%End

public:
QgsComposerAttributeTable( QgsComposition* composition /TransferThis/ );
QgsComposerAttributeTable( QgsComposition* composition /TransferThis/ ) /Deprecated/;
~QgsComposerAttributeTable();

/** Return correct graphics item type. */
@@ -1,4 +1,6 @@
/** A class to display feature attributes in the print composer*/
/** A class to display feature attributes in the print composer
* @deprecated use QgsComposerTableV2 instead
*/
class QgsComposerTable: QgsComposerItem
{
%TypeHeaderCode
@@ -17,7 +19,7 @@ class QgsComposerTable: QgsComposerItem
HeaderRight /*!< align headers right */
};

QgsComposerTable( QgsComposition* composition /TransferThis/ );
QgsComposerTable( QgsComposition* composition /TransferThis/ ) /Deprecated/;
virtual ~QgsComposerTable();

/** Return correct graphics item type. */
@@ -1,11 +1,14 @@
/** A text table item that reads text from string lists*/
/** A text table item that reads text from string lists
* @deprecated use QgsComposerTextTableV2 instead
*/

class QgsComposerTextTable: QgsComposerTable
{
%TypeHeaderCode
#include <qgscomposertexttable.h>
%End
public:
QgsComposerTextTable( QgsComposition* c /TransferThis/ );
QgsComposerTextTable( QgsComposition* c /TransferThis/ ) /Deprecated/;
~QgsComposerTextTable();

/** Return correct graphics item type. */
@@ -45,7 +45,10 @@ class CORE_EXPORT QgsComposerAttributeTableCompare
bool mAscending;
};

/** A table class that displays a vector attribute table*/
/** A table class that displays a vector attribute table
* @deprecated use QgsComposerAttributeTableV2 instead
*/
// TODO QGIS 3.0 - remove
class CORE_EXPORT QgsComposerAttributeTable: public QgsComposerTable
{
Q_OBJECT
@@ -26,7 +26,10 @@

class QgsComposerTableColumn;

/** A class to display feature attributes in the print composer*/
/** A class to display feature attributes in the print composer
* @deprecated use QgsComposerTableV2 instead
*/
//TODO QGIS 3.0 -remove
class CORE_EXPORT QgsComposerTable: public QgsComposerItem
{
Q_OBJECT
@@ -21,7 +21,10 @@
#include "qgscomposertable.h"
#include "qgscomposertablev2.h"

/** A text table item that reads text from string lists*/
/** A text table item that reads text from string lists
* @deprecated use QgsComposerTextTableV2 intead
*/
//TODO QGIS 3.0 - remove
class CORE_EXPORT QgsComposerTextTable: public QgsComposerTable
{
Q_OBJECT

0 comments on commit 726a013

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