Navigation Menu

Skip to content

Commit

Permalink
Move definition to class
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Sep 21, 2017
1 parent 15e650d commit 7b14d48
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/app/qgsvectorlayerproperties.h
Expand Up @@ -59,7 +59,10 @@ class APP_EXPORT QgsVectorLayerProperties : public QgsOptionsDialogBase, private
QgsVectorLayerProperties( QgsVectorLayer *lyr = nullptr, QWidget *parent = nullptr, Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags );

//! Returns the display name entered in the dialog
QString displayName();
QString displayName()
{
return txtDisplayName->text();
}
void setRendererDirty( bool ) {}

/** Adds an attribute to the table (but does not commit it yet)
Expand Down Expand Up @@ -206,8 +209,5 @@ class APP_EXPORT QgsVectorLayerProperties : public QgsOptionsDialogBase, private
void openPanel( QgsPanelWidget *panel );
};

inline QString QgsVectorLayerProperties::displayName()
{
return txtDisplayName->text();
}

#endif

0 comments on commit 7b14d48

Please sign in to comment.