1 | /* ============================================================ |
---|
2 | * |
---|
3 | * This file is a part of kipi-plugins project |
---|
4 | * http://www.kipi-plugins.org |
---|
5 | * |
---|
6 | * Date : 2010-01-07 |
---|
7 | * Description : a plugin to export to a remote Piwigo server. |
---|
8 | * |
---|
9 | * Copyright (C) 2003-2005 by Renchi Raju <renchi dot raju at gmail dot com> |
---|
10 | * Copyright (C) 2006 by Colin Guthrie <kde@colin.guthr.ie> |
---|
11 | * Copyright (C) 2006-2009 by Gilles Caulier <caulier dot gilles at gmail dot com> |
---|
12 | * Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com> |
---|
13 | * Copyright (C) 2010 by Frederic Coiffier <frederic dot coiffier at free dot com> |
---|
14 | * |
---|
15 | * This program is free software; you can redistribute it |
---|
16 | * and/or modify it under the terms of the GNU General |
---|
17 | * Public License as published by the Free Software Foundation; |
---|
18 | * either version 2, or (at your option) any later version. |
---|
19 | * |
---|
20 | * This program is distributed in the hope that it will be useful, |
---|
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
23 | * GNU General Public License for more details. |
---|
24 | * |
---|
25 | * ============================================================ */ |
---|
26 | |
---|
27 | #ifndef PIWIGOCONFIG_H |
---|
28 | #define PIWIGOCONFIG_H |
---|
29 | |
---|
30 | // Qt includes |
---|
31 | |
---|
32 | #include <QLabel> |
---|
33 | #include <QCheckBox> |
---|
34 | |
---|
35 | // KDE includes |
---|
36 | |
---|
37 | #include <kdialog.h> |
---|
38 | #include <klineedit.h> |
---|
39 | |
---|
40 | namespace KIPIPiwigoExportPlugin |
---|
41 | { |
---|
42 | |
---|
43 | class Piwigo; |
---|
44 | |
---|
45 | class PiwigoEdit : public KDialog |
---|
46 | { |
---|
47 | Q_OBJECT |
---|
48 | |
---|
49 | public: |
---|
50 | |
---|
51 | PiwigoEdit(QWidget* pParent, Piwigo* pPiwigo, const QString& title); |
---|
52 | ~PiwigoEdit(); |
---|
53 | |
---|
54 | private Q_SLOTS: |
---|
55 | |
---|
56 | void slotOk(); |
---|
57 | |
---|
58 | private: |
---|
59 | |
---|
60 | QLabel* mpHeaderLabel; |
---|
61 | |
---|
62 | KLineEdit* mpNameEdit; |
---|
63 | KLineEdit* mpUrlEdit; |
---|
64 | KLineEdit* mpUsernameEdit; |
---|
65 | KLineEdit* mpPasswordEdit; |
---|
66 | |
---|
67 | Piwigo* mpPiwigo; |
---|
68 | }; |
---|
69 | |
---|
70 | } // namespace KIPIPiwigoExportPlugin |
---|
71 | |
---|
72 | #endif /* PIWIGOCONFIG_H */ |
---|