Changeset View
Changeset View
Standalone View
Standalone View
krusader/Archive/packjob.h
Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Line(s) | |||||
46 | { | 46 | { | ||
47 | Q_OBJECT | 47 | Q_OBJECT | ||
48 | 48 | | |||
49 | public: | 49 | public: | ||
50 | PackThread(const QUrl &srcUrl, const QUrl &destUrl, const QStringList & fileNames, const QString &type, const QMap<QString, QString> &packProps); | 50 | PackThread(const QUrl &srcUrl, const QUrl &destUrl, const QStringList & fileNames, const QString &type, const QMap<QString, QString> &packProps); | ||
51 | ~PackThread() override = default; | 51 | ~PackThread() override = default; | ||
52 | 52 | | |||
53 | protected slots: | 53 | protected slots: | ||
54 | void slotStart() Q_DECL_OVERRIDE; | 54 | void slotStart() override; | ||
55 | 55 | | |||
56 | private: | 56 | private: | ||
57 | QUrl _sourceUrl; | 57 | QUrl _sourceUrl; | ||
58 | QUrl _destUrl; | 58 | QUrl _destUrl; | ||
59 | QStringList _fileNames; | 59 | QStringList _fileNames; | ||
60 | QString _type; | 60 | QString _type; | ||
61 | QMap<QString, QString> _packProperties; | 61 | QMap<QString, QString> _packProperties; | ||
62 | }; | 62 | }; | ||
Show All 15 Lines | |||||
78 | { | 78 | { | ||
79 | Q_OBJECT | 79 | Q_OBJECT | ||
80 | 80 | | |||
81 | public: | 81 | public: | ||
82 | TestArchiveThread(const QUrl &srcUrl, const QStringList & fileNames); | 82 | TestArchiveThread(const QUrl &srcUrl, const QStringList & fileNames); | ||
83 | ~TestArchiveThread() override = default; | 83 | ~TestArchiveThread() override = default; | ||
84 | 84 | | |||
85 | protected slots: | 85 | protected slots: | ||
86 | void slotStart() Q_DECL_OVERRIDE; | 86 | void slotStart() override; | ||
87 | 87 | | |||
88 | private: | 88 | private: | ||
89 | QUrl _sourceUrl; | 89 | QUrl _sourceUrl; | ||
90 | QStringList _fileNames; | 90 | QStringList _fileNames; | ||
91 | }; | 91 | }; | ||
92 | 92 | | |||
93 | 93 | | |||
94 | 94 | | |||
Show All 13 Lines | |||||
108 | { | 108 | { | ||
109 | Q_OBJECT | 109 | Q_OBJECT | ||
110 | 110 | | |||
111 | public: | 111 | public: | ||
112 | UnpackThread(const QUrl &srcUrl, const QUrl &destUrl, const QStringList & fileNames); | 112 | UnpackThread(const QUrl &srcUrl, const QUrl &destUrl, const QStringList & fileNames); | ||
113 | ~UnpackThread() override = default; | 113 | ~UnpackThread() override = default; | ||
114 | 114 | | |||
115 | protected slots: | 115 | protected slots: | ||
116 | void slotStart() Q_DECL_OVERRIDE; | 116 | void slotStart() override; | ||
117 | 117 | | |||
118 | private: | 118 | private: | ||
119 | QUrl _sourceUrl; | 119 | QUrl _sourceUrl; | ||
120 | QUrl _destUrl; | 120 | QUrl _destUrl; | ||
121 | QStringList _fileNames; | 121 | QStringList _fileNames; | ||
122 | }; | 122 | }; | ||
123 | 123 | | |||
124 | #endif // __PACK_JOB_H__ | 124 | #endif // __PACK_JOB_H__ | ||
125 | 125 | |