digiKam
importfilterdlg.h
Go to the documentation of this file.
1 /* ============================================================
2  *
3  * This file is a part of digiKam project
4  * https://www.digikam.org
5  *
6  * Date : 2010-12-16
7  * Description : Import filters configuration dialog
8  *
9  * Copyright (C) 2010-2011 by Petri Damstén <petri dot damsten at iki dot fi>
10  * Copyright (C) 2012-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
11  *
12  * This program is free software; you can redistribute it
13  * and/or modify it under the terms of the GNU General
14  * Public License as published by the Free Software Foundation;
15  * either version 2, or (at your option)
16  * any later version.
17  *
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21  * GNU General Public License for more details.
22  *
23  * ============================================================ */
24 
25 #ifndef DIGIKAM_IMPORT_FILTER_DLG_H
26 #define DIGIKAM_IMPORT_FILTER_DLG_H
27 
28 // Qt includes
29 
30 #include <QDialog>
31 
32 // Local includes
33 
34 #include "filter.h"
35 
36 namespace Digikam
37 {
38 
39 class ImportFilterDlg : public QDialog
40 {
41  Q_OBJECT
42 
43 public:
44 
45  explicit ImportFilterDlg(QWidget* const parent = nullptr);
46  ~ImportFilterDlg() override;
47 
48  void setData(const Filter& filter);
49  void getData(Filter* const filter);
50 
51 protected Q_SLOTS:
52 
54  void pathCheckBoxClicked();
55  void mimeCheckBoxClicked();
56  void mimeButtonClicked();
57 
58 private:
59 
60  class Private;
61  Private* const d;
62 };
63 
64 } // namespace Digikam
65 
66 #endif // DIGIKAM_IMPORT_FILTER_DLG_H
Definition: filter.h:44
Definition: importfilterdlg.h:40
~ImportFilterDlg() override
Definition: importfilterdlg.cpp:188
void setData(const Filter &filter)
Definition: importfilterdlg.cpp:232
ImportFilterDlg(QWidget *const parent=nullptr)
Definition: importfilterdlg.cpp:88
void mimeButtonClicked()
Definition: importfilterdlg.cpp:217
void mimeCheckBoxClicked()
Definition: importfilterdlg.cpp:209
void fileNameCheckBoxClicked()
Definition: importfilterdlg.cpp:193
void getData(Filter *const filter)
Definition: importfilterdlg.cpp:247
void pathCheckBoxClicked()
Definition: importfilterdlg.cpp:201
Definition: datefolderview.cpp:43