File indexing completed on 2025-01-05 03:53:40

0001 /* ============================================================
0002  *
0003  * This file is a part of digiKam project
0004  * https://www.digikam.org
0005  *
0006  * Date        : 2014-09-30
0007  * Description : a tool to export items to Piwigo web service
0008  *
0009  * SPDX-FileCopyrightText: 2003-2005 by Renchi Raju <renchi dot raju at gmail dot com>
0010  * SPDX-FileCopyrightText: 2006      by Colin Guthrie <kde at colin dot guthr dot ie>
0011  * SPDX-FileCopyrightText: 2006-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
0012  * SPDX-FileCopyrightText: 2008      by Andrea Diamantini <adjam7 at gmail dot com>
0013  * SPDX-FileCopyrightText: 2010-2014 by Frederic Coiffier <frederic dot coiffier at free dot com>
0014  *
0015  * SPDX-License-Identifier: GPL-2.0-or-later
0016  *
0017  * ============================================================ */
0018 
0019 #ifndef DIGIKAM_PIWIGO_LOGIN_DLG_H
0020 #define DIGIKAM_PIWIGO_LOGIN_DLG_H
0021 
0022 // Qt includes
0023 
0024 #include <QString>
0025 #include <QDialog>
0026 
0027 // Local includes
0028 
0029 #include "piwigosession.h"
0030 
0031 namespace DigikamGenericPiwigoPlugin
0032 {
0033 
0034 class PiwigoLoginDlg : public QDialog
0035 {
0036     Q_OBJECT
0037 
0038 public:
0039 
0040     explicit PiwigoLoginDlg(QWidget* const pParent,
0041                             PiwigoSession* const pPiwigo,
0042                             const QString& title);
0043     ~PiwigoLoginDlg() override;
0044 
0045 private Q_SLOTS:
0046 
0047     void slotOk();
0048 
0049 private:
0050 
0051     class Private;
0052     Private* const d;
0053 };
0054 
0055 } // namespace DigikamGenericPiwigoPlugin
0056 
0057 #endif // DIGIKAM_PIWIGO_LOGIN_DLG_H