Moved RSTextBrowser::checkImage to ImageUtil for use in MimeTextEdit

This commit is contained in:
thunder2 2023-04-19 00:42:26 +02:00
parent 44bb2c0f05
commit 7b28bf5256
7 changed files with 121 additions and 67 deletions

View file

@ -45,8 +45,6 @@ public:
void setImageBlockWidget(RSImageBlockWidget *widget);
void resetImagesStatus(bool load);
QPixmap getBlockedImage();
bool checkImage(QPoint pos, QString &imageStr);
bool checkImage(QPoint pos) {QString imageStr; return checkImage(pos, imageStr); }
QString anchorForPosition(const QPoint &pos) const;
// Add QAction to context menu (action won't be deleted)