File indexing completed on 2023-09-24 04:08:42
0001 /* 0002 This file is part of the KDE project 0003 SPDX-FileCopyrightText: 2000 Dawit Alemayehu <adawit@kde.org 0004 0005 SPDX-License-Identifier: LGPL-2.0-or-later 0006 */ 0007 0008 #ifndef KIO_SESSIONDATA_P_H 0009 #define KIO_SESSIONDATA_P_H 0010 0011 #include "kiocore_export.h" 0012 #include <QObject> 0013 #include <kio/metadata.h> 0014 0015 #include <memory> 0016 0017 namespace KIO 0018 { 0019 /** 0020 * @internal 0021 */ 0022 class SessionData : public QObject 0023 { 0024 Q_OBJECT 0025 0026 public: 0027 SessionData(); 0028 ~SessionData() override; 0029 0030 void configDataFor(KIO::MetaData &configData, const QString &proto, const QString &host); 0031 void reset(); 0032 0033 private: 0034 // TODO: fold private class back into this one, it's internal anyway 0035 class SessionDataPrivate; 0036 std::unique_ptr<SessionDataPrivate> const d; 0037 }; 0038 0039 } // namespace 0040 0041 #endif