imagehostutils.h 456 B

123456789101112131415161718192021222324
  1. #ifndef IMAGEHOSTUTILS_H
  2. #define IMAGEHOSTUTILS_H
  3. #include <QString>
  4. class QImage;
  5. class QWidget;
  6. namespace vnotex
  7. {
  8. class Buffer;
  9. class ImageHostUtils
  10. {
  11. public:
  12. ImageHostUtils() = delete;
  13. // According to @p_buffer, generate the relative path on image host for images.
  14. // Return the relative path folder.
  15. static QString generateRelativePath(const Buffer *p_buffer);
  16. };
  17. }
  18. #endif // IMAGEHOSTUTILS_H