1/*
2 This file is part of KDE.
3
4 SPDX-FileCopyrightText: 2010 Intel Corporation
5 SPDX-FileContributor: Mateu Batle Sastre <mbatle@collabora.co.uk>
6
7 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
8*/
9
10#ifndef ATTICAUTILS_H
11#define ATTICAUTILS_H
12
13#include <QDateTime>
14#include <QNetworkAccessManager>
15#include <QString>
16
17namespace Attica
18{
19class Utils
20{
21public:
22 /// parses the QtDateTime in ISO 8601 format correctly (recognizes TZ properly)
23 static QDateTime parseQtDateTimeIso8601(const QString &str);
24 static const char *toString(QNetworkAccessManager::Operation operation);
25};
26
27}
28
29#endif // ATTICAUTILS_H
30

source code of attica/src/atticautils.h