File indexing completed on 2024-05-19 08:51:02
0001 /* 0002 SPDX-FileCopyrightText: 2010 Pino Toscano <pino@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0005 */ 0006 0007 #ifndef PLACES_MODULE_H 0008 #define PLACES_MODULE_H 0009 0010 #include <konqsidebarplugin.h> 0011 0012 #include <kfileplacesview.h> 0013 0014 0015 class KonqSideBarPlacesModule : public KonqSidebarModule 0016 { 0017 Q_OBJECT 0018 0019 public: 0020 KonqSideBarPlacesModule(QWidget *parent, 0021 const KConfigGroup &configGroup); 0022 ~KonqSideBarPlacesModule() override = default; 0023 0024 QWidget *getWidget() override; 0025 0026 private slots: 0027 void slotPlaceUrlChanged(const QUrl &url); 0028 0029 private: 0030 KFilePlacesView *m_placesView; 0031 }; 0032 0033 #endif