digiKam
metadatahubmngr.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 : 2015-08-21
7
* Description : metadatahub manager
8
*
9
* Copyright (C) 2015 by Veaceslav Munteanu <veaceslav dot munteanu90 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_METADATA_HUB_MNGR_H
25
#define DIGIKAM_METADATA_HUB_MNGR_H
26
27
// Qt includes
28
29
#include <QPointer>
30
31
namespace
Digikam
32
{
33
34
class
ItemInfo;
35
36
class
MetadataHubMngr
:
public
QObject
37
{
38
Q_OBJECT
39
40
public
:
41
42
static
MetadataHubMngr
*
instance
();
43
~MetadataHubMngr
()
override
;
44
45
static
QPointer<MetadataHubMngr>
internalPtr
;
46
static
bool
isCreated
();
47
48
void
addPending
(
const
ItemInfo
& info);
49
void
requestShutDown
();
50
51
Q_SIGNALS:
52
53
void
signalPendingMetadata
(
int
numbers);
54
55
public
Q_SLOTS:
56
57
void
slotApplyPending
();
58
59
private
:
60
61
// Disable
62
MetadataHubMngr
();
63
explicit
MetadataHubMngr
(QObject*);
64
65
class
Private;
66
Private*
const
d;
67
};
68
69
}
// namespace Digikam
70
71
#endif
// DIGIKAM_METADATA_HUB_MNGR_H
Digikam::ItemInfo
Definition:
iteminfo.h:78
Digikam::MetadataHubMngr
Definition:
metadatahubmngr.h:37
Digikam::MetadataHubMngr::internalPtr
static QPointer< MetadataHubMngr > internalPtr
Definition:
metadatahubmngr.h:45
Digikam::MetadataHubMngr::requestShutDown
void requestShutDown()
Definition:
metadatahubmngr.cpp:132
Digikam::MetadataHubMngr::instance
static MetadataHubMngr * instance()
Definition:
metadatahubmngr.cpp:70
Digikam::MetadataHubMngr::addPending
void addPending(const ItemInfo &info)
Definition:
metadatahubmngr.cpp:85
Digikam::MetadataHubMngr::isCreated
static bool isCreated()
Definition:
metadatahubmngr.cpp:80
Digikam::MetadataHubMngr::signalPendingMetadata
void signalPendingMetadata(int numbers)
Digikam::MetadataHubMngr::slotApplyPending
void slotApplyPending()
Definition:
metadatahubmngr.cpp:97
Digikam::MetadataHubMngr::~MetadataHubMngr
~MetadataHubMngr() override
Definition:
metadatahubmngr.cpp:65
Digikam
Definition:
datefolderview.cpp:43
core
libs
fileactionmanager
metadatahubmngr.h
Generated by
1.9.1