Pimcommon

needupdateparsehtmljob.h
1/*
2 SPDX-FileCopyrightText: 2025 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8#include "pimcommon_export.h"
9#include <QObject>
10#include <QUrl>
11namespace KIO
12{
13class Job;
14}
15namespace PimCommon
16{
17class PIMCOMMON_EXPORT NeedUpdateParseHtmlJob : public QObject
18{
19 Q_OBJECT
20public:
21 explicit NeedUpdateParseHtmlJob(QObject *parent = nullptr);
22 ~NeedUpdateParseHtmlJob() override;
23
24 [[nodiscard]] bool canStart() const;
25
26 [[nodiscard]] QUrl url() const;
27 void setUrl(const QUrl &newUrl);
28
29 void start();
30
31Q_SIGNALS:
32 void downLoadDone(const QString &data);
33
34private:
35 PIMCOMMON_NO_EXPORT void slotHttpDataFile(KIO::Job *job, const QByteArray &data);
36 QUrl mUrl;
37 QString mData;
38};
39}
Q_SCRIPTABLE Q_NOREPLY void start()
folderdialogacltab.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:47:24 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.