X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Ficon.h;h=cd2466dbb836857a9c511870e6e491e358ff642c;hb=082cb8c8eb6db90cbb2166a0098874e76d5c6ad9;hp=18ec665c051066763da7b6d599ab23f1f1157781;hpb=b7447afe8e836376776dac26704e227a678d2913;p=quassel.git diff --git a/src/uisupport/icon.h b/src/uisupport/icon.h index 18ec665c..cd2466db 100644 --- a/src/uisupport/icon.h +++ b/src/uisupport/icon.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2018 by the Quassel Project * + * Copyright (C) 2005-2020 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -20,6 +20,8 @@ #pragma once +#include "uisupport-export.h" + #include #include @@ -39,7 +41,7 @@ namespace icon { * @param fallbackPath Full path to a fallback icon * @returns The requested icon, if available */ -QIcon get(const QString &iconName, const QString &fallbackPath = {}); +UISUPPORT_EXPORT QIcon get(const QString& iconName, const QString& fallbackPath = {}); /** * Gets an icon from the current icon theme. @@ -53,6 +55,6 @@ QIcon get(const QString &iconName, const QString &fallbackPath = {}); * @param fallbackPath Full path to a fallback icon * @returns The requested icon, if available */ -QIcon get(const std::vector &iconNames, const QString &fallbackPath = {}); +UISUPPORT_EXPORT QIcon get(const std::vector& iconNames, const QString& fallbackPath = {}); -} +} // namespace icon