mirror of
https://github.com/vanilla-wiiu/vanilla.git
synced 2025-01-22 16:21:48 -05:00
24 lines
480 B
C
24 lines
480 B
C
|
#ifndef UDP_ADDRESS_DIALOG
|
||
|
#define UDP_ADDRESS_DIALOG
|
||
|
|
||
|
#include <QDialog>
|
||
|
#include <QHostAddress>
|
||
|
#include <QLineEdit>
|
||
|
|
||
|
class UdpAddressDialog : public QDialog
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
UdpAddressDialog(QWidget *parent = nullptr);
|
||
|
|
||
|
inline const QHostAddress &acceptedAddress() const { return m_acceptedAddress; }
|
||
|
|
||
|
public slots:
|
||
|
virtual void done(int r) override;
|
||
|
|
||
|
private:
|
||
|
QLineEdit *m_addressLine;
|
||
|
QHostAddress m_acceptedAddress;
|
||
|
};
|
||
|
|
||
|
#endif // UDP_ADDRESS_DIALOG
|