1 /* SPDX-FileCopyrightText: 2003-2010 Jesper K. Pedersen <blackie@kde.org> 2 3 SPDX-License-Identifier: GPL-2.0-or-later 4 */ 5 6 #ifndef REREADDIALOG_H 7 #define REREADDIALOG_H 8 9 #include <kpabase/FileNameList.h> 10 11 #include <QDialog> 12 13 class QCheckBox; 14 class QLabel; 15 class QListWidget; 16 17 namespace Exif 18 { 19 20 class ReReadDialog : public QDialog 21 { 22 Q_OBJECT 23 24 public: 25 explicit ReReadDialog(QWidget *parent); 26 // prevent hiding of base class method: 27 using QDialog::exec; 28 int exec(const DB::FileNameList &); 29 30 protected slots: 31 void readInfo(); 32 void warnAboutDates(bool); 33 34 private: 35 DB::FileNameList m_list; 36 QCheckBox *m_exifDB; 37 QCheckBox *m_date; 38 QCheckBox *m_orientation; 39 QCheckBox *m_description; 40 QCheckBox *m_force_date; 41 QListWidget *m_fileList; 42 }; 43 } 44 45 #endif /* REREADDIALOG_H */ 46 47 // vi:expandtab:tabstop=4 shiftwidth=4: 48