digiKam
camerafolderdialog.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 : 2006-07-24
7  * Description : a dialog to select a camera folders.
8  *
9  * Copyright (C) 2006-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
10  *
11  * This program is free software; you can redistribute it
12  * and/or modify it under the terms of the GNU General
13  * Public License as published by the Free Software Foundation;
14  * either version 2, or (at your option)
15  * any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU General Public License for more details.
21  *
22  * ============================================================ */
23 
24 #ifndef DIGIKAM_CAMERA_FOLDER_DIALOG_H
25 #define DIGIKAM_CAMERA_FOLDER_DIALOG_H
26 
27 // Qt includes
28 
29 #include <QString>
30 #include <QDialog>
31 
32 namespace Digikam
33 {
34 
35 class CameraFolderItem;
36 
37 class CameraFolderDialog : public QDialog
38 {
39  Q_OBJECT
40 
41 public:
42 
43  CameraFolderDialog(QWidget* const parent, const QMap<QString, int>& map,
44  const QString& cameraName, const QString& rootPath);
45  ~CameraFolderDialog() override;
46 
47  QString selectedFolderPath() const;
48 
49 private Q_SLOTS:
50 
51  void slotFolderPathSelectionChanged(CameraFolderItem* item);
52  void slotHelp();
53 
54 private:
55 
56  class Private;
57  Private* const d;
58 };
59 
60 } // namespace Digikam
61 
62 #endif // DIGIKAM_CAMERA_FOLDER_DIALOG_H
Definition: camerafolderdialog.h:38
CameraFolderDialog(QWidget *const parent, const QMap< QString, int > &map, const QString &cameraName, const QString &rootPath)
Definition: camerafolderdialog.cpp:69
QString selectedFolderPath() const
Definition: camerafolderdialog.cpp:160
~CameraFolderDialog() override
Definition: camerafolderdialog.cpp:155
Definition: camerafolderitem.h:39
Definition: datefolderview.cpp:43