digiKam
filepropertiesoption.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 : 2009-08-08
7  * Description : an option to provide file information to the parser
8  *
9  * Copyright (C) 2009-2012 by Andi Clemens <andi dot clemens at gmail dot com>
10  *
11  * This program is free software; you can redistribute it
12  * and/or modify it under the terms of the GNU General
13  * Public License as published by the Free Software Foundation;
14  * either version 2, or (at your option)
15  * any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU General Public License for more details.
21  *
22  * ============================================================ */
23 
24 #ifndef DIGIKAM_FILE_PROPERTIES_OPTION_H
25 #define DIGIKAM_FILE_PROPERTIES_OPTION_H
26 
27 // Qt includes
28 
29 #include <QObject>
30 #include <QString>
31 
32 // Local includes
33 
34 #include "option.h"
35 
36 namespace Digikam
37 {
38 
40 {
41  Q_OBJECT
42 
43 public:
44 
45  explicit FilePropertiesOption();
46  ~FilePropertiesOption() override = default;
47 
48 protected:
49 
50  QString parseOperation(ParseSettings& settings, const QRegularExpressionMatch &match) override;
51 
52 private:
53 
54  // Disable
55  FilePropertiesOption(QObject*) = delete;
57  FilePropertiesOption& operator=(const FilePropertiesOption&) = delete;
58 };
59 
60 } // namespace Digikam
61 
62 #endif // DIGIKAM_FILE_PROPERTIES_OPTION_H
Definition: filepropertiesoption.h:40
QString parseOperation(ParseSettings &settings, const QRegularExpressionMatch &match) override
Definition: filepropertiesoption.cpp:78
~FilePropertiesOption() override=default
FilePropertiesOption()
Definition: filepropertiesoption.cpp:46
Definition: option.h:35
Definition: parsesettings.h:43
Definition: datefolderview.cpp:43