Skip to content

Commit

Permalink
Added method to return path to icons directory
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5520 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
gsherman committed Jun 16, 2006
1 parent e4ee9ed commit 79aecf6
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 79aecf6

Please sign in to comment.