Diffstat (limited to 'noncore/apps/opie-console/io_bt.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/io_bt.cpp | 21 |
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 @@ -3,6 +3,2 @@ -/* OPIE */ -#include <opie2/odebug.h> -using namespace Opie::Core; - IOBt::IOBt( const Profile &config ) : IOSerial( config ) { @@ -37,3 +33,3 @@ bool IOBt::open() { // hciattach here - m_attach = new OProcess(); + m_attach = new Opie::Core::OProcess(); *m_attach << "hciattach /dev/ttyS2 any 57600"; @@ -48,3 +44,2 @@ bool IOBt::open() { } else { - owarn << "could not attach to device" << oendl; delete m_attach; @@ -80,3 +75,3 @@ QString IOBt::name() const { -void IOBt::slotExited( OProcess* proc ){ +void IOBt::slotExited( Opie::Core::OProcess* proc ){ close(); @@ -84,13 +79 @@ void IOBt::slotExited( OProcess* proc ){ } - -QBitArray IOBt::supports() const { - return QBitArray( 3 ); -} - -bool IOBt::isConnected() { - return false; -} - -void IOBt::send(const QByteArray &data) { - odebug << "Please overload me..." << oendl; -} |