mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
Format code using clang-format
This commit is contained in:
@ -3,30 +3,26 @@
|
||||
|
||||
#include "comics_view.h"
|
||||
|
||||
|
||||
|
||||
class QQuickView;
|
||||
|
||||
class YACReaderComicsSelectionHelper;
|
||||
class YACReaderComicInfoHelper;
|
||||
|
||||
|
||||
|
||||
class InfoComicsView : public ComicsView
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit InfoComicsView(QWidget *parent = 0);
|
||||
~InfoComicsView();
|
||||
void setToolBar(QToolBar * toolBar);
|
||||
void setToolBar(QToolBar *toolBar);
|
||||
void setModel(ComicModel *model);
|
||||
void setCurrentIndex(const QModelIndex &index);
|
||||
QModelIndex currentIndex();
|
||||
QItemSelectionModel * selectionModel();
|
||||
void scrollTo(const QModelIndex & mi, QAbstractItemView::ScrollHint hint );
|
||||
QItemSelectionModel *selectionModel();
|
||||
void scrollTo(const QModelIndex &mi, QAbstractItemView::ScrollHint hint);
|
||||
void toFullScreen();
|
||||
void toNormal();
|
||||
void updateConfig(QSettings * settings);
|
||||
void updateConfig(QSettings *settings);
|
||||
void enableFilterMode(bool enabled);
|
||||
void selectIndex(int index);
|
||||
void updateCurrentComicView();
|
||||
@ -38,20 +34,20 @@ public slots:
|
||||
protected slots:
|
||||
void setCurrentIndex(int index);
|
||||
|
||||
bool canDropUrls(const QList<QUrl> & urls, Qt::DropAction action);
|
||||
void droppedFiles(const QList<QUrl> & urls, Qt::DropAction action);
|
||||
bool canDropUrls(const QList<QUrl> &urls, Qt::DropAction action);
|
||||
void droppedFiles(const QList<QUrl> &urls, Qt::DropAction action);
|
||||
|
||||
void requestedContextMenu(const QPoint & point);
|
||||
void requestedContextMenu(const QPoint &point);
|
||||
|
||||
void selectedItem(int index);
|
||||
|
||||
protected:
|
||||
QToolBar * toolbar;
|
||||
QToolBar *toolbar;
|
||||
QObject *flow;
|
||||
QObject *list;
|
||||
|
||||
YACReaderComicsSelectionHelper * selectionHelper;
|
||||
YACReaderComicInfoHelper * comicInfoHelper;
|
||||
YACReaderComicsSelectionHelper *selectionHelper;
|
||||
YACReaderComicInfoHelper *comicInfoHelper;
|
||||
};
|
||||
|
||||
#endif // INFOCOMICSVIEW_H
|
||||
|
Reference in New Issue
Block a user