KD SOAP
1.10.0
Main Page
Namespaces
Classes
Files
File List
src
KDSoapClient
KDDateTime.h
1
/****************************************************************************
2
**
3
** This file is part of the KD Soap library.
4
**
5
** SPDX-FileCopyrightText: 2010-2020 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
6
**
7
** SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDAB-KDSoap OR LicenseRef-KDAB-KDSoap-US
8
**
9
** Licensees holding valid commercial KD Soap licenses may use this file in
10
** accordance with the KD Soap Commercial License Agreement provided with
11
** the Software.
12
**
13
** Contact info@kdab.com if any conditions of this licensing are not clear to you.
14
**
15
****************************************************************************/
16
#ifndef KDDATETIME_H
17
#define KDDATETIME_H
18
19
#include "KDSoapGlobal.h"
20
21
#include <QtCore/QDateTime>
22
#include <QtCore/QVariant>
23
#include <QtCore/QSharedDataPointer>
24
25
class
KDDateTimeData;
26
33
class
KDSOAP_EXPORT
KDDateTime
:
public
QDateTime
34
{
35
public
:
36
KDDateTime
();
37
KDDateTime
(
const
KDDateTime
&);
42
/*implicit*/
KDDateTime
(
const
QDateTime &);
43
KDDateTime
&operator=(
const
KDDateTime
&);
44
~
KDDateTime
();
45
51
operator
QVariant()
const
;
52
56
QString timeZone()
const
;
61
void
setTimeZone(
const
QString &timeZone);
62
66
static
KDDateTime
fromDateString(
const
QString &s);
67
71
QString toDateString()
const
;
72
73
private
:
74
QSharedDataPointer<KDDateTimeData> d;
75
};
76
77
Q_DECLARE_METATYPE(
KDDateTime
)
78
79
#endif // KDDATETIME_H
KDDateTime
Definition:
KDDateTime.h:33
Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
https://www.kdab.com/development-resources/qt-tools/kd-soap/