summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/io_irda.cpp
Side-by-side diff
Diffstat (limited to 'noncore/apps/opie-console/io_irda.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-console/io_irda.cpp20
1 files changed, 2 insertions, 18 deletions
diff --git a/noncore/apps/opie-console/io_irda.cpp b/noncore/apps/opie-console/io_irda.cpp
index 38542f5..9d27c85 100644
--- a/noncore/apps/opie-console/io_irda.cpp
+++ b/noncore/apps/opie-console/io_irda.cpp
@@ -1,8 +1,4 @@
#include "io_irda.h"
-/* OPIE */
-#include <opie2/odebug.h>
-using namespace Opie::Core;
-
IOIrda::IOIrda( const Profile &config ) : IOSerial( config ) {
m_attach = 0;
@@ -28,5 +24,5 @@ bool IOIrda::open() {
// irdaattach here
- m_attach = new OProcess();
+ m_attach = new Opie::Core::OProcess();
*m_attach << "irattach /dev/ttyS2 -s";
@@ -38,5 +34,4 @@ bool IOIrda::open() {
} else {
// emit error!!!
- owarn << "could not attach to device" << oendl;
delete m_attach;
m_attach = 0l;
@@ -63,18 +58,7 @@ QString IOIrda::name() const {
}
-void IOIrda::slotExited(OProcess* proc ){
+void IOIrda::slotExited(Opie::Core::OProcess* proc ){
close();
delete proc;
}
-QBitArray IOIrda::supports()const {
- return QBitArray( 3 );
-}
-
-bool IOIrda::isConnected() {
- return false;
-}
-
-void IOIrda::send(const QByteArray &data) {
- odebug << "Please overload me..." << oendl;
-}