Skip to content
Permalink
Browse files

set also unused flags

git-svn-id: http://svn.osgeo.org/qgis/trunk@5269 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek
rblazek committed Apr 12, 2006
1 parent 120d3e0 commit 65e0b1c9eb78b827fe266ed178454c52d5dafef5
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/plugins/grass/qgsgrassmodule.h
@@ -219,6 +219,9 @@ class QgsGrassModuleOptions
// \param all false only the mas which were switched on
virtual bool inputRegion( struct Cell_head *window, bool all ) { return false; }

// ! Flag names
virtual QStringList flagNames() { return QStringList() ; }

protected:
//! QGIS application
QgisApp *mQgisApp;
@@ -273,6 +276,7 @@ class QgsGrassModuleStandardOptions: public QgsGrassModuleOptions, QWidget
bool usesRegion();
bool requestsRegion();
bool inputRegion( struct Cell_head *window, bool all );
QStringList flagNames() { return mFlagNames; }

private:
//! Name of module executable
@@ -284,6 +288,8 @@ class QgsGrassModuleStandardOptions: public QgsGrassModuleOptions, QWidget
//! Option items
std::vector<QgsGrassModuleItem*> mItems;

//! List of all flags. Necessary for scripts.
QStringList mFlagNames;
};

/*! \class QgsGrassModuleItem

0 comments on commit 65e0b1c

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