Changeset View
Changeset View
Standalone View
Standalone View
krusader/Archive/kr7zencryptionchecker.h
Show All 32 Lines | |||||
33 | class Kr7zEncryptionChecker : public KProcess | 33 | class Kr7zEncryptionChecker : public KProcess | ||
34 | { | 34 | { | ||
35 | Q_OBJECT | 35 | Q_OBJECT | ||
36 | 36 | | |||
37 | public: | 37 | public: | ||
38 | Kr7zEncryptionChecker(); | 38 | Kr7zEncryptionChecker(); | ||
39 | 39 | | |||
40 | protected: | 40 | protected: | ||
41 | void setupChildProcess() Q_DECL_OVERRIDE; | 41 | void setupChildProcess() override; | ||
42 | 42 | | |||
43 | public slots: | 43 | public slots: | ||
44 | void receivedOutput(); | 44 | void receivedOutput(); | ||
45 | bool isEncrypted(); | 45 | bool isEncrypted(); | ||
46 | 46 | | |||
47 | private: | 47 | private: | ||
48 | QString fileName; | 48 | QString fileName; | ||
49 | bool encrypted; | 49 | bool encrypted; | ||
50 | QString lastData; | 50 | QString lastData; | ||
51 | }; | 51 | }; | ||
52 | 52 | | |||
53 | #endif // KR7ZENCRYPTIONCHECKER_H | 53 | #endif // KR7ZENCRYPTIONCHECKER_H |