mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-20 21:29:01 -04:00
FeedReader: Moved proxy setting to own widget
This commit is contained in:
parent
8c26fa879d
commit
1094e3e651
8 changed files with 165 additions and 70 deletions
31
plugins/FeedReader/gui/ProxyWidget.h
Normal file
31
plugins/FeedReader/gui/ProxyWidget.h
Normal file
|
@ -0,0 +1,31 @@
|
|||
#ifndef PROXYWIDGET_H
|
||||
#define PROXYWIDGET_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
namespace Ui {
|
||||
class ProxyWidget;
|
||||
}
|
||||
|
||||
class ProxyWidget : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit ProxyWidget(QWidget *parent = nullptr);
|
||||
~ProxyWidget();
|
||||
|
||||
QString address();
|
||||
void setAddress(const QString &value);
|
||||
|
||||
int port();
|
||||
void setPort(int value);
|
||||
|
||||
Q_SIGNALS:
|
||||
void changed();
|
||||
|
||||
private:
|
||||
Ui::ProxyWidget *ui;
|
||||
};
|
||||
|
||||
#endif // PROXYWIDGET_H
|
Loading…
Add table
Add a link
Reference in a new issue