SF.net SVN: fclient:[968] trunk/fclient/fclient/impl/ViewConnection
Status: Pre-Alpha
Brought to you by:
jurner
From: <jU...@us...> - 2008-09-06 12:39:51
|
Revision: 968 http://fclient.svn.sourceforge.net/fclient/?rev=968&view=rev Author: jUrner Date: 2008-09-06 12:39:55 +0000 (Sat, 06 Sep 2008) Log Message: ----------- naming Modified Paths: -------------- trunk/fclient/fclient/impl/ViewConnection/Settings.py trunk/fclient/fclient/impl/ViewConnection/ViewConnection.py Modified: trunk/fclient/fclient/impl/ViewConnection/Settings.py =================================================================== --- trunk/fclient/fclient/impl/ViewConnection/Settings.py 2008-09-06 08:53:16 UTC (rev 967) +++ trunk/fclient/fclient/impl/ViewConnection/Settings.py 2008-09-06 12:39:55 UTC (rev 968) @@ -41,7 +41,7 @@ edHost.setText(self.value('FcpConnectionHost')) if 'FcpConnectionPort' in kws: - spinPort = parent.controlById(parent.IdFcpSpinFcpConnectionPort) + spinPort = parent.controlById(parent.IdSpinFcpConnectionPort) spinPort.setValue(self.value('FcpConnectionPort')) if 'FcpAutoConnect' in kws: @@ -54,5 +54,5 @@ edHost.setText(self.value('FproxyConnectionHost')) if 'FproxyConnectionPort' in kws: - spinPort = parent.controlById(parent.IdFproxySpinConnectionPort) + spinPort = parent.controlById(parent.IdSpinFproxyConnectionPort) spinPort.setValue(self.value('FproxyConnectionPort')) Modified: trunk/fclient/fclient/impl/ViewConnection/ViewConnection.py =================================================================== --- trunk/fclient/fclient/impl/ViewConnection/ViewConnection.py 2008-09-06 08:53:16 UTC (rev 967) +++ trunk/fclient/fclient/impl/ViewConnection/ViewConnection.py 2008-09-06 12:39:55 UTC (rev 968) @@ -77,11 +77,11 @@ IdBtConnect = 'btConnect' IdEdFcpConnectionHost = 'edFcpConnectionHost' - IdFcpSpinFcpConnectionPort = 'spinFcpConnectionPort' + IdSpinFcpConnectionPort = 'spinFcpConnectionPort' IdCkFcpAutoConnect = 'ckFcpAutoConnect' IdEdFproxyConnectionHost = 'edFproxyConnectionHost' - IdFproxySpinConnectionPort = 'spinFproxyConnectionPort' + IdSpinFproxyConnectionPort = 'spinFproxyConnectionPort' def __init__(self, parent, idGlobalFeedback=config.IdViewObjectMainWindow): @@ -90,9 +90,9 @@ self.setupUi(self) # adjust spin box ranges - spinPort = self.controlById(self.IdFcpSpinFcpConnectionPort) + spinPort = self.controlById(self.IdSpinFcpConnectionPort) spinPort.setRange(0, 0xFFFF) #TODO: no idea if port range (0, 0xFFFF) this is reasonable - spinPort = self.controlById(self.IdFproxySpinConnectionPort) + spinPort = self.controlById(self.IdSpinFproxyConnectionPort) spinPort.setRange(0, 0xFFFF) #TODO: no idea if port range (0, 0xFFFF) this is reasonable self._isCreated = False @@ -153,10 +153,10 @@ ck.setChecked(doAutoConnect) self.connect(ck, QtCore.SIGNAL('stateChanged(int)'), self.onCkFcpAutoConnectStateChanged) - spinPort = self.controlById(self.IdFcpSpinFcpConnectionPort) + spinPort = self.controlById(self.IdSpinFcpConnectionPort) self.connect(spinPort, QtCore.SIGNAL('valueChanged(int)'), self.onSpinFcpConnectionPortChanged) - spinPort = self.controlById(self.IdFproxySpinConnectionPort) + spinPort = self.controlById(self.IdSpinFproxyConnectionPort) self.connect(spinPort, QtCore.SIGNAL('valueChanged(int)'), self.onSpinFproxyConnectionPortChanged) # setup fproxy host / port This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |