Skip to content
Permalink
Browse files

[composer] Fix display name for attribute table frames

  • Loading branch information
nyalldawson committed Oct 2, 2014
1 parent 456e971 commit 10d75c006678ec4d90d72973312c4c2046d6a107
@@ -44,6 +44,8 @@ class QgsComposerAttributeTableV2 : QgsComposerTableV2

QgsComposerAttributeTableV2( QgsComposition* composition /TransferThis/, bool createUndoCommands );
~QgsComposerAttributeTableV2();

virtual QString displayName() const;

/**Writes properties specific to attribute tables
* @param elem an existing QDomElement in which to store the attribute table's properties.
@@ -148,6 +148,11 @@ QgsComposerAttributeTableV2::~QgsComposerAttributeTableV2()
{
}

QString QgsComposerAttributeTableV2::displayName() const
{
return tr( "<attribute table>" );
}

void QgsComposerAttributeTableV2::setVectorLayer( QgsVectorLayer* layer )
{
if ( layer == mVectorLayer )
@@ -66,6 +66,8 @@ class CORE_EXPORT QgsComposerAttributeTableV2: public QgsComposerTableV2
QgsComposerAttributeTableV2( QgsComposition* composition, bool createUndoCommands );
~QgsComposerAttributeTableV2();

virtual QString displayName() const;

/**Writes properties specific to attribute tables
* @param elem an existing QDomElement in which to store the attribute table's properties.
* @param doc QDomDocument for the destination xml.

0 comments on commit 10d75c0

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