Changeset View
Changeset View
Standalone View
Standalone View
lib/thumbnailview/thumbnailview.h
Show All 27 Lines | |||||
28 | // KDE | 28 | // KDE | ||
29 | #include <QUrl> | 29 | #include <QUrl> | ||
30 | 30 | | |||
31 | class KFileItem; | 31 | class KFileItem; | ||
32 | class QDragEnterEvent; | 32 | class QDragEnterEvent; | ||
33 | class QDragMoveEvent; | 33 | class QDragMoveEvent; | ||
34 | class QDropEvent; | 34 | class QDropEvent; | ||
35 | class QPixmap; | 35 | class QPixmap; | ||
36 | class QGestureEvent; | ||||
36 | 37 | | |||
37 | namespace Gwenview | 38 | namespace Gwenview | ||
38 | { | 39 | { | ||
39 | 40 | | |||
40 | class AbstractDocumentInfoProvider; | 41 | class AbstractDocumentInfoProvider; | ||
41 | class AbstractThumbnailViewHelper; | 42 | class AbstractThumbnailViewHelper; | ||
42 | class ThumbnailProvider; | 43 | class ThumbnailProvider; | ||
43 | 44 | | |||
▲ Show 20 Lines • Show All 109 Lines • ▼ Show 20 Line(s) | 146 | public Q_SLOTS: | |||
153 | */ | 154 | */ | ||
154 | void setThumbnailAspectRatio(qreal ratio); | 155 | void setThumbnailAspectRatio(qreal ratio); | ||
155 | 156 | | |||
156 | void scrollToSelectedIndex(); | 157 | void scrollToSelectedIndex(); | ||
157 | 158 | | |||
158 | void generateThumbnailsForItems(); | 159 | void generateThumbnailsForItems(); | ||
159 | 160 | | |||
160 | protected: | 161 | protected: | ||
162 | bool gestureEvent( QGestureEvent*); | ||||
163 | | ||||
164 | bool viewportEvent(QEvent*) Q_DECL_OVERRIDE; | ||||
165 | | ||||
161 | void dragEnterEvent(QDragEnterEvent*) override; | 166 | void dragEnterEvent(QDragEnterEvent*) override; | ||
162 | 167 | | |||
163 | void dragMoveEvent(QDragMoveEvent*) override; | 168 | void dragMoveEvent(QDragMoveEvent*) override; | ||
164 | 169 | | |||
165 | void dropEvent(QDropEvent*) override; | 170 | void dropEvent(QDropEvent*) override; | ||
166 | 171 | | |||
167 | void keyPressEvent(QKeyEvent*) override; | 172 | void keyPressEvent(QKeyEvent*) override; | ||
168 | 173 | | |||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |