forked from MX-Linux/mx-packageinstaller
-
Notifications
You must be signed in to change notification settings - Fork 0
/
remotes.h
39 lines (32 loc) · 772 Bytes
/
remotes.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
#ifndef REMOTES_H
#define REMOTES_H
#include <QDialog>
#include <QComboBox>
#include <QCheckBox>
#include <cmd.h>
class ManageRemotes : public QDialog
{
Q_OBJECT
public:
explicit ManageRemotes(QWidget *parent = nullptr);
bool isChanged() const {return changed;}
void listFlatpakRemotes() const;
QString getInstallRef() const {return install_ref;}
QString getUser() const {return user;}
signals:
public slots:
void removeItem();
void addItem();
void setInstall();
void userSelected(int selected);
private:
bool changed;
Cmd *cmd;
QComboBox *comboRemote;
QComboBox *comboUser;
QLineEdit *editAddRemote;
QLineEdit *editInstallFlatpakref;
QString user;
QString install_ref;
};
#endif // REMOTES_H