summaryrefslogtreecommitdiffstats
path: root/src/designer/src/lib/shared/iconloader_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/designer/src/lib/shared/iconloader_p.h')
-rw-r--r--src/designer/src/lib/shared/iconloader_p.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/designer/src/lib/shared/iconloader_p.h b/src/designer/src/lib/shared/iconloader_p.h
index 14c7edeb5..c054d677c 100644
--- a/src/designer/src/lib/shared/iconloader_p.h
+++ b/src/designer/src/lib/shared/iconloader_p.h
@@ -17,6 +17,8 @@
#include "shared_global_p.h"
+#include <QtGui/qicon.h>
+
QT_BEGIN_NAMESPACE
class QString;
@@ -24,7 +26,10 @@ class QIcon;
namespace qdesigner_internal {
-QDESIGNER_SHARED_EXPORT QIcon createIconSet(const QString &name);
+QDESIGNER_SHARED_EXPORT QIcon createIconSet(QStringView name);
+QDESIGNER_SHARED_EXPORT QIcon createIconSet(QLatin1StringView name);
+QDESIGNER_SHARED_EXPORT QIcon createIconSet(QIcon::ThemeIcon themeIcon,
+ QLatin1StringView name);
QDESIGNER_SHARED_EXPORT QIcon emptyIcon();
QDESIGNER_SHARED_EXPORT QIcon qtLogoIcon();