File indexing completed on 2025-01-19 03:55:41
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2015-16-05 0007 * Description : a dialog to select user for Web Service tools 0008 * 0009 * SPDX-FileCopyrightText: 2015 by Shourya Singh Gupta <shouryasgupta at gmail dot com> 0010 * SPDX-FileCopyrightText: 2016-2024 by Gilles Caulier <caulier dot gilles at gmail dot com> 0011 * 0012 * SPDX-License-Identifier: GPL-2.0-or-later 0013 * 0014 * ============================================================ */ 0015 0016 #ifndef DIGIKAM_WS_SELECT_USER_DLG_H 0017 #define DIGIKAM_WS_SELECT_USER_DLG_H 0018 0019 // Qt includes 0020 0021 #include <QString> 0022 #include <QDialog> 0023 0024 // Local includes 0025 0026 #include "digikam_export.h" 0027 0028 namespace Digikam 0029 { 0030 0031 class DIGIKAM_EXPORT WSSelectUserDlg : public QDialog 0032 { 0033 Q_OBJECT 0034 0035 public: 0036 0037 explicit WSSelectUserDlg(QWidget* const parent, const QString& serviceName); 0038 ~WSSelectUserDlg() override; 0039 0040 void reactivate(); 0041 QString getUserName() const; 0042 0043 protected Q_SLOTS: 0044 0045 void slotOkClicked(); 0046 void slotNewAccountClicked(); 0047 0048 private: 0049 0050 class Private; 0051 Private* const d; 0052 }; 0053 0054 } // namespace Digikam 0055 0056 #endif // DIGIKAM_WS_SELECT_USER_DLG_H