fb2utils.h 314 B

123456789101112131415161718192021
  1. #ifndef FB2UTILS_H
  2. #define FB2UTILS_H
  3. #include <QIcon>
  4. #include <QString>
  5. #define FB2DELETE(p) { if ((p) != NULL) { delete (p); (p) = NULL; } }
  6. class Fb2Icon : public QIcon
  7. {
  8. public:
  9. explicit Fb2Icon(const QString &name);
  10. };
  11. namespace FB2 {
  12. QString read(const QString &filename);
  13. }
  14. #endif // FB2UTILS_H