[PC-BSD Commits] r7999 - pcbsd/current/src-qt4/libpcbsd

svn at pcbsd.org svn at pcbsd.org
Sun Nov 7 12:55:49 PST 2010


Author: kris
Date: 2010-11-07 12:55:49 -0800 (Sun, 07 Nov 2010)
New Revision: 7999

Modified:
   pcbsd/current/src-qt4/libpcbsd/utils.cpp
Log:

Updated proxy functions to get / set from etc/pcbsd.conf



Modified: pcbsd/current/src-qt4/libpcbsd/utils.cpp
===================================================================
--- pcbsd/current/src-qt4/libpcbsd/utils.cpp	2010-11-07 20:49:55 UTC (rev 7998)
+++ pcbsd/current/src-qt4/libpcbsd/utils.cpp	2010-11-07 20:55:49 UTC (rev 7999)
@@ -117,23 +117,23 @@
 }
 
 QString Utils::getProxyURL() {
-	return getValFromPBIConf("PBI_PROXYURL");
+	return getValFromPCBSDConf("PCBSD_PROXYURL");
 }
 
 QString Utils::getProxyUser() {
-	return getValFromPBIConf("PBI_PROXYUSER");
+	return getValFromPCBSDConf("PCBSD_PROXYUSER");
 }
 
 QString Utils::getProxyPass() {
-	return getValFromPBIConf("PBI_PROXYPASS");
+	return getValFromPCBSDConf("PCBSD_PROXYPASS");
 }
 
 QString Utils::getProxyType() {
-	return getValFromPBIConf("PBI_PROXYTYPE");
+	return getValFromPCBSDConf("PCBSD_PROXYTYPE");
 }
 
 QString Utils::getProxyPort() {
-	return getValFromPBIConf("PBI_PROXYPORT");
+	return getValFromPCBSDConf("PCBSD_PROXYPORT");
 }
 
 QString Utils::getMasterMirror() {
@@ -191,23 +191,23 @@
 }
 
 bool Utils::setProxyURL(QString val) {
-	return setValPBIConf("PBI_PROXYURL", val);
+	return setValPCBSDConf("PCBSD_PROXYURL", val);
 }
 
 bool Utils::setProxyUser(QString val) {
-	return setValPBIConf("PBI_PROXYUSER", val);
+	return setValPCBSDConf("PCBSD_PROXYUSER", val);
 }
 
 bool Utils::setProxyPass(QString val) {
-	return setValPBIConf("PBI_PROXYPASS", val);
+	return setValPCBSDConf("PCBSD_PROXYPASS", val);
 }
 
 bool Utils::setProxyType(QString val) {
-	return setValPBIConf("PBI_PROXYTYPE", val);
+	return setValPCBSDConf("PCBSD_PROXYTYPE", val);
 }
 
 bool Utils::setProxyPort(QString val) {
-	return setValPBIConf("PBI_PROXYPORT", val);
+	return setValPCBSDConf("PCBSD_PROXYPORT", val);
 }
 
 bool Utils::setMasterMirror(QString val) {



More information about the Commits mailing list