summaryrefslogtreecommitdiff
path: root/src/util/geticon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/geticon.h')
-rw-r--r--src/util/geticon.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/util/geticon.h b/src/util/geticon.h
new file mode 100644
index 0000000..97a8c84
--- /dev/null
+++ b/src/util/geticon.h
@@ -0,0 +1,30 @@
+/*********
+*
+* In the name of the Father, and of the Son, and of the Holy Spirit.
+*
+* This file is part of BibleTime's source code, http://www.bibletime.info/.
+*
+* Copyright 1999-2014 by the BibleTime developers.
+* The BibleTime source code is licensed under the GNU General Public License version 2.0.
+*
+**********/
+
+#ifndef GETICON_H
+#define GETICON_H
+
+#include <QIcon>
+#include <QString>
+
+namespace util {
+
+ /**
+ \param[in] name the name of the icon to return.
+ \returns a reference to the icon with the given name or to a NULL
+ icon if no such icon is found.
+ */
+ const QIcon & getIcon(const QString & name);
+
+ void clearIconCache();
+}
+
+#endif