41 lines
686 B
C++
41 lines
686 B
C++
#ifndef CLIENTLINKDIALOG_H
|
|
#define CLIENTLINKDIALOG_H
|
|
|
|
#include <QDialog>
|
|
#include <QHostAddress>
|
|
#include <QSettings>
|
|
|
|
namespace Ui {
|
|
class ClientLinkDialog;
|
|
}
|
|
|
|
#ifdef QtClientLink
|
|
#include <clientlinkglobal.h>
|
|
class CLIENTLINKSHARED_EXPORT ClientLinkDialog : public QDialog {
|
|
#else
|
|
class ClientLinkDialog : public QDialog
|
|
{
|
|
#endif
|
|
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit ClientLinkDialog(QWidget *parent = nullptr);
|
|
~ClientLinkDialog();
|
|
|
|
int exec();
|
|
|
|
void accept();
|
|
void reject();
|
|
|
|
QHostAddress remote_addr = QHostAddress("127.0.0.1");
|
|
int local_port = 6060;
|
|
int remote_port = 6061;
|
|
|
|
private:
|
|
Ui::ClientLinkDialog *ui;
|
|
};
|
|
|
|
#endif // CLIENTLINKDIALOG_H
|