mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
Enable dropping content on the FolderContentView
This commit is contained in:
@ -48,6 +48,9 @@ protected slots:
|
||||
void openComicFromContinueReadingList(int index);
|
||||
void requestedFolderContextMenu(QPoint point, int index);
|
||||
void requestedContinueReadingComicContextMenu(QPoint point, int index);
|
||||
bool canDropUrls(const QList<QUrl> &urls, Qt::DropAction action);
|
||||
bool canDropFormats(const QString &formats);
|
||||
void droppedFiles(const QList<QUrl> &urls, Qt::DropAction action);
|
||||
|
||||
protected:
|
||||
QQuickWidget *view;
|
||||
@ -56,10 +59,6 @@ protected:
|
||||
std::unique_ptr<ComicModel> comicModel;
|
||||
FolderModel *folderModel;
|
||||
|
||||
// Drop to import
|
||||
void dragEnterEvent(QDragEnterEvent *event) override;
|
||||
void dropEvent(QDropEvent *event) override;
|
||||
|
||||
private:
|
||||
QSettings *settings;
|
||||
QToolBar *toolbar;
|
||||
|
Reference in New Issue
Block a user