added qgis webpage and qgis sf page slots

git-svn-id: http://svn.osgeo.org/qgis/trunk@802 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
gsherman 2004-02-12 05:43:57 +00:00
parent 98a6cb05e0
commit 3e61b07e9f
2 changed files with 13 additions and 2 deletions

View File

@ -1689,9 +1689,16 @@ void QgisApp::options()
void QgisApp::helpContents()
{
openURL("index.html");
openURL("index.html");
}
void QgisApp::helpQgisHomePage()
{
openURL("http://qgis.org", false);
}
void QgisApp::helpQgisSourceForge()
{
openURL("http://sourceforge.net/projects/qgis", false);
}
void QgisApp::openURL(QString url, bool useQgisDocDirectory)
{
// open help in user browser

View File

@ -155,6 +155,10 @@ private:
QString activeLayerSource();
//! Open the help contents in a browser
void helpContents();
//! Open the QGIS homepage in users browser
void helpQgisHomePage();
//! Open the QGIS Sourceforge page in users browser
void helpQgisSourceForge();
//! Open a url in the users configured browser
void openURL(QString url, bool useQgisDocDirectory=true);
//! Check qgis version against the qgis version server