QT宏 Q_OBJECT,explicit, QHostAddress, quint, emit

QT相關

一、

參考:
1、宏Q_OBJECT

二、

explicit struct constrcution

三、
QHostAddress
Detailed Description:

The QHostAddress class provides an IP address. This class holds an IPv4 or IPv6 address in a platform- and protocol-independent manner.QHostAddress is normally used with the QTcpSocket, QTcpServer, and QUdpSocket to connect to a host or to set up a server.

Main Construct

 	QHostAddress(quint32 ip4Addr)
	QHostAddress(quint8 * ip6Addr)
	QHostAddress(const Q_IPV6ADDR & ip6Addr)
	QHostAddress(const sockaddr * sockaddr)
	QHostAddress(const QString & address)
	QHostAddress(const QHostAddress & address)
	QHostAddress(SpecialAddress address)

REFER:QHostAddress Class

四、
quint
QT-Unsigned-Interger32

五、
emit

REFER: Signals & Slots

六、
void QAbstractSocket::connected()

This signal is emitted after connectToHost() has been called and a connection has been successfully established.

Note: On some operating systems the connected() signal may be directly emitted from the connectToHost() call for connections to the localhost.

See also connectToHost() and disconnected().

七、

QStringToChar*, QStringToInt

REFER: Qt中 QString 和int, char等的“相互”转换

八、
QT
void QThread::run()

REFER: run

九、
QString

十、
QQueue

posted @ 2016-09-29 14:58  xiulug  阅读(364)  评论(0编辑  收藏  举报