KD SOAP API Documentation: KDDateTime.h Source File

| KD SOAP API Documentation 2.2

Loading...
Searching...
No Matches
KDDateTime.h
Go to the documentation of this file.
1/****************************************************************************
2**
3** This file is part of the KD Soap project.
4**
5** SPDX-FileCopyrightText: 2010 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
6**
7** SPDX-License-Identifier: MIT
8**
9****************************************************************************/
10#ifndef KDDATETIME_H
11#define KDDATETIME_H
12
13#include "KDSoapGlobal.h"
14
15#include <QtCore/QDateTime>
16#include <QtCore/QSharedDataPointer>
17#include <QtCore/QVariant>
18
19class KDDateTimeData;
20
27 class KDSOAP_EXPORT KDDateTime : public QDateTime
28{
29public:
30 KDDateTime();
31 KDDateTime(const KDDateTime &);
36 /*implicit*/ KDDateTime(const QDateTime &);
37 KDDateTime &operator=(const KDDateTime &);
38 ~KDDateTime();
39
45 operator QVariant() const;
46
50 QString timeZone() const;
55 void setTimeZone(const QString &timeZone);
56
60 static KDDateTime fromDateString(const QString &s);
61
65 QString toDateString() const;
66
67private:
68 QSharedDataPointer<KDDateTimeData> d;
69};
70
71Q_DECLARE_METATYPE(KDDateTime)
72
73#endif // KDDATETIME_H
KDSoapGlobal.h
KDSOAP_EXPORT
#define KDSOAP_EXPORT
Definition KDSoapGlobal.h:22
KDDateTime
Definition KDDateTime.h:28
QDateTime
QDateTime::operator=
QDateTime & operator=(const QDateTime &other)
QDateTime::setTimeZone
void setTimeZone(const QTimeZone &toZone)
QDateTime::timeZone
QTimeZone timeZone() const const
QSharedDataPointer
QString
QVariant

© 2010-2024 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 Sun Jan 7 2024 11:47:36 for KD SOAP API Documentation by doxygen 1.9.8