Messagelib
9#include "messageviewer_export.h"
10#include "openwithurlinfo.h"
13namespace MessageViewer
15class MESSAGEVIEWER_EXPORT OpenUrlWithManager :
public QObject
19 explicit OpenUrlWithManager(QObject *parent =
nullptr);
20 ~OpenUrlWithManager()
override;
22 static OpenUrlWithManager *self();
26 [[nodiscard]]
const QList<OpenWithUrlInfo> &openWithUrlInfo()
const;
27 void setOpenWithUrlInfo(
const QList<OpenWithUrlInfo> &newOpenWithUrlInfo);
30 [[nodiscard]] OpenWithUrlInfo openWith(
const QUrl &url);
31 [[nodiscard]]
bool alwaysRuleForHost(
const QUrl &url);
33 [[nodiscard]] QStringList hosts()
const;
36 MESSAGEVIEWER_NO_EXPORT
void loadSettings();
37 MESSAGEVIEWER_NO_EXPORT
void loadUserSettings();
38 MESSAGEVIEWER_NO_EXPORT
void loadGlobalSettings();
39 [[nodiscard]] MESSAGEVIEWER_NO_EXPORT QStringList openUrlWithListPath()
const;
41 QList<OpenWithUrlInfo> mOpenWithUrlInfo;
QAction * clear(const QObject *recvr, const char *slot, QObject *parent)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 31 2025 12:05:42 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.