Skip to content

Commit

Permalink
Clean comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Sep 12, 2017
1 parent af03d2f commit 2c00199
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions src/providers/wfs/qgswfsdataitems.cpp
Expand Up @@ -32,6 +32,9 @@
#include <QCoreApplication>
#include <QEventLoop>

//
// QgsWfsLayerItem
//

QgsWfsLayerItem::QgsWfsLayerItem( QgsDataItem *parent, QString name, const QgsDataSourceUri &uri, QString featureType, QString title, QString crsString )
: QgsLayerItem( parent, title, parent->path() + '/' + name, QString(), QgsLayerItem::Vector, QStringLiteral( "WFS" ) )
Expand All @@ -47,7 +50,9 @@ QgsWfsLayerItem::~QgsWfsLayerItem()
{
}

////
//
// QgsWfsConnectionItem
//

QgsWfsConnectionItem::QgsWfsConnectionItem( QgsDataItem *parent, QString name, QString path, QString uri )
: QgsDataCollectionItem( parent, name, path )
Expand Down Expand Up @@ -130,8 +135,9 @@ void QgsWfsConnectionItem::deleteConnection()
#endif


//////

//
// QgsWfsRootItem
//

QgsWfsRootItem::QgsWfsRootItem( QgsDataItem *parent, QString name, QString path )
: QgsDataCollectionItem( parent, name, path )
Expand Down Expand Up @@ -196,8 +202,9 @@ void QgsWfsRootItem::newConnection()
#endif


//////

//
// QgsWfsDataItemProvider
//

QgsDataItem *QgsWfsDataItemProvider::createDataItem( const QString &path, QgsDataItem *parentItem )
{
Expand Down Expand Up @@ -273,7 +280,6 @@ QVector<QgsDataItem *> QgsWfsDataItemProvider::createDataItems( const QString &p
return items;
}

// ---------------------------------------------------------------------------

#ifdef HAVE_GUI
QGISEXTERN QgsWFSSourceSelect *selectWidget( QWidget *parent, Qt::WindowFlags fl, QgsProviderRegistry::WidgetMode widgetMode )
Expand Down

0 comments on commit 2c00199

Please sign in to comment.