digiKam
Loading...
Searching...
No Matches
countryselector.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-07-07
7
* Description : country selector combo-box.
8
*
9
* SPDX-FileCopyrightText: 2009-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
10
*
11
* SPDX-License-Identifier: GPL-2.0-or-later
12
*
13
* ============================================================ */
14
15
#pragma once
16
17
// Qt includes
18
19
#include <QString>
20
#include <QWidget>
21
#include <QComboBox>
22
23
// Local includes
24
25
#include "
digikam_export.h
"
26
27
namespace
Digikam
28
{
29
30
class
DIGIKAM_EXPORT
CountrySelector
:
public
QComboBox
31
{
32
Q_OBJECT
33
34
public
:
35
36
explicit
CountrySelector
(QWidget*
const
parent);
37
~CountrySelector
()
override
;
38
39
void
setCountry(
const
QString& countryCode);
40
bool
country(QString& countryCode, QString& countryName)
const
;
41
42
public
:
43
44
static
QString countryForCode(
const
QString& countryCode);
45
46
private
:
47
48
class
Private;
49
Private*
const
d =
nullptr
;
50
};
51
52
}
// namespace Digikam
Digikam::CountrySelector
Definition
countryselector.h:31
digikam_export.h
Digikam
Definition
datefolderview.cpp:34
core
libs
widgets
metadata
utils
countryselector.h
Generated by
1.9.8