mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Rearanged methods declaration in GridView
This commit is contained in:
parent
ecb2920685
commit
11b5e555cd
@ -31,41 +31,36 @@ public:
|
|||||||
QSize sizeHint();
|
QSize sizeHint();
|
||||||
QByteArray getMimeDataFromSelection();
|
QByteArray getMimeDataFromSelection();
|
||||||
|
|
||||||
|
|
||||||
signals:
|
|
||||||
void comicRated(int,QModelIndex);
|
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
//selection helper
|
//ComicsView
|
||||||
|
void setShowMarks(bool show);
|
||||||
|
void selectAll();
|
||||||
|
|
||||||
|
void updateBackgroundConfig();
|
||||||
|
|
||||||
|
protected slots:
|
||||||
|
//QML - selection helper
|
||||||
void selectIndex(int index);
|
void selectIndex(int index);
|
||||||
void setCurrentIndex(int index);
|
void setCurrentIndex(int index);
|
||||||
void deselectIndex(int index);
|
void deselectIndex(int index);
|
||||||
bool isSelectedIndex(int index);
|
bool isSelectedIndex(int index);
|
||||||
void clear();
|
void clear();
|
||||||
//double clicked item
|
//QML - double clicked item
|
||||||
void selectedItem(int index);
|
void selectedItem(int index);
|
||||||
int numItemsSelected();
|
int numItemsSelected();
|
||||||
int lastSelectedIndex();
|
int lastSelectedIndex();
|
||||||
|
//QML - rating
|
||||||
//ComicsView
|
|
||||||
void setShowMarks(bool show);
|
|
||||||
void selectAll();
|
|
||||||
|
|
||||||
//rating
|
|
||||||
void rate(int index, int rating);
|
void rate(int index, int rating);
|
||||||
|
//QML - dragManager
|
||||||
//dragManager
|
|
||||||
void startDrag();
|
void startDrag();
|
||||||
//dropManager
|
//QML - dropManager
|
||||||
bool canDropUrls(const QList<QUrl> & urls, Qt::DropAction action);
|
bool canDropUrls(const QList<QUrl> & urls, Qt::DropAction action);
|
||||||
bool canDropFormats(const QString &formats);
|
bool canDropFormats(const QString &formats);
|
||||||
void droppedFiles(const QList<QUrl> & urls, Qt::DropAction action);
|
void droppedFiles(const QList<QUrl> & urls, Qt::DropAction action);
|
||||||
void droppedComicsForResortingAt(const QString & data, int index);
|
void droppedComicsForResortingAt(const QString & data, int index);
|
||||||
|
//QML - context menu
|
||||||
void updateBackgroundConfig();
|
|
||||||
|
|
||||||
protected slots:
|
|
||||||
void requestedContextMenu(const QPoint & point);
|
void requestedContextMenu(const QPoint & point);
|
||||||
|
|
||||||
void setCoversSize(int width);
|
void setCoversSize(int width);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user