Changeset View
Changeset View
Standalone View
Standalone View
app/startmainpage.h
Show All 25 Lines | |||||
26 | 26 | | |||
27 | // KDE | 27 | // KDE | ||
28 | 28 | | |||
29 | // Local | 29 | // Local | ||
30 | 30 | | |||
31 | class QModelIndex; | 31 | class QModelIndex; | ||
32 | class QPalette; | 32 | class QPalette; | ||
33 | class QShowEvent; | 33 | class QShowEvent; | ||
34 | class QEvent; | ||||
34 | 35 | | |||
35 | class QUrl; | 36 | class QUrl; | ||
36 | 37 | | |||
37 | namespace Gwenview | 38 | namespace Gwenview | ||
38 | { | 39 | { | ||
39 | 40 | | |||
40 | class GvCore; | 41 | class GvCore; | ||
41 | class ThumbnailView; | 42 | class ThumbnailView; | ||
Show All 14 Lines | 55 | Q_SIGNALS: | |||
56 | void recentFileRemoved(const QUrl& url); | 57 | void recentFileRemoved(const QUrl& url); | ||
57 | void recentFilesCleared(); | 58 | void recentFilesCleared(); | ||
58 | 59 | | |||
59 | public Q_SLOTS: | 60 | public Q_SLOTS: | ||
60 | void loadConfig(); | 61 | void loadConfig(); | ||
61 | 62 | | |||
62 | protected: | 63 | protected: | ||
63 | void showEvent(QShowEvent*) override; | 64 | void showEvent(QShowEvent*) override; | ||
65 | bool eventFilter(QObject*, QEvent*) override; | ||||
64 | 66 | | |||
65 | private Q_SLOTS: | 67 | private Q_SLOTS: | ||
66 | void slotListViewActivated(const QModelIndex& index); | 68 | void slotListViewActivated(const QModelIndex& index); | ||
67 | void slotTagViewClicked(const QModelIndex& index); | 69 | void slotTagViewClicked(const QModelIndex& index); | ||
68 | 70 | | |||
69 | private: | 71 | private: | ||
70 | StartMainPagePrivate* const d; | 72 | StartMainPagePrivate* const d; | ||
71 | 73 | | |||
72 | void showContextMenu(const QPoint& pos); | 74 | void showContextMenu(const QPoint& pos); | ||
73 | }; | 75 | }; | ||
74 | 76 | | |||
75 | } // namespace | 77 | } // namespace | ||
76 | 78 | | |||
77 | #endif /* STARTMAINPAGE_H */ | 79 | #endif /* STARTMAINPAGE_H */ |