1 Star 0 Fork 43

tianyayouge / SocketTool

forked from c. / SocketTool 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
mainwindow.h 958 Bytes
一键复制 编辑 原始数据 按行查看 历史
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include "stdafx.h"
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
public slots:
void on_listWidget_currentItemChanged(QListWidgetItem *current, QListWidgetItem *previous);
void on_actionTcpServer_triggered();
void on_actionTcpClient_triggered();
void on_actionUdpSocket_triggered();
void on_actionUdpGroup_triggered();
void on_actionRemoveSocket_triggered();
void tcpServerCreated(QTcpServer* tcpServer);
void tcpSocketCreated(QTcpSocket* tcpSocket, const QHostAddress& peerHost, const unsigned short& port);
void udpSocketCreated(QUdpSocket* udpSocket);
void multicastCreated(QUdpSocket* udpSocket, const QString& multicastAddress);
private:
Ui::MainWindow *ui;
};
#endif // MAINWINDOW_H
C++
1
https://gitee.com/tianyayouge/SocketTool.git
git@gitee.com:tianyayouge/SocketTool.git
tianyayouge
SocketTool
SocketTool
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891