summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/io_bt.cpp
Side-by-side diff
Diffstat (limited to 'noncore/apps/opie-console/io_bt.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-console/io_bt.cpp21
1 files changed, 2 insertions, 19 deletions
diff --git a/noncore/apps/opie-console/io_bt.cpp b/noncore/apps/opie-console/io_bt.cpp
index c102427..a06b0c4 100644
--- a/noncore/apps/opie-console/io_bt.cpp
+++ b/noncore/apps/opie-console/io_bt.cpp
@@ -2,8 +2,4 @@
#include "io_bt.h"
-/* OPIE */
-#include <opie2/odebug.h>
-using namespace Opie::Core;
-
IOBt::IOBt( const Profile &config ) : IOSerial( config ) {
m_attach = 0;
@@ -36,5 +32,5 @@ bool IOBt::open() {
// now it should also be checked, if there is a connection to the device with that mac allready
// hciattach here
- m_attach = new OProcess();
+ m_attach = new Opie::Core::OProcess();
*m_attach << "hciattach /dev/ttyS2 any 57600";
@@ -47,5 +43,4 @@ bool IOBt::open() {
ret = IOSerial::open();
} else {
- owarn << "could not attach to device" << oendl;
delete m_attach;
m_attach = 0;
@@ -79,18 +74,6 @@ QString IOBt::name() const {
}
-void IOBt::slotExited( OProcess* proc ){
+void IOBt::slotExited( Opie::Core::OProcess* proc ){
close();
delete proc;
}
-
-QBitArray IOBt::supports() const {
- return QBitArray( 3 );
-}
-
-bool IOBt::isConnected() {
- return false;
-}
-
-void IOBt::send(const QByteArray &data) {
- odebug << "Please overload me..." << oendl;
-}