+
+// Convenience constructors
+
+QPixmap DesktopIcon(const QString& name, int force_size) {
+ IconLoader *loader = IconLoader::global();
+ return loader->loadIcon(name, IconLoader::Desktop, force_size);
+}
+
+QPixmap BarIcon(const QString& name, int force_size) {
+ IconLoader *loader = IconLoader::global();
+ return loader->loadIcon(name, IconLoader::Toolbar, force_size);
+}
+
+QPixmap MainBarIcon(const QString& name, int force_size) {
+ IconLoader *loader = IconLoader::global();
+ return loader->loadIcon(name, IconLoader::MainToolbar, force_size);
+}
+
+QPixmap SmallIcon(const QString& name, int force_size) {
+ IconLoader *loader = IconLoader::global();
+ return loader->loadIcon(name, IconLoader::Small, force_size);
+}