Added method to return path to icons directory

git-svn-id: http://svn.osgeo.org/qgis/trunk@5520 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
gsherman 2006-06-16 05:43:21 +00:00
parent 4b28856b69
commit 3fd7c5802a
2 changed files with 10 additions and 0 deletions

View File

@ -131,6 +131,13 @@ const QString QgsApplication::splashPath()
return mPkgDataPath + QString("/images/splash/");
}
/*!
Returns the path to the icons image directory.
*/
const QString QgsApplication::iconsPath()
{
return mPkgDataPath + QString("/images/icons/");
}
/*!
Returns the path to the srs.db file.
*/

View File

@ -50,6 +50,9 @@ class QgsApplication: public QApplication
//! Returns the path to the splash screen image directory.
static const QString splashPath();
//! Returns the path to the icons image directory.
static const QString iconsPath();
//! Returns the path to the srs.db file.
static const QString srsDbFilePath();