digiKam
smugnewalbumdlg.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 : 2008-12-07
7  * Description : a tool to export images to Smugmug web service
8  *
9  * Copyright (C) 2008-2009 by Luka Renko <lure at kubuntu dot org>
10  * Copyright (C) 2008-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
11  * Copyright (C) 2018 by Thanh Trung Dinh <dinhthanhtrung1996 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) any later version.
17  *
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21  * GNU General Public License for more details.
22  *
23  * ============================================================ */
24 
25 #ifndef DIGIKAM_SMUG_NEW_ALBUM_DLG_H
26 #define DIGIKAM_SMUG_NEW_ALBUM_DLG_H
27 
28 // Qt includes
29 
30 #include <QDialog>
31 #include <QGroupBox>
32 #include <QComboBox>
33 
35 {
36 
37 class SmugAlbum;
38 
39 class SmugNewAlbumDlg : public QDialog
40 {
41  Q_OBJECT
42 
43 public:
44 
45  explicit SmugNewAlbumDlg(QWidget* const parent);
46  ~SmugNewAlbumDlg() override;
47 
48  void getAlbumProperties(SmugAlbum& album);
49 
50 /* Categories are deprecated
51  QComboBox* categoryCombo() const;
52  QComboBox* subCategoryCombo() const;
53 */
54 
55  QComboBox* templateCombo() const;
56  QGroupBox* privateGroupBox() const;
57 
58 private:
59 
60  class Private;
61  Private* const d;
62 };
63 
64 } // namespace DigikamGenericSmugPlugin
65 
66 #endif // DIGIKAM_SMUG_NEW_ALBUM_DLG_H
Definition: smugitem.h:72
Definition: smugnewalbumdlg.h:40
void getAlbumProperties(SmugAlbum &album)
Definition: smugnewalbumdlg.cpp:194
QGroupBox * privateGroupBox() const
Definition: smugnewalbumdlg.cpp:235
QComboBox * templateCombo() const
Definition: smugnewalbumdlg.cpp:230
SmugNewAlbumDlg(QWidget *const parent)
Definition: smugnewalbumdlg.cpp:86
~SmugNewAlbumDlg() override
Definition: smugnewalbumdlg.cpp:189
Definition: smugitem.h:33