File indexing completed on 2024-04-28 04:21:03
0001 // SPDX-FileCopyrightText: 2003-2022 Jesper K. Pedersen <blackie@kde.org> 0002 // 0003 // SPDX-License-Identifier: GPL-2.0-or-later 0004 0005 #ifndef REREADDIALOG_H 0006 #define REREADDIALOG_H 0007 0008 #include <kpabase/FileNameList.h> 0009 0010 #include <QDialog> 0011 0012 class QCheckBox; 0013 class QLabel; 0014 class QListWidget; 0015 0016 namespace Exif 0017 { 0018 0019 class ReReadDialog : public QDialog 0020 { 0021 Q_OBJECT 0022 0023 public: 0024 explicit ReReadDialog(QWidget *parent); 0025 // prevent hiding of base class method: 0026 using QDialog::exec; 0027 int exec(const DB::FileNameList &); 0028 0029 protected Q_SLOTS: 0030 void readInfo(); 0031 void warnAboutDates(bool); 0032 0033 private: 0034 DB::FileNameList m_list; 0035 QCheckBox *m_exifDB; 0036 QCheckBox *m_date; 0037 QCheckBox *m_orientation; 0038 QCheckBox *m_description; 0039 QCheckBox *m_force_date; 0040 QListWidget *m_fileList; 0041 }; 0042 } 0043 0044 #endif /* REREADDIALOG_H */ 0045 0046 // vi:expandtab:tabstop=4 shiftwidth=4: