summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/io_irda.cpp
authorzecke <zecke>2004-10-16 21:06:28 (UTC)
committer zecke <zecke>2004-10-16 21:06:28 (UTC)
commit999a0f2d22f132005bde62558ace48a0ce8b1dcc (patch) (side-by-side diff)
tree75f528b52a8a89289925e62bbd4c48d316c8ddcf /noncore/apps/opie-console/io_irda.cpp
parente70f226f5c4c2f488f6c4406034a04e128c0ca93 (diff)
downloadopie-999a0f2d22f132005bde62558ace48a0ce8b1dcc.zip
opie-999a0f2d22f132005bde62558ace48a0ce8b1dcc.tar.gz
opie-999a0f2d22f132005bde62558ace48a0ce8b1dcc.tar.bz2
-Remove never finished classes by ibotty for the console widget
-Put setCurrent into ComboboxHelper and remove duplication from the dialogs -Remove old and unneeded debug output -IOBt, IOIrda can share the implementation for sening,recieving and supports with IOSerial
Diffstat (limited to 'noncore/apps/opie-console/io_irda.cpp') (more/less context) (ignore 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,9 +1,5 @@
#include "io_irda.h"
-/* OPIE */
-#include <opie2/odebug.h>
-using namespace Opie::Core;
-
IOIrda::IOIrda( const Profile &config ) : IOSerial( config ) {
m_attach = 0;
}
@@ -27,7 +23,7 @@ bool IOIrda::open() {
bool ret;
// irdaattach here
- m_attach = new OProcess();
+ m_attach = new Opie::Core::OProcess();
*m_attach << "irattach /dev/ttyS2 -s";
connect( m_attach, SIGNAL( processExited(Opie::Core::OProcess*) ),
@@ -37,7 +33,6 @@ bool IOIrda::open() {
ret= IOSerial::open();
} else {
// emit error!!!
- owarn << "could not attach to device" << oendl;
delete m_attach;
m_attach = 0l;
}
@@ -62,19 +57,8 @@ QString IOIrda::name() const {
return "Irda IO Layer";
}
-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;
-}