rajcewindow.h 1.42 KB
Newer Older
1
2
3
/* ============================================================
 *
 * This file is a part of kipi-plugins project
4
 * http://www.digikam.org
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
 *
 * Date        : 2011-04-12
 * Description : A KIPI Plugin to export albums to rajce.net
 *
 * Copyright (C) 2011 by Lukas Krejci <krejci.l at centrum dot cz>
 *
 * This program is free software; you can redistribute it
 * and/or modify it under the terms of the GNU General
 * Public License as published by the Free Software Foundation;
 * either version 2, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * ============================================================ */

#ifndef RAJCEWINDOW_H
#define RAJCEWINDOW_H

Gilles Caulier's avatar
Gilles Caulier committed
26
27
28
29
30
31
// Local includes

#include "kptooldialog.h"

using namespace KIPI;
using namespace KIPIPlugins;
32

Gilles Caulier's avatar
polish    
Gilles Caulier committed
33
34
namespace KIPIRajceExportPlugin
{
35
36
37

class RajceWidget;

Gilles Caulier's avatar
Gilles Caulier committed
38
class RajceWindow : public KPToolDialog
39
40
{
    Q_OBJECT
Gilles Caulier's avatar
polish    
Gilles Caulier committed
41

42
public:
Gilles Caulier's avatar
polish    
Gilles Caulier committed
43

Gilles Caulier's avatar
Gilles Caulier committed
44
    explicit RajceWindow(const QString& tmpFolder, QWidget* const parent = 0, Qt::WFlags flags = 0);
Gilles Caulier's avatar
polish    
Gilles Caulier committed
45
    ~RajceWindow();
46
47
48
49
50
51
52
53
54
55

    void reactivate();

private Q_SLOTS:

    void slotSetUploadButtonEnabled(bool);
    void slotClose();

private:

Gilles Caulier's avatar
Gilles Caulier committed
56
    RajceWidget* m_widget;
57
58
59
60
61
};

} // namespace KIPIRajceExportPlugin

#endif // RAJCEWINDOW_H