File indexing completed on 2025-01-19 03:53:23
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2005-06-16 0007 * Description : a dialog to select a target album to download 0008 * pictures from camera 0009 * 0010 * SPDX-FileCopyrightText: 2005 by Renchi Raju <renchi dot raju at gmail dot com> 0011 * SPDX-FileCopyrightText: 2006-2024 by Gilles Caulier <caulier dot gilles at gmail dot com> 0012 * 0013 * SPDX-License-Identifier: GPL-2.0-or-later 0014 * 0015 * ============================================================ */ 0016 0017 #ifndef DIGIKAM_ALBUM_SELECT_DIALOG_H 0018 #define DIGIKAM_ALBUM_SELECT_DIALOG_H 0019 0020 // Qt includes 0021 0022 #include <QString> 0023 #include <QDialog> 0024 0025 // Local includes 0026 0027 #include "searchtextbar.h" 0028 0029 namespace Digikam 0030 { 0031 0032 class PAlbum; 0033 0034 class AlbumSelectDialog : public QDialog 0035 { 0036 Q_OBJECT 0037 0038 public: 0039 0040 explicit AlbumSelectDialog(QWidget* const parent, PAlbum* const albumToSelect, const QString& header=QString()); 0041 ~AlbumSelectDialog() override; 0042 0043 static PAlbum* selectAlbum(QWidget* const parent, PAlbum* const albumToSelect, const QString& header=QString()); 0044 0045 private Q_SLOTS: 0046 0047 void slotSelectionChanged(); 0048 void slotHelp(); 0049 0050 private: 0051 0052 class Private; 0053 Private* const d; 0054 }; 0055 0056 } // namespace Digikam 0057 0058 #endif // DIGIKAM_ALBUM_SELECT_DIALOG_H