From 0e41f335c0db28250216a5292a2b7bcee2a1cf4a Mon Sep 17 00:00:00 2001 From: llornkcor Date: Fri, 08 Oct 2004 10:22:20 +0000 Subject: this patch will add support for QD installing directly to opie device via sync. not functioning until QD 1.7.1 released. should compile for now --- (limited to 'core/launcher/serverapp.cpp') diff --git a/core/launcher/serverapp.cpp b/core/launcher/serverapp.cpp index 66cc788..fac52a6 100644 --- a/core/launcher/serverapp.cpp +++ b/core/launcher/serverapp.cpp @@ -60,11 +60,13 @@ static int loggedin=0; QCopKeyRegister::QCopKeyRegister() : m_keyCode( 0 ) { +odebug << "KeyRegister1 " << m_keyCode << oendl; } QCopKeyRegister::QCopKeyRegister( int k, const QCString& c, const QCString& m ) :m_keyCode( k ), m_channel( c ), m_message( m ) { +odebug << "keyRegister2 " << m_keyCode << c << m << oendl; } int QCopKeyRegister::keyCode() const @@ -86,8 +88,8 @@ bool QCopKeyRegister::send() { if (m_channel.isNull() ) return false; - - QCopEnvelope( m_channel, m_message ); +qDebug("Send Message: "+m_channel+" "+m_message); + QCopEnvelope e( m_channel, m_message ); return true; } @@ -165,6 +167,7 @@ void KeyFilter::timerEvent(QTimerEvent* e) void KeyFilter::registerKey( const QCopKeyRegister& key ) { +odebug << "KeyFilter::registerKey " << key.keyCode() << key.channel() << key.message() << oendl; m_keys.insert( key.keyCode(), key ); } -- cgit v0.9.0.2