⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 setmacdhcp.h

📁 linux下更改网卡mac地址
💻 H
字号:
/****************************************************************************** Form interface generated from reading ui file 'setmacdhcp.ui'**** Created: Mon May 29 14:33:38 2006**      by:  The User Interface Compiler (uic)**** WARNING! All changes made in this file will be lost!****************************************************************************/#ifndef SETMAC_H#define SETMAC_H#include <qvariant.h>#include <qwidget.h>#include <qmessagebox.h>#include "macdhcp.h"//#include <qtimerevent.h>class QVBoxLayout; class QHBoxLayout; class QGridLayout; class QComboBox;class QLabel;class QLineEdit;class QPushButton;//class QTimerEvent;class setMac : public QWidget{     Q_OBJECTpublic:    setMac( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );    ~setMac();    QComboBox* interfaceNumCombo;    QLabel* IPAddressLabel;    QLabel* interfaceNumLabel;    QLabel* MACAddressLabel;    QLabel* DNSLabel;    QLineEdit* netMaskLineEdit;    QLabel* netMask;    QLabel* gatewayLabel;    QLineEdit* IPAddressLineEdit;    QLineEdit* MACAddressLineEdit;    QLineEdit* gatewayLineEdit;    QLineEdit* DNSLineEdit;    QPushButton* dhcpPushButton;    QPushButton* setupPushButton;    int ifnum;    QString tempString;    macdhcp* MACDhcp;	int timeCounter;	int tid;	void resetEthernet();	bool modifyEnable;	bool dirty;private:	FILE *fp;	char tmpStr[128];	QString srhStr;	QMessageBox *pMB; public slots:    virtual void comboTextChange(int);    virtual void dhcpClicked();    virtual void setupClicked();	virtual void timerEvent( QTimerEvent *e );protected:    QVBoxLayout* Layout1;    QVBoxLayout* Layout3;};#endif // SETMAC_H

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -