#ifndef QT_FORK_AWESOME_UTILS #define QT_FORK_AWESOME_UTILS #include "./global.h" #include "./iconfwd.h" QT_FORWARD_DECLARE_CLASS(QString) namespace QtForkAwesome { /*! * \brief Returns whether \a icon is not Icon::Invalid. * \remarks Allows one to avoid including `icon.h` just for this check. */ constexpr bool isIconValid(Icon icon) { return static_cast(icon); } QT_FORK_AWESOME_EXPORT Icon iconFromId(const QString &id); } // namespace QtForkAwesome #endif // QT_FORK_AWESOME_UTILS