summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/serverapp.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/launcher/serverapp.cpp b/core/launcher/serverapp.cpp
index fac52a6..64c97d4 100644
--- a/core/launcher/serverapp.cpp
+++ b/core/launcher/serverapp.cpp
@@ -51,31 +51,31 @@ using namespace Opie::Core;
#include <process.h>
#else
#include <unistd.h>
#endif
#include <stdlib.h>
static ServerApplication *serverApp = 0;
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
{
return m_keyCode;
}
QCString QCopKeyRegister::channel() const
{
return m_channel;
}
@@ -158,25 +158,25 @@ void KeyFilter::timerEvent(QTimerEvent* e)
killTimer(held_tid);
// button held
if ( heldButton ) {
emit activate(heldButton, TRUE);
heldButton = 0;
}
held_tid = 0;
}
}
void KeyFilter::registerKey( const QCopKeyRegister& key )
{
-odebug << "KeyFilter::registerKey " << key.keyCode() << key.channel() << key.message() << oendl;
+
m_keys.insert( key.keyCode(), key );
}
void KeyFilter::unregisterKey( const QCopKeyRegister& key )
{
m_keys.remove( key.keyCode() );
}
bool KeyFilter::keyRegistered( int key )
{
/*
* Check if we've a key registered