Plasma-workspace

defaultservice.h
1// SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
2// SPDX-FileCopyrightText: 2023 Harald Sitter <sitter@kde.org>
3
4#pragma once
5
6#include "kworkspace_export.h"
7
8#include <KService>
9
10namespace DefaultService
11{
12/// @returns the default browser service (may be invalid if resolution fails)
13[[nodiscard]] KWORKSPACE_EXPORT KService::Ptr browser();
14/// @returns the **legacy** browser executable only. Use this only as fallback to ::browser()!
15[[nodiscard]] KWORKSPACE_EXPORT QString legacyBrowserExec();
16} // namespace DefaultService
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:58:38 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.