Skip to content
Permalink
Browse files

Added the possibility to specify the manpage of the modules into .qgm…

… files.

Updated .qgm files for qgis.r.externa.all, qgis.v.out.ogr.pg and qgis.db.connect-login.pg to fix #1774.


git-svn-id: http://svn.osgeo.org/qgis/trunk@11078 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rugginoso
rugginoso committed Jul 15, 2009
1 parent 6de0bf5 commit 5a16e7917d34dd61c43213771b5a8083c1915096
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE qgisgrassmodule SYSTEM "http://mrcc.com/qgisgrassmodule.dtd">

<qgisgrassmodule label="Set PostgreSQL DB connection" module="qgis.db.connect-login.pg.py">
<qgisgrassmodule label="Set PostgreSQL DB connection" module="qgis.db.connect-login.pg.py" manual="db.connect">
<option key="database" />
<option key="schema" />
<option key="host" />
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE qgisgrassmodule SYSTEM "http://mrcc.com/qgisgrassdatamodule.dtd">
<qgisgrassmodule label="Link all GDAL supported raster files into a directory to binary raster map layers." module="qgis.r.external.all.py">
<qgisgrassmodule label="Link all GDAL supported raster files into a directory to binary raster map layers." module="qgis.r.external.all.py" manual="r.external">
<flag key="o"/>
<flag key="e"/>
<flag key="r"/>
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE qgisgrassmodule SYSTEM "http://mrcc.com/qgisgrassmodule.dtd">

<qgisgrassmodule label="Export vector to PostGIS (PostgreSQL) database table." module="qgis.v.out.ogr.pg.py">
<qgisgrassmodule label="Export vector to PostGIS (PostgreSQL) database table." module="qgis.v.out.ogr.pg.py" manual="v.out.ogr">
<option key="input" layeroption="layer" typeoption="type" />
<option key="olayer" />
<option key="database" />
@@ -195,7 +195,11 @@ QgsGrassModule::QgsGrassModule( QgsGrassTools *tools, QString moduleName, QgisIn
QDomElement qDocElem = qDoc.documentElement();

// Read GRASS module description
QString xName = qDocElem.attribute( "module" );
QString xName = qDocElem.attribute( "manual" );
if ( xName.isEmpty() )
{
xName = qDocElem.attribute( "module" );
}

// Binary modules on windows has .exe extension
// but not all modules have to be binary (can be scripts)

0 comments on commit 5a16e79

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