summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth
Side-by-side diff
Diffstat (limited to 'noncore/net/opietooth') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/lib/startdunconnection.cpp8
-rw-r--r--noncore/net/opietooth/lib/startpanconnection.cpp16
-rw-r--r--noncore/net/opietooth/manager/bluebase.cpp32
-rw-r--r--noncore/net/opietooth/manager/obexdialog.cpp2
-rw-r--r--noncore/net/opietooth/manager/pppdialog.cpp6
-rw-r--r--noncore/net/opietooth/manager/scandialog.cpp4
6 files changed, 34 insertions, 34 deletions
diff --git a/noncore/net/opietooth/lib/startdunconnection.cpp b/noncore/net/opietooth/lib/startdunconnection.cpp
index 6b6d247..c3850eb 100644
--- a/noncore/net/opietooth/lib/startdunconnection.cpp
+++ b/noncore/net/opietooth/lib/startdunconnection.cpp
@@ -39,10 +39,10 @@ void StartDunConnection::start() {
m_dunConnect = new OProcess();
*m_dunConnect << "dund" << "--listen" << "--connect" << m_mac;
- connect( m_dunConnect, SIGNAL( processExited( OProcess* ) ) ,
- this, SLOT( slotExited( OProcess* ) ) );
- connect( m_dunConnect, SIGNAL( receivedStdout( OProcess*, char*, int ) ),
- this, SLOT( slotStdOut( OProcess*, char*, int ) ) );
+ connect( m_dunConnect, SIGNAL( processExited(OProcess*) ) ,
+ this, SLOT( slotExited(OProcess*) ) );
+ connect( m_dunConnect, SIGNAL( receivedStdout(OProcess*,char*,int) ),
+ this, SLOT( slotStdOut(OProcess*,char*,int) ) );
if (!m_dunConnect->start( OProcess::NotifyOnExit, OProcess::AllOutput) ) {
qWarning( "could not start" );
delete m_dunConnect;
diff --git a/noncore/net/opietooth/lib/startpanconnection.cpp b/noncore/net/opietooth/lib/startpanconnection.cpp
index 6e0ab7e..a42b407 100644
--- a/noncore/net/opietooth/lib/startpanconnection.cpp
+++ b/noncore/net/opietooth/lib/startpanconnection.cpp
@@ -40,10 +40,10 @@ void StartPanConnection::start() {
qDebug( "IM START " + m_mac );
*m_panConnect << "pand" << "--connect" << m_mac;
- connect( m_panConnect, SIGNAL( processExited( OProcess* ) ) ,
- this, SLOT( slotExited( OProcess* ) ) );
- connect( m_panConnect, SIGNAL( receivedStdout( OProcess*, char*, int ) ),
- this, SLOT( slotStdOut( OProcess*, char*, int ) ) );
+ connect( m_panConnect, SIGNAL( processExited(OProcess*) ) ,
+ this, SLOT( slotExited(OProcess*) ) );
+ connect( m_panConnect, SIGNAL( receivedStdout(OProcess*,char*,int) ),
+ this, SLOT( slotStdOut(OProcess*,char*,int) ) );
if (!m_panConnect->start( OProcess::NotifyOnExit, OProcess::AllOutput) ) {
qWarning( "could not start" );
delete m_panConnect;
@@ -70,10 +70,10 @@ void StartPanConnection::stop() {
*m_panConnect << "pand" << "--kill" << m_mac;
- connect( m_panConnect, SIGNAL( processExited( OProcess* ) ) ,
- this, SLOT( slotExited( OProcess* ) ) );
- connect( m_panConnect, SIGNAL( receivedStdout( OProcess*, char*, int ) ),
- this, SLOT( slotStdOut( OProcess*, char*, int ) ) );
+ connect( m_panConnect, SIGNAL( processExited(OProcess*) ) ,
+ this, SLOT( slotExited(OProcess*) ) );
+ connect( m_panConnect, SIGNAL( receivedStdout(OProcess*,char*,int) ),
+ this, SLOT( slotStdOut(OProcess*,char*,int) ) );
if (!m_panConnect->start( OProcess::NotifyOnExit, OProcess::AllOutput) ) {
qWarning( "could not stop" );
delete m_panConnect;
diff --git a/noncore/net/opietooth/manager/bluebase.cpp b/noncore/net/opietooth/manager/bluebase.cpp
index 0ea45d2..29030ab 100644
--- a/noncore/net/opietooth/manager/bluebase.cpp
+++ b/noncore/net/opietooth/manager/bluebase.cpp
@@ -65,20 +65,20 @@ BlueBase::BlueBase( QWidget* parent, const char* name, WFlags fl )
connect( rfcommBindButton, SIGNAL( clicked() ), this, SLOT( rfcommDialog() ) );
// not good since lib is async
- // connect( ListView2, SIGNAL( expanded ( QListViewItem* ) ),
- // this, SLOT( addServicesToDevice( QListViewItem * ) ) );
- connect( ListView2, SIGNAL( clicked( QListViewItem* )),
- this, SLOT( startServiceActionClicked( QListViewItem* ) ) );
- connect( ListView2, SIGNAL( rightButtonClicked( QListViewItem *, const QPoint &, int ) ),
- this, SLOT(startServiceActionHold( QListViewItem *, const QPoint &, int) ) );
- connect( m_localDevice , SIGNAL( foundServices( const QString& , Services::ValueList ) ),
- this, SLOT( addServicesToDevice( const QString& , Services::ValueList ) ) );
- connect( m_localDevice, SIGNAL( available( const QString&, bool ) ),
- this, SLOT( deviceActive( const QString& , bool ) ) );
- connect( m_localDevice, SIGNAL( connections( ConnectionState::ValueList ) ),
- this, SLOT( addConnectedDevices( ConnectionState::ValueList ) ) );
- connect( m_localDevice, SIGNAL( signalStrength( const QString&, const QString& ) ),
- this, SLOT( addSignalStrength( const QString&, const QString& ) ) );
+ // connect( ListView2, SIGNAL( expanded(QListViewItem*) ),
+ // this, SLOT( addServicesToDevice(QListViewItem*) ) );
+ connect( ListView2, SIGNAL( clicked(QListViewItem*)),
+ this, SLOT( startServiceActionClicked(QListViewItem*) ) );
+ connect( ListView2, SIGNAL( rightButtonClicked(QListViewItem*,const QPoint&,int) ),
+ this, SLOT(startServiceActionHold(QListViewItem*,const QPoint&,int) ) );
+ connect( m_localDevice , SIGNAL( foundServices(const QString&,Services::ValueList) ),
+ this, SLOT( addServicesToDevice(const QString&,Services::ValueList) ) );
+ connect( m_localDevice, SIGNAL( available(const QString&,bool) ),
+ this, SLOT( deviceActive(const QString&,bool) ) );
+ connect( m_localDevice, SIGNAL( connections(ConnectionState::ValueList) ),
+ this, SLOT( addConnectedDevices(ConnectionState::ValueList) ) );
+ connect( m_localDevice, SIGNAL( signalStrength(const QString&,const QString&) ),
+ this, SLOT( addSignalStrength(const QString&,const QString&) ) );
// let hold be rightButtonClicked()
@@ -637,8 +637,8 @@ void BlueBase::startScan()
{
ScanDialog *scan = new ScanDialog( this, "ScanDialog",
true, WDestructiveClose );
- QObject::connect( scan, SIGNAL( selectedDevices( const QValueList<RemoteDevice>& ) ),
- this, SLOT( addSearchedDevices( const QValueList<RemoteDevice>& ) ) );
+ QObject::connect( scan, SIGNAL( selectedDevices(const QValueList<RemoteDevice>&) ),
+ this, SLOT( addSearchedDevices(const QValueList<RemoteDevice>&) ) );
QPEApplication::showDialog( scan );
}
diff --git a/noncore/net/opietooth/manager/obexdialog.cpp b/noncore/net/opietooth/manager/obexdialog.cpp
index 15973d4..46a0e3d 100644
--- a/noncore/net/opietooth/manager/obexdialog.cpp
+++ b/noncore/net/opietooth/manager/obexdialog.cpp
@@ -45,7 +45,7 @@ ObexDialog::ObexDialog( QWidget* parent, const char* name, bool modal, WFlags f
layout->addWidget(chNameLine);
layout->addWidget(sendButton);
- connect( sendButton, SIGNAL( clicked() ), this, SLOT( sendData() ) );
+ connect( sendButton, SIGNAL( clicked() ), this, SLOT( sendData() ) );
}
diff --git a/noncore/net/opietooth/manager/pppdialog.cpp b/noncore/net/opietooth/manager/pppdialog.cpp
index 1f347ce..4e58552 100644
--- a/noncore/net/opietooth/manager/pppdialog.cpp
+++ b/noncore/net/opietooth/manager/pppdialog.cpp
@@ -39,7 +39,7 @@ PPPDialog::PPPDialog( QWidget* parent, const char* name, bool modal, WFlags fl,
layout->addWidget(outPut);
layout->addWidget(connectButton);
- connect( connectButton, SIGNAL( clicked() ), this, SLOT( connectToDevice() ) );
+ connect( connectButton, SIGNAL( clicked() ), this, SLOT( connectToDevice() ) );
}
@@ -52,8 +52,8 @@ void PPPDialog::connectToDevice() {
QString connectScript = "/etc/ppp/peers/" + cmdLine->text();
OProcess* pppDial = new OProcess();
*pppDial << "pppd" << m_device << "call" << connectScript;
- connect( pppDial, SIGNAL(receivedStdout(OProcess*, char*, int ) ),
- this, SLOT(fillOutPut(OProcess*, char*, int ) ) );
+ connect( pppDial, SIGNAL(receivedStdout(OProcess*,char*,int) ),
+ this, SLOT(fillOutPut(OProcess*,char*,int) ) );
if (!pppDial->start(OProcess::DontCare, OProcess::AllOutput) ) {
qWarning("could not start");
delete pppDial;
diff --git a/noncore/net/opietooth/manager/scandialog.cpp b/noncore/net/opietooth/manager/scandialog.cpp
index de4f742..c8ea3e3 100644
--- a/noncore/net/opietooth/manager/scandialog.cpp
+++ b/noncore/net/opietooth/manager/scandialog.cpp
@@ -66,8 +66,8 @@ namespace OpieTooth {
localDevice = new Manager( "hci0" );
connect( StartStopButton, SIGNAL( clicked() ), this, SLOT( startSearch() ) );
- connect( localDevice, SIGNAL( foundDevices( const QString& , RemoteDevice::ValueList ) ),
- this, SLOT( fillList( const QString& , RemoteDevice::ValueList ) ) ) ;
+ connect( localDevice, SIGNAL( foundDevices(const QString&,RemoteDevice::ValueList) ),
+ this, SLOT( fillList(const QString&,RemoteDevice::ValueList) ) ) ;
progressStat = 0;
m_search = false;