digiKam
albumselectdialog.h
Go to the documentation of this file.
1 /* ============================================================
2  *
3  * This file is a part of digiKam project
4  * https://www.digikam.org
5  *
6  * Date : 2005-06-16
7  * Description : a dialog to select a target album to download
8  * pictures from camera
9  *
10  * Copyright (C) 2005 by Renchi Raju <renchi dot raju at gmail dot com>
11  * Copyright (C) 2006-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
12  *
13  * This program is free software; you can redistribute it
14  * and/or modify it under the terms of the GNU General
15  * Public License as published by the Free Software Foundation;
16  * either version 2, or (at your option)
17  * any later version.
18  *
19  * This program is distributed in the hope that it will be useful,
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22  * GNU General Public License for more details.
23  *
24  * ============================================================ */
25 
26 #ifndef DIGIKAM_ALBUM_SELECT_DIALOG_H
27 #define DIGIKAM_ALBUM_SELECT_DIALOG_H
28 
29 // Qt includes
30 
31 #include <QString>
32 #include <QDialog>
33 
34 // Local includes
35 
36 #include "searchtextbar.h"
37 
38 namespace Digikam
39 {
40 
41 class PAlbum;
42 
43 class AlbumSelectDialog : public QDialog
44 {
45  Q_OBJECT
46 
47 public:
48 
49  explicit AlbumSelectDialog(QWidget* const parent, PAlbum* const albumToSelect, const QString& header=QString());
50  ~AlbumSelectDialog() override;
51 
52  static PAlbum* selectAlbum(QWidget* const parent, PAlbum* const albumToSelect, const QString& header=QString());
53 
54 private Q_SLOTS:
55 
56  void slotSelectionChanged();
57  void slotHelp();
58 
59 private:
60 
61  class Private;
62  Private* const d;
63 };
64 
65 } // namespace Digikam
66 
67 #endif // DIGIKAM_ALBUM_SELECT_DIALOG_H
Definition: albumselectdialog.h:44
static PAlbum * selectAlbum(QWidget *const parent, PAlbum *const albumToSelect, const QString &header=QString())
Definition: albumselectdialog.cpp:157
~AlbumSelectDialog() override
Definition: albumselectdialog.cpp:139
AlbumSelectDialog(QWidget *const parent, PAlbum *const albumToSelect, const QString &header=QString())
Definition: albumselectdialog.cpp:76
Definition: album.h:357
Definition: datefolderview.cpp:43