rssguard/src/gui/iconfactory.h
2013-12-21 21:08:52 +01:00

17 lines
321 B
C++

#ifndef ICONFACTORY_H
#define ICONFACTORY_H
#include <QIcon>
class IconFactory {
private:
explicit IconFactory();
public:
// Used to store/retrieve QIcons from/to database.
static QIcon fromByteArray(QByteArray array);
static QByteArray toByteArray(const QIcon &icon);
};
#endif // ICONFACTORY_H