KD SOAP 2.0.0
Loading...
Searching...
No Matches
KDDateTime.h
1/****************************************************************************
2**
3** This file is part of the KD Soap library.
4**
5** SPDX-FileCopyrightText: 2010-2021 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
25class KDDateTimeData;
26
33class KDSOAP_EXPORT KDDateTime : public QDateTime
34{
35public:
36 KDDateTime();
37 KDDateTime(const KDDateTime &);
42 /*implicit*/ KDDateTime(const QDateTime &);
43 KDDateTime &operator=(const 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
73private:
74 QSharedDataPointer<KDDateTimeData> d;
75};
76
77Q_DECLARE_METATYPE(KDDateTime)
78
79#endif // KDDATETIME_H
Definition: KDDateTime.h:34

© 2010-2021 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/
Generated on Mon Apr 27 2026 15:32:19 for KD SOAP by doxygen 1.9.6