digiKam
Loading...
Searching...
No Matches
timezonecombobox.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-05-29
7
* Description : a combobox with time zones.
8
*
9
* SPDX-FileCopyrightText: 2015 by Maik Qualmann <metzpinguin at gmail dot com>
10
* SPDX-FileCopyrightText: 2006-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
11
*
12
* SPDX-License-Identifier: GPL-2.0-or-later
13
*
14
* ============================================================ */
15
16
#pragma once
17
18
// Qt includes
19
20
#include <QComboBox>
21
22
// Local includes
23
24
#include "
digikam_export.h
"
25
26
namespace
Digikam
27
{
28
29
class
DIGIKAM_EXPORT
TimeZoneComboBox
:
public
QComboBox
30
{
31
Q_OBJECT
32
33
public
:
34
35
explicit
TimeZoneComboBox
(QWidget*
const
parent);
36
~TimeZoneComboBox
()
override
=
default
;
37
38
void
setToUTC();
39
void
setTimeZone(
const
QString& timeStr);
40
41
QString getTimeZone()
const
;
42
int
timeZoneOffset()
const
;
43
};
44
45
}
// namespace Digikam
Digikam::TimeZoneComboBox
Definition
timezonecombobox.h:30
Digikam::TimeZoneComboBox::~TimeZoneComboBox
~TimeZoneComboBox() override=default
digikam_export.h
Digikam
Definition
datefolderview.cpp:34
core
libs
widgets
combo
timezonecombobox.h
Generated by
1.9.8