summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/rfcpopup.cpp
authorkorovkin <korovkin>2006-03-25 18:10:13 (UTC)
committer korovkin <korovkin>2006-03-25 18:10:13 (UTC)
commitc4f82599db775f52c7e04cce09c7c45ecc89ccfd (patch) (unidiff)
tree81d48e5363a2135bb6820510ae7f5dee9999e8f2 /noncore/net/opietooth/manager/rfcpopup.cpp
parentda3c4a6231882bc56266162415a8d1a2a1bf0293 (diff)
downloadopie-c4f82599db775f52c7e04cce09c7c45ecc89ccfd.zip
opie-c4f82599db775f52c7e04cce09c7c45ecc89ccfd.tar.gz
opie-c4f82599db775f52c7e04cce09c7c45ecc89ccfd.tar.bz2
Added RFCOMM binding table functionality.
Diffstat (limited to 'noncore/net/opietooth/manager/rfcpopup.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/rfcpopup.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/net/opietooth/manager/rfcpopup.cpp b/noncore/net/opietooth/manager/rfcpopup.cpp
index 7711f0a..04da19f 100644
--- a/noncore/net/opietooth/manager/rfcpopup.cpp
+++ b/noncore/net/opietooth/manager/rfcpopup.cpp
@@ -96,25 +96,26 @@ void RfcCommPopup::slotConnect()
96void RfcCommPopup::slotDisconnect() 96void RfcCommPopup::slotDisconnect()
97{ 97{
98 owarn << "slot disconnected " << procId << oendl; 98 owarn << "slot disconnected " << procId << oendl;
99 if (procId >= 0) 99 if (procId >= 0)
100 PPPDialog::conns[procId].proc.kill(); 100 PPPDialog::conns[procId].proc.kill();
101} 101}
102 102
103 103
104void RfcCommPopup::slotBind() 104void RfcCommPopup::slotBind()
105{ 105{
106 RfcommAssignDialog rfcommAssign ( this, "RfcommAssignDialog", true, WStyle_ContextHelp ); 106 RfcommAssignDialog rfcommAssign ( this, "RfcommAssignDialog", true, WStyle_ContextHelp );
107 107
108 rfcommAssign.newDevice( m_item->mac() ); 108 rfcommAssign.newDevice( m_item->mac(),
109 m_service.protocolDescriptorList().last().port());
109 110
110 if ( QPEApplication::execDialog( &rfcommAssign ) == QDialog::Accepted ) 111 if ( QPEApplication::execDialog( &rfcommAssign ) == QDialog::Accepted )
111 { 112 {
112 rfcommAssign.saveConfig(); 113 rfcommAssign.saveConfig();
113 } 114 }
114} 115}
115 116
116 117
117void RfcCommPopup::slotBar() 118void RfcCommPopup::slotBar()
118{ 119{
119 owarn << "slotBar" << oendl; 120 owarn << "slotBar" << oendl;
120}; 121};