libQuotient
A Qt library for building matrix clients
Loading...
Searching...
No Matches
connectiondata.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2015 Felix Rohrbach <kde@fxrh.de>
2// SPDX-FileCopyrightText: 2016 Kitsune Ral <Kitsune-Ral@users.sf.net>
3// SPDX-License-Identifier: LGPL-2.1-or-later
4
5#pragma once
6
7#include "util.h"
8
9#include <QtCore/QUrl>
10
11#include <chrono>
12
13namespace Quotient {
14
15class NetworkAccessManager;
16class BaseJob;
17
19public:
22 virtual ~ConnectionData();
23
26
28 QUrl baseUrl() const;
29 const QString& deviceId() const;
30 const QString& userId() const;
33
35 [[deprecated("Use setAccessToken() or setIdentity() instead")]]
37 [[deprecated("Use setIdentity() instead")]]
39 [[deprecated("Use setIdentity() instead")]]
40 void setUserId(const QString& userId);
44
47
49
50private:
51 class Private;
53};
54} // namespace Quotient
#define QUOTIENT_API