File indexing completed on 2024-05-19 05:01:19

0001 /* This file is part of the KDE project
0002     SPDX-FileCopyrightText: 2023 Stefano Crocco <stefano.crocco@alice.it>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #include "profile.h"
0008 
0009 #include <QStringLiteral>
0010 #include <QApplication>
0011 
0012 using namespace KonqWebEnginePart;
0013 
0014 Profile::Profile(const QString &storageName, QObject* parent) : QWebEngineProfile(storageName, parent)
0015 {
0016 }
0017 
0018 Profile::~Profile()
0019 {
0020 }
0021 
0022 Profile* Profile::defaultProfile()
0023 {
0024     static Profile *s_profile = new Profile(QStringLiteral("Default"), qApp);
0025     return s_profile;
0026 }