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
36
class
ActionData
37
{
38
39
public
:
40
41
enum
ActionStatus
42
{
43
None
= 0,
44
BatchStarted
,
45
BatchDone
,
46
BatchFailed
,
47
BatchSkipped
,
48
BatchCanceled
,
49
TaskDone
,
50
TaskFailed
,
51
TaskCanceled
52
};
53
54
public
:
55
56
explicit
ActionData
()
57
:
status
(
None
),
58
noWrite
(false)
59
{
60
}
61
62
ActionStatus
status
;
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
Digikam::ActionData
Definition:
actions.h:37
Digikam::ActionData::status
ActionStatus status
Definition:
actions.h:62
Digikam::ActionData::fileUrl
QUrl fileUrl
Definition:
actions.h:66
Digikam::ActionData::destUrl
QUrl destUrl
Definition:
actions.h:67
Digikam::ActionData::message
QString message
Definition:
actions.h:64
Digikam::ActionData::noWrite
bool noWrite
Definition:
actions.h:69
Digikam::ActionData::ActionStatus
ActionStatus
Definition:
actions.h:42
Digikam::ActionData::BatchFailed
@ BatchFailed
Definition:
actions.h:46
Digikam::ActionData::TaskCanceled
@ TaskCanceled
Definition:
actions.h:51
Digikam::ActionData::BatchCanceled
@ BatchCanceled
Definition:
actions.h:48
Digikam::ActionData::BatchSkipped
@ BatchSkipped
Definition:
actions.h:47
Digikam::ActionData::BatchStarted
@ BatchStarted
Definition:
actions.h:44
Digikam::ActionData::None
@ None
Definition:
actions.h:43
Digikam::ActionData::TaskDone
@ TaskDone
Definition:
actions.h:49
Digikam::ActionData::TaskFailed
@ TaskFailed
Definition:
actions.h:50
Digikam::ActionData::BatchDone
@ BatchDone
Definition:
actions.h:45
Digikam::ActionData::ActionData
ActionData()
Definition:
actions.h:56
Digikam
Definition:
datefolderview.cpp:43
core
utilities
queuemanager
manager
actions.h
Generated by
1.9.1