Pimcommon

networkmanager.h
1/*
2 SPDX-FileCopyrightText: 2016-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "pimcommon_export.h"
10#include <QObject>
11namespace PimCommon
12{
13/**
14 * @brief The NetworkManager class
15 * @author Laurent Montel <montel@kde.org>
16 */
17class PIMCOMMON_EXPORT NetworkManager : public QObject
18{
19 Q_OBJECT
20public:
21 explicit NetworkManager(QObject *parent = nullptr);
22 ~NetworkManager() override;
23 static NetworkManager *self();
24
25 [[nodiscard]] bool isOnline() const;
26
27Q_SIGNALS:
28 void networkStatusChanged(bool isOnline);
29};
30}
folderdialogacltab.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:17:23 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.