KIO

kstatusbarofflineindicator.h
1 /*
2  This file is part of the KDE project
3  SPDX-FileCopyrightText: 2007 Will Stephenson <[email protected]>
4 
5  SPDX-License-Identifier: LGPL-2.0-only WITH Qt-Commercial-exception-1.0
6 */
7 
8 #ifndef KDE_KSTATUSBAROFFLINEINDICATOR_H
9 #define KDE_KSTATUSBAROFFLINEINDICATOR_H
10 
11 #include "kiofilewidgets_export.h"
12 #include <QWidget>
13 
14 #include <memory>
15 
16 class KStatusBarOfflineIndicatorPrivate;
17 
18 #if KIOFILEWIDGETS_ENABLE_DEPRECATED_SINCE(5, 70)
19 /**
20  * @class KStatusBarOfflineIndicator kstatusbarofflineindicator.h <KStatusBarOfflineIndicator>
21  *
22  * Widget indicating network connection status using an icon and tooltip. This widget uses
23  * QNetworkConfigurationMAnager internally to automatically show and hide itself as required.
24  *
25  * @code
26  * KStatusBarOfflineIndicator * indicator = new KStatusBarOfflineIndicator( this );
27  * statusBar()->addWidget( indicator, 0, false );
28  * @endcode
29  *
30  * @deprecated since 5.70, no known users.
31  *
32  * @author Will Stephenson <[email protected]>
33  */
34 class KIOFILEWIDGETS_EXPORT KStatusBarOfflineIndicator : public QWidget
35 {
36  Q_OBJECT
37 public:
38  /**
39  * Default constructor.
40  * @param parent the widget's parent
41  * @deprecated since 5.70, no known users.
42  */
43  KIOFILEWIDGETS_DEPRECATED_VERSION(5, 70, "No known users")
44  explicit KStatusBarOfflineIndicator(QWidget *parent);
45  ~KStatusBarOfflineIndicator() override;
46 
47 private:
48  std::unique_ptr<KStatusBarOfflineIndicatorPrivate> const d;
49 };
50 #endif
51 
52 #endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Feb 7 2023 04:00:36 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.