Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added method to return path to icons directory
git-svn-id: http://svn.osgeo.org/qgis/trunk@5520 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
gsherman committed Jun 16, 2006
1 parent 4b28856 commit 3fd7c58
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/core/qgsapplication.cpp
Expand Up @@ -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.
*/
Expand Down
3 changes: 3 additions & 0 deletions src/core/qgsapplication.h
Expand Up @@ -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();
Expand Down

0 comments on commit 3fd7c58

Please sign in to comment.