File indexing completed on 2025-01-19 03:53:53
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2008-04-07 0007 * Description : Solid hardware list dialog 0008 * 0009 * SPDX-FileCopyrightText: 2008-2024 by Gilles Caulier <caulier dot gilles at gmail dot com> 0010 * 0011 * SPDX-License-Identifier: GPL-2.0-or-later 0012 * 0013 * ============================================================ */ 0014 0015 #ifndef DIGIKAM_SOLID_HARDWARE_DLG_H 0016 #define DIGIKAM_SOLID_HARDWARE_DLG_H 0017 0018 // Local includes 0019 0020 #include "infodlg.h" 0021 #include "searchtextbar.h" 0022 #include "digikam_export.h" 0023 0024 namespace Digikam 0025 { 0026 0027 class DIGIKAM_EXPORT SolidHardwareDlg : public InfoDlg 0028 { 0029 Q_OBJECT 0030 0031 public: 0032 0033 explicit SolidHardwareDlg(QWidget* const parent); 0034 ~SolidHardwareDlg() override; 0035 0036 private Q_SLOTS: 0037 0038 void slotSearchTextChanged(const SearchTextSettings&); 0039 void slotCopy2ClipBoard() override; 0040 void slotPopulateDevices(); 0041 0042 void slotDeviceAdded(const QString&); 0043 void slotDeviceRemoved(const QString&); 0044 0045 private: 0046 0047 QTreeWidget* currentTreeView() const; 0048 0049 private: 0050 0051 class Private; 0052 Private* const d; 0053 }; 0054 0055 } // namespace Digikam 0056 0057 #endif // DIGIKAM_SOLID_HARDWARE_DLG_H