digiKam
actions.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-02-06
7  * Description : Thread actions container.
8  *
9  * Copyright (C) 2009-2022 by Gilles Caulier <caulier dot gilles 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_BQM_ACTIONS_H
25 #define DIGIKAM_BQM_ACTIONS_H
26 
27 // Qt includes
28 
29 #include <QString>
30 #include <QMetaType>
31 #include <QUrl>
32 
33 namespace Digikam
34 {
35 
37 {
38 
39 public:
40 
42  {
43  None = 0,
52  };
53 
54 public:
55 
56  explicit ActionData()
57  : status (None),
58  noWrite(false)
59  {
60  }
61 
63 
64  QString message;
65 
66  QUrl fileUrl;
67  QUrl destUrl;
68 
69  bool noWrite;
70 };
71 
72 } // namespace Digikam
73 
74 Q_DECLARE_METATYPE(Digikam::ActionData)
75 
76 #endif // DIGIKAM_BQM_ACTIONS_H
Definition: actions.h:37
ActionStatus status
Definition: actions.h:62
QUrl fileUrl
Definition: actions.h:66
QUrl destUrl
Definition: actions.h:67
QString message
Definition: actions.h:64
bool noWrite
Definition: actions.h:69
ActionStatus
Definition: actions.h:42
@ BatchFailed
Definition: actions.h:46
@ TaskCanceled
Definition: actions.h:51
@ BatchCanceled
Definition: actions.h:48
@ BatchSkipped
Definition: actions.h:47
@ BatchStarted
Definition: actions.h:44
@ None
Definition: actions.h:43
@ TaskDone
Definition: actions.h:49
@ TaskFailed
Definition: actions.h:50
@ BatchDone
Definition: actions.h:45
ActionData()
Definition: actions.h:56
Definition: datefolderview.cpp:43