forked from KDE/kdev-upload
-
Notifications
You must be signed in to change notification settings - Fork 0
/
uploadpreferences.h
60 lines (47 loc) · 1.71 KB
/
uploadpreferences.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/***************************************************************************
* Copyright 2007 Niko Sams <[email protected]> *
* *
* 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 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef UPLOADPREFERENCES_H
#define UPLOADPREFERENCES_H
#include <ksharedconfig.h>
#include <QVariant>
#include <project/projectconfigpage.h>
#include "uploadconfig.h"
namespace Ui {
class UploadPreferences;
}
class UploadProfileDlg;
class UploadProfileModel;
class UploadProfileItem;
/**
* KCModule for upload profiles configuration
*/
class UploadPreferences : public ProjectConfigPage<UploadSettings>
{
Q_OBJECT
public:
UploadPreferences(KDevelop::IPlugin* plugin, const KDevelop::ProjectConfigOptions& options, QWidget* parent);
~UploadPreferences() override;
void reset() override;
void apply() override;
void defaults() override;
QString name() const override;
QString fullName() const override;
QIcon icon() const override;
private Q_SLOTS:
void addProfile();
void removeProfile();
void modifyProfile();
private:
Ui::UploadPreferences* m_ui;
UploadProfileDlg* m_dlg;
UploadProfileModel* m_model;
};
#endif
// kate: space-indent on; indent-width 4; tab-width 4; replace-tabs on