diff options
author | Arno <am@disconnect.de> | 2013-07-27 08:53:21 +0200 |
---|---|---|
committer | Arno <am@disconnect.de> | 2013-07-27 08:53:21 +0200 |
commit | b8b0cdeebbc7e6c7df905291974ed9612125fe55 (patch) | |
tree | 238a199f666155d295c8d06a2a53f83bb36a348b /smglobals.h | |
parent | 1b1d3a18a8fffdd61f533fd4b0bde4f75d683212 (diff) | |
download | SheMov-b8b0cdeebbc7e6c7df905291974ed9612125fe55.tar.gz SheMov-b8b0cdeebbc7e6c7df905291974ed9612125fe55.tar.bz2 SheMov-b8b0cdeebbc7e6c7df905291974ed9612125fe55.zip |
Simplify icon management
Introduce SmGlobals::iconFor to retrieve the configured item.
Diffstat (limited to 'smglobals.h')
-rw-r--r-- | smglobals.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/smglobals.h b/smglobals.h index 825640d..5580f47 100644 --- a/smglobals.h +++ b/smglobals.h @@ -35,6 +35,7 @@ class SmGlobals : public QObject { void setArchiveController(ArchiveController *c) { mArchiveController = c; } ArchiveController *archiveController() { return mArchiveController; } QSize cursorSize(); + QIcon iconFor(const QString &type); const QSize minPVSize() const { return QSize(640, 480); } const QHash<QString, QString> & icons() const { return mIcons; } qint64 dvdSize() const { return mDvdSize; } |