File indexing completed on 2025-01-19 03:52:58

0001 /* ============================================================
0002  *
0003  * This file is a part of digiKam project
0004  * https://www.digikam.org
0005  *
0006  * Date        : 2005-07-07
0007  * Description : a tool to export images to Flickr web service
0008  *
0009  * SPDX-FileCopyrightText: 2005-2008 by Vardhman Jain <vardhman at gmail dot com>
0010  * SPDX-FileCopyrightText: 2008-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
0011  * SPDX-FileCopyrightText: 2009      by Luka Renko <lure at kubuntu dot org>
0012  *
0013  * SPDX-License-Identifier: GPL-2.0-or-later
0014  *
0015  * ============================================================ */
0016 
0017 #ifndef DIGIKAM_FLICKR_WIDGET_PRIVATE_H
0018 #define DIGIKAM_FLICKR_WIDGET_PRIVATE_H
0019 
0020 #include "flickrwidget.h"
0021 
0022 // Qt includes
0023 
0024 #include <QCheckBox>
0025 #include <QGridLayout>
0026 #include <QGroupBox>
0027 #include <QHeaderView>
0028 #include <QLabel>
0029 #include <QPushButton>
0030 #include <QScrollArea>
0031 #include <QSpinBox>
0032 #include <QVBoxLayout>
0033 #include <QTreeWidget>
0034 #include <QApplication>
0035 #include <QStyle>
0036 #include <QDialog>
0037 
0038 // KDE includes
0039 
0040 #include <klocalizedstring.h>
0041 
0042 // Local includes
0043 
0044 #include "wscomboboxdelegate.h"
0045 #include "wscomboboxintermediate.h"
0046 #include "flickrlist.h"
0047 #include "dtextedit.h"
0048 
0049 using namespace Digikam;
0050 
0051 namespace DigikamGenericFlickrPlugin
0052 {
0053 
0054 class Q_DECL_HIDDEN FlickrWidget::Private
0055 {
0056 public:
0057 
0058     explicit Private()
0059       : removeAccount               (nullptr),
0060         extendedTagsButton          (nullptr),
0061         extendedPublicationButton   (nullptr),
0062         exportHostTagsCheckBox      (nullptr),
0063         stripSpaceTagsCheckBox      (nullptr),
0064         addExtraTagsCheckBox        (nullptr),
0065         familyCheckBox              (nullptr),
0066         friendsCheckBox             (nullptr),
0067         publicCheckBox              (nullptr),
0068         extendedTagsBox             (nullptr),
0069         extendedPublicationBox      (nullptr),
0070         tagsLineEdit                (nullptr),
0071         contentTypeComboBox         (nullptr),
0072         safetyLevelComboBox         (nullptr),
0073         imglst                      (nullptr)
0074     {
0075     }
0076 
0077     QString                 serviceName;
0078     QPushButton*            removeAccount;
0079     QPushButton*            extendedTagsButton;
0080     QPushButton*            extendedPublicationButton;
0081 
0082     QCheckBox*              exportHostTagsCheckBox;
0083     QCheckBox*              stripSpaceTagsCheckBox;
0084     QCheckBox*              addExtraTagsCheckBox;
0085     QCheckBox*              familyCheckBox;
0086     QCheckBox*              friendsCheckBox;
0087     QCheckBox*              publicCheckBox;
0088 
0089     QGroupBox*              extendedTagsBox;
0090     QGroupBox*              extendedPublicationBox;
0091 
0092     DTextEdit*              tagsLineEdit;
0093 
0094     WSComboBoxIntermediate* contentTypeComboBox;
0095     WSComboBoxIntermediate* safetyLevelComboBox;
0096 
0097     FlickrList*             imglst;
0098 };
0099 
0100 } // namespace DigikamGenericFlickrPlugin
0101 
0102 #endif // DIGIKAM_FLICKR_WIDGET_PRIVATE_H