mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-18 00:03:05 -04:00
Made addVectorLayer function public so it can be used from other dialogs
git-svn-id: http://svn.osgeo.org/qgis/trunk@616 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
e29991eed8
commit
8aa9ada994
@ -49,6 +49,7 @@ class QgisApp:public QgisAppBase
|
|||||||
public:
|
public:
|
||||||
QgisIface *getInterface();
|
QgisIface *getInterface();
|
||||||
int getInt();
|
int getInt();
|
||||||
|
void addVectorLayer(QString vectorLayerPath, QString baseName, QString providerKey);
|
||||||
private:
|
private:
|
||||||
//private:
|
//private:
|
||||||
//public slots:
|
//public slots:
|
||||||
@ -60,7 +61,7 @@ class QgisApp:public QgisAppBase
|
|||||||
//! Add a databaselayer to the map
|
//! Add a databaselayer to the map
|
||||||
void addDatabaseLayer();
|
void addDatabaseLayer();
|
||||||
#endif
|
#endif
|
||||||
void addVectorLayer(QString vectorLayerPath, QString baseName, QString providerKey);
|
|
||||||
//! Exit Qgis
|
//! Exit Qgis
|
||||||
void fileExit();
|
void fileExit();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user