digiKam
wsselectuserdlg.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 : 2015-16-05
7  * Description : a dialog to select user for Web Service tools
8  *
9  * Copyright (C) 2015 by Shourya Singh Gupta <shouryasgupta at gmail dot com>
10  * Copyright (C) 2016-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
11  *
12  * This program is free software; you can redistribute it
13  * and/or modify it under the terms of the GNU General
14  * Public License as published by the Free Software Foundation;
15  * either version 2, or (at your option) 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_WS_SELECT_USER_DLG_H
25 #define DIGIKAM_WS_SELECT_USER_DLG_H
26 
27 // Qt includes
28 
29 #include <QString>
30 #include <QDialog>
31 
32 // Local includes
33 
34 #include "digikam_export.h"
35 
36 namespace Digikam
37 {
38 
39 class DIGIKAM_EXPORT WSSelectUserDlg : public QDialog
40 {
41  Q_OBJECT
42 
43 public:
44 
45  explicit WSSelectUserDlg(QWidget* const parent, const QString& serviceName);
46  ~WSSelectUserDlg() override;
47 
48  void reactivate();
49  QString getUserName() const;
50 
51 protected Q_SLOTS:
52 
53  void slotOkClicked();
54  void slotNewAccountClicked();
55 
56 private:
57 
58  class Private;
59  Private* const d;
60 };
61 
62 } // namespace Digikam
63 
64 #endif // DIGIKAM_WS_SELECT_USER_DLG_H
Definition: wsselectuserdlg.h:40
Definition: datefolderview.cpp:43