1/*
2 This file is part of the KDE project
3 SPDX-FileCopyrightText: 2000 Dawit Alemayehu <adawit@kde.org
4
5 SPDX-License-Identifier: LGPL-2.0-or-later
6*/
7
8#ifndef KIO_SESSIONDATA_P_H
9#define KIO_SESSIONDATA_P_H
10
11#include "kiocore_export.h"
12#include <QObject>
13#include <kio/metadata.h>
14
15#include <memory>
16
17namespace KIO
18{
19/**
20 * @internal
21 */
22class SessionData : public QObject
23{
24 Q_OBJECT
25
26public:
27 SessionData();
28 ~SessionData() override;
29
30 void configDataFor(KIO::MetaData &configData, const QString &proto, const QString &host);
31 void reset();
32
33private:
34 // TODO: fold private class back into this one, it's internal anyway
35 class SessionDataPrivate;
36 std::unique_ptr<SessionDataPrivate> const d;
37};
38
39} // namespace
40
41#endif
42

source code of kio/src/core/sessiondata_p.h