Changeset View
Changeset View
Standalone View
Standalone View
krusader/Panel/krpreviewpopup.h
Show All 38 Lines | 38 | public: | |||
---|---|---|---|---|---|
39 | KrPreviewPopup(); | 39 | KrPreviewPopup(); | ||
40 | 40 | | |||
41 | void setUrls(const QList<QUrl> &urls); | 41 | void setUrls(const QList<QUrl> &urls); | ||
42 | public slots: | 42 | public slots: | ||
43 | void addPreview(const KFileItem& file, const QPixmap& preview); | 43 | void addPreview(const KFileItem& file, const QPixmap& preview); | ||
44 | void view(QAction *); | 44 | void view(QAction *); | ||
45 | 45 | | |||
46 | protected: | 46 | protected: | ||
47 | void showEvent(QShowEvent *event) Q_DECL_OVERRIDE; | 47 | void showEvent(QShowEvent *event) override; | ||
48 | 48 | | |||
49 | QAction * prevNotAvailAction; | 49 | QAction * prevNotAvailAction; | ||
50 | QList<KFileItem> files; | 50 | QList<KFileItem> files; | ||
51 | bool jobStarted; | 51 | bool jobStarted; | ||
52 | 52 | | |||
53 | private: | 53 | private: | ||
54 | static const int MAX_SIZE =400; | 54 | static const int MAX_SIZE =400; | ||
55 | static const short MARGIN =5; | 55 | static const short MARGIN =5; | ||
56 | 56 | | |||
57 | class ProxyStyle; | 57 | class ProxyStyle; | ||
58 | }; | 58 | }; | ||
59 | 59 | | |||
60 | #endif | 60 | #endif |