Changeset View
Changeset View
Standalone View
Standalone View
krusader/Dialogs/checksumdlg.h
Show First 20 Lines • Show All 112 Lines • ▼ Show 20 Line(s) | |||||
113 | 113 | | |||
114 | class CreateWizard : public ChecksumWizard | 114 | class CreateWizard : public ChecksumWizard | ||
115 | { | 115 | { | ||
116 | Q_OBJECT | 116 | Q_OBJECT | ||
117 | public: | 117 | public: | ||
118 | CreateWizard(const QString &path, const QStringList &_files); | 118 | CreateWizard(const QString &path, const QStringList &_files); | ||
119 | 119 | | |||
120 | public slots: | 120 | public slots: | ||
121 | void accept() Q_DECL_OVERRIDE; | 121 | void accept() override; | ||
122 | 122 | | |||
123 | private: | 123 | private: | ||
124 | QWizardPage *createIntroPage() Q_DECL_OVERRIDE; | 124 | QWizardPage *createIntroPage() override; | ||
125 | QWizardPage *createResultPage() Q_DECL_OVERRIDE; | 125 | QWizardPage *createResultPage() override; | ||
126 | 126 | | |||
127 | void onIntroPage() Q_DECL_OVERRIDE; | 127 | void onIntroPage() override; | ||
128 | void onProgressPage() Q_DECL_OVERRIDE; | 128 | void onProgressPage() override; | ||
129 | void onResultPage() Q_DECL_OVERRIDE; | 129 | void onResultPage() override; | ||
130 | 130 | | |||
131 | void createChecksums(); | 131 | void createChecksums(); | ||
132 | bool savePerFile(); | 132 | bool savePerFile(); | ||
133 | bool saveChecksumFile(const QStringList &data, const QString &filename = QString()); | 133 | bool saveChecksumFile(const QStringList &data, const QString &filename = QString()); | ||
134 | 134 | | |||
135 | const QStringList m_fileNames; | 135 | const QStringList m_fileNames; | ||
136 | 136 | | |||
137 | QFutureWatcher<QStringList> m_listFilesWatcher; | 137 | QFutureWatcher<QStringList> m_listFilesWatcher; | ||
Show All 14 Lines | |||||
152 | Q_OBJECT | 152 | Q_OBJECT | ||
153 | public: | 153 | public: | ||
154 | VerifyWizard(const QString &path, const QString &inputFile); | 154 | VerifyWizard(const QString &path, const QString &inputFile); | ||
155 | 155 | | |||
156 | private slots: | 156 | private slots: | ||
157 | void slotChecksumPathChanged(const QString &path); | 157 | void slotChecksumPathChanged(const QString &path); | ||
158 | 158 | | |||
159 | private: | 159 | private: | ||
160 | QWizardPage *createIntroPage() Q_DECL_OVERRIDE; | 160 | QWizardPage *createIntroPage() override; | ||
161 | QWizardPage *createResultPage() Q_DECL_OVERRIDE; | 161 | QWizardPage *createResultPage() override; | ||
162 | 162 | | |||
163 | void onIntroPage() Q_DECL_OVERRIDE; | 163 | void onIntroPage() override; | ||
164 | void onProgressPage() Q_DECL_OVERRIDE; | 164 | void onProgressPage() override; | ||
165 | void onResultPage() Q_DECL_OVERRIDE; | 165 | void onResultPage() override; | ||
166 | 166 | | |||
167 | bool isSupported(const QString &path); | 167 | bool isSupported(const QString &path); | ||
168 | 168 | | |||
169 | QString m_checksumFile; | 169 | QString m_checksumFile; | ||
170 | 170 | | |||
171 | // intro page | 171 | // intro page | ||
172 | KrTreeWidget *m_hashesTreeWidget; | 172 | KrTreeWidget *m_hashesTreeWidget; | ||
173 | // result page | 173 | // result page | ||
174 | QLabel *m_outputLabel; | 174 | QLabel *m_outputLabel; | ||
175 | KrListWidget *m_outputListWidget; | 175 | KrListWidget *m_outputListWidget; | ||
176 | }; | 176 | }; | ||
177 | 177 | | |||
178 | } // NAMESPACE CHECKSUM_ | 178 | } // NAMESPACE CHECKSUM_ | ||
179 | 179 | | |||
180 | #endif // CHECKSUMDLG_H | 180 | #endif // CHECKSUMDLG_H |