亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? settingsdialog.h

?? 這是一個開源碼的sip用戶代理 寫的都很清楚是用C++語言開發的 對于研究sip協議的朋友絕對是有很好的參考價值
?? H
字號:
/* *  This program is free software; you can redistribute it and/or modify *  it under the terms of the GNU General Public License as published by *  the Free Software Foundation; either version 2 of the License, or *  (at your option) any later version. * *  This program is distributed in the hope that it will be useful, *  but WITHOUT ANY WARRANTY; without even the implied warranty of *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the *  GNU Library General Public License for more details. * *  You should have received a copy of the GNU General Public License *  along with this program; if not, write to the Free Software *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *//* Copyright (C) 2004  * * Authors: Erik Eliasson <eliasson@it.kth.se> *          Johan Bilien <jobi@via.ecp.fr>*/#ifndef SETTINGSDIALOG_H#define SETTINGSDIALOG_H#define DISABLE_PHONEBOOK#include<config.h>#include<qapplication.h>#include<qwidget.h>#include<qtabdialog.h>#include<qlabel.h>#include<qlineedit.h>#include<qradiobutton.h>#include<qcheckbox.h>#include<qcombobox.h>#include<qlayout.h>#include<qbuttongroup.h>#include<qvbuttongroup.h>#include<qpushbutton.h>#include<qlistview.h>#include<qspinbox.h>#include<qfiledialog.h>#include<qscrollview.h>#include"CertificateDialog.h"//#include"../../../sip/state_machines/SipSoftPhone.h"#include"../../../sip/SipSoftPhoneConfiguration.h"#include<libmutil/XMLParser.h>class SettingsDialog;class GeneralTabWidget : public QWidget{	Q_OBJECT;	public:		GeneralTabWidget(QWidget *parent=0, const char *name=0);		~GeneralTabWidget();		void setConfig(MRef<SipSoftPhoneConfiguration *> config);		void backupSettings();		void restoreSettings();	public slots:		void autodetectStateChanged(int state);		string apply();	private:		MRef<SipSoftPhoneConfiguration *> config;		void checkStates();		QGridLayout layout;		QGroupBox groupboxSip;		QButtonGroup autodetectRadioGroup;		QLabel labelUserURI;		QLineEdit editUserURI;				QLabel labelProxyUsername;		QLineEdit editProxyUsername;				QLabel labelProxyPassword;		QLineEdit editProxyPassword;				QRadioButton radioAutodetect;		QLabel labelEmpty;				QRadioButton radioManualProxy;		QLineEdit editManualProxy;		QCheckBox checkRegister;				QGroupBox groupboxDevices;				QLabel labelSoundDevice;		QComboBox comboboxSoundDevice;				QLabel labelNIC;		QComboBox comboboxNIC;		// backup 		QString userUristring;		QString proxyUsernamestring;		QString proxyPasswordstring;		bool autodetectProxy;		QString manualProxystring;		bool doRegister;		int32_t soundDeviceIndex;		int32_t nicDeviceIndex;		SettingsDialog * tabDialog;};class SecurityTabWidget : public QWidget{	Q_OBJECT;	public:		SecurityTabWidget(QWidget *parent=0, const char *name=0);		~SecurityTabWidget();		void setConfig(MRef<SipSoftPhoneConfiguration *> config);		void backupSettings();		void restoreSettings();	public slots:		//void autodetectStateChanged(int32_t state);		string apply();		void checkSecuredPressed(int state);		void checkDHPressed(int state);		void checkPSKPressed(int state);			private:		MRef<SipSoftPhoneConfiguration *>config;		void checkStates();		QGridLayout layout;		QGroupBox groupboxDH;		QGroupBox groupboxOutGoing;		QCheckBox checkSecured;		QLabel labelOGEmpty;#ifndef OPIE		QLabel labelOGEmpty2;		QLabel labelKaType;#endif		QComboBox comboboxKaType;				//QCheckBox checkPK;				QCheckBox checkDH;		//QGridLayout layoutDH;		QLabel labelDHEmpty;#ifndef OPIE		QLabel labelDHEmpty2;#endif		QPushButton buttonCert;				QGroupBox groupboxPSK;		QCheckBox checkPSK;		QLabel labelPSKEmpty;#ifndef OPIE		QLabel labelPSKEmpty2;#endif		QLabel labelPSK;		QLineEdit editPSK;		// backup		bool doSecured;		bool doDH;		bool doPSK;		bool doCA;		QString castring;		QString certificatestring;		QString privateKeystring;		QString pskstring;		int kaTypeSelected;		SettingsDialog * tabDialog;};		#ifndef DISABLE_PHONEBOOKclass PhoneBooksWidget : public QWidget{	EEQ_OBJECT;	public:		PhoneBooksWidget(QWidget *parent=0, const char *name=0);		void setConfig(MRef<SipSoftPhoneConfiguration *> sipphone);		void setSipSoftPhoneConfig(MRef<SipSoftPhoneConfiguration *>config);		void backupSettings();		void restoreSettings();			EEpublic EEslots:                       //conditional compile conflicts with moc - removing this moc directive		string apply(XMLParser *parser);			void addClicked();	private:		//SipSoftPhone *sipphone;		MRef<SipSoftPhoneConfiguration *>config;		QHBoxLayout hLayout;		QVBoxLayout vLayout;//		QLabel labelDesc;//		QLineEdit editDesc;				QLabel labelPath;		QLineEdit editPath;		QPushButton buttonAdd;		QListView listPhoneBooks;		SettingsDialog * tabDialog;	};#endifclass StunTabWidget : public QWidget{	Q_OBJECT;	public:		StunTabWidget(QWidget *parent=0, const char *name=0);		~StunTabWidget();		void setConfig(MRef<SipSoftPhoneConfiguration *> config);		void backupSettings();		void restoreSettings();		string apply();	public slots:		void useStunPressed(int state);//		void autodetectPressed(int state);		void domainPressed(int state);		void serverPressed(int state);	private:		void checkStates();		MRef<SipSoftPhoneConfiguration *> config;		QGridLayout layout;		QGroupBox groupboxStun;		QCheckBox checkUseStun;		QLabel labelEmpty1;		QCheckBox checkFromUri;		QLabel labelEmpty2;				QCheckBox checkFromDomain;		QLineEdit editFromDomain;				QCheckBox checkSpecifyServer;		QLineEdit editServer;				// Backup in case of cancel & check if value changed		bool backupUseStun;		bool backupFromUri;		bool backupDoFromDomain;		string backupDomain;		bool backupDoSpecify;		string backupServer; 		SettingsDialog * tabDialog;};class AdvancedTabWidget : public QWidget{	Q_OBJECT;	public:		AdvancedTabWidget(QWidget *parent=0, const char *name=0);		~AdvancedTabWidget();		void setConfig(MRef<SipSoftPhoneConfiguration *> config);		void backupSettings();		void restoreSettings();	public slots:		void usePstnPressed(int state);		void checkTcpPressed(int state);		void checkTlsPressed(int state);		void checkGwIpPressed(int state);		string apply();	private:		void checkStates();		//SipSoftPhone *sipphone;		MRef<SipSoftPhoneConfiguration *>config;		QGridLayout layout;		QGroupBox groupboxTransport;				QLabel labelUdpPort;		QSpinBox spinUdpPort;		QCheckBox checkTcp;		QSpinBox spinTcpPort;				QCheckBox checkTls;		QSpinBox spinTlsPort;		QLabel emptyLabel;		QPushButton buttonCert;		QLabel labelTransport;		QComboBox comboboxTransport;#ifndef OPIE//		QCheckBox checkGwIp;//		QLineEdit editGwIp;#endif		///		QLabel labelMediaPort;		///		QLineEdit editMediaPort;				QGroupBox groupboxPstn;				QCheckBox usePstnProxy;		QLabel labelEmpty1;		QLabel labelPSTNProxy;		QLineEdit editPSTNProxy;				QLabel labelPSTNNumber;		QLineEdit editPSTNNumber;				QLabel labelPSTNUsername;		QLineEdit editPSTNUsername;		QLabel labelPSTNPassword;		QLineEdit editPSTNPassword;			QCheckBox checkRegisterPSTN;				// Backup in case of cancel & check if value changed		bool doTcp;		bool doTls;		int32_t udpPort;		int32_t tcpPort; 		int32_t tlsPort; 		int32_t transport;		bool useDynamicSipPort;		QString manualSipPortstring;//		bool useDynamicMediaPort;//		QString manualMediaPortstring;		bool usePstnProxyBool;		QString pstnProxystring;		QString pstnProxyNumberstring;		QString pstnProxyUsernamestring;		QString pstnProxyPasswordstring;		bool doRegisterPSTN;		bool useGwIp;		QString gwIpstring;		SettingsDialog * tabDialog;};class SettingsDialog : public QTabDialog{	Q_OBJECT;	public:		SettingsDialog(QWidget *parent=0, const char *name=0, bool destroy=false);		~SettingsDialog();		void setConfig(MRef<SipSoftPhoneConfiguration *> config);		virtual void show();	private slots:		//void apply();		//void cancel();		virtual void accept();		virtual void reject();		void showCertDialog();	private:		CertificateDialog certDialog;				GeneralTabWidget generalWidget;		SecurityTabWidget securityWidget;#ifndef DISABLE_PHONEBOOK		PhoneBooksWidget phoneBooksWidget;#endif		StunTabWidget stunWidget;		AdvancedTabWidget advancedWidget;		MRef<SipSoftPhoneConfiguration *> config;};#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美视频中文字幕| 91精品蜜臀在线一区尤物| 国产亚洲综合性久久久影院| 免费看欧美女人艹b| 欧美老肥妇做.爰bbww| 亚洲超碰精品一区二区| 欧洲精品在线观看| 夜夜嗨av一区二区三区四季av| 91在线视频播放地址| 国产精品久久久久久久久久免费看 | 国产成人小视频| www亚洲一区| 国产精品主播直播| 国产清纯白嫩初高生在线观看91 | 亚洲欧美日韩国产中文在线| av电影天堂一区二区在线| 国产精品乱码一区二三区小蝌蚪| 成人综合婷婷国产精品久久蜜臀| 国产欧美一区二区精品婷婷| 成人精品免费网站| 1024亚洲合集| 在线观看国产日韩| 亚洲成年人网站在线观看| 7777精品伊人久久久大香线蕉最新版| 五月天网站亚洲| 欧美videos大乳护士334| 国精品**一区二区三区在线蜜桃| 久久久不卡网国产精品一区| 成人综合在线观看| 一区二区三区在线看| 欧美三级视频在线观看| 日本一区中文字幕| 久久久一区二区三区捆绑**| 成人看片黄a免费看在线| 1024国产精品| 欧美日韩不卡一区| 久久国产精品一区二区| 国产欧美一区在线| 色婷婷狠狠综合| 天堂久久久久va久久久久| 精品理论电影在线观看| 成人精品在线视频观看| 一区二区三区.www| 精品少妇一区二区三区在线视频| 国产成人精品三级麻豆| 一区二区三区av电影| 日韩免费观看高清完整版| 懂色av一区二区三区免费观看| 亚洲欧美日韩国产成人精品影院| 欧美精品在线观看播放| 国产精品一级片| 一区二区三区高清| 欧美精品一区二区精品网| av在线不卡观看免费观看| 无码av中文一区二区三区桃花岛| 久久久久久久综合色一本| 一本大道久久a久久精二百 | 亚洲精品国产一区二区精华液 | 欧美老肥妇做.爰bbww视频| 国产伦精品一区二区三区免费迷| 亚洲欧美另类小说视频| 日韩视频一区二区三区在线播放| 波多野结衣欧美| 亚洲成人午夜影院| 国产清纯美女被跳蛋高潮一区二区久久w| 日本精品一区二区三区四区的功能| 日韩va欧美va亚洲va久久| 中文字幕av一区二区三区| 欧美男生操女生| 成人动漫在线一区| 日本视频一区二区| 亚洲欧洲精品一区二区精品久久久| 91精品麻豆日日躁夜夜躁| 成人午夜看片网址| 日本午夜精品视频在线观看| 国产精品夫妻自拍| 日韩女优av电影在线观看| 91一区在线观看| 国产一区在线观看麻豆| 亚洲国产精品一区二区久久恐怖片 | 欧美成人a∨高清免费观看| 色婷婷综合久久久| 国产精品一区二区久久精品爱涩| 亚洲成人一区在线| 一区精品在线播放| 久久综合久色欧美综合狠狠| 欧美体内she精视频| 北岛玲一区二区三区四区| 久久精品国产久精国产| 亚洲午夜影视影院在线观看| 国产精品毛片大码女人| 欧美xxxxxxxxx| 欧美精品久久久久久久久老牛影院| a在线欧美一区| 国产一区久久久| 蜜臀av性久久久久蜜臀aⅴ| 一区二区免费在线| 亚洲欧洲日韩一区二区三区| 日韩美女在线视频 | 欧美日韩一卡二卡三卡| 不卡av在线免费观看| 韩国av一区二区三区四区| 天堂久久久久va久久久久| 一区二区三区不卡视频在线观看| 中文一区二区完整视频在线观看| 精品久久久网站| 欧美一区二区日韩一区二区| 欧美日韩在线不卡| 色综合中文字幕国产 | 蜜臀av一区二区| 天天影视涩香欲综合网 | 欧美激情在线观看视频免费| 欧美第一区第二区| 91精品国产色综合久久久蜜香臀| 欧美三级在线看| 日本精品裸体写真集在线观看| 95精品视频在线| 99免费精品在线| proumb性欧美在线观看| 成人永久aaa| 国产aⅴ综合色| 国产精品1024| 国产麻豆精品在线| 国产伦精品一区二区三区免费 | 成人性生交大合| 国产成人av电影免费在线观看| 国产在线一区二区| 国产一区二区成人久久免费影院 | 青娱乐精品在线视频| 日韩精品久久理论片| 视频一区二区国产| 男女性色大片免费观看一区二区 | 欧美视频一区在线| 欧美性受极品xxxx喷水| 欧美日韩卡一卡二| 欧美精品自拍偷拍动漫精品| 91精品国产入口| 日韩你懂的在线观看| 欧美大片在线观看| 久久综合久色欧美综合狠狠| 久久久激情视频| 国产精品欧美久久久久无广告| 国产精品成人免费| 亚洲乱码日产精品bd| 亚洲一二三区不卡| 日韩国产一区二| 久久99热99| 成人免费视频视频| 91首页免费视频| 欧美午夜寂寞影院| 这里是久久伊人| 欧美精品一区二区三| 中文一区在线播放| 一区二区三区不卡在线观看| 亚洲成人7777| 精品综合免费视频观看| 国产福利一区二区三区| 99精品黄色片免费大全| 欧美在线看片a免费观看| 在线成人免费视频| 久久亚洲欧美国产精品乐播| 国产精品嫩草影院com| 亚洲激情一二三区| 青青青伊人色综合久久| 国产乱子轮精品视频| 99久久婷婷国产精品综合| 欧美视频日韩视频| 精品免费99久久| ●精品国产综合乱码久久久久 | 中文字幕一区二区三区精华液| 一区二区三区精品| 久久精品久久综合| 不卡的av网站| 6080日韩午夜伦伦午夜伦| 国产偷国产偷精品高清尤物| 亚洲美女视频在线观看| 日本最新不卡在线| 成人性生交大合| 欧美日韩视频在线一区二区| 欧美精品一区二区蜜臀亚洲| 一区二区视频在线看| 极品少妇xxxx精品少妇偷拍| av男人天堂一区| 欧美一区二区视频在线观看2020| 亚洲精品一线二线三线无人区| 亚洲日本va午夜在线电影| 男女男精品网站| 成人高清免费观看| 欧美一卡二卡三卡| 亚洲欧洲精品成人久久奇米网| 日本免费在线视频不卡一不卡二| 国产成人精品亚洲午夜麻豆| 欧美日韩不卡一区二区| 欧美激情一区二区三区全黄 | 亚洲欧美偷拍卡通变态| 日本不卡高清视频| 色综合久久久网| 精品久久久久久久久久久久久久久久久 | 麻豆国产精品视频| 一本久久a久久精品亚洲|