KDEUI
kglobalaccel_win.cpp
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #include "kglobalaccel_win.h"
00021
00022 #include <config.h>
00023
00024 #include <QtGui/QWidgetList>
00025 #ifdef Q_WS_WIN
00026
00027 #include "kglobalaccel.h"
00028
00029 #include <kapplication.h>
00030 #include <kdebug.h>
00031
00032 KGlobalAccelImpl::KGlobalAccelImpl(KdedGlobalAccel* owner)
00033 : m_owner(owner)
00034 {
00035 }
00036
00037 bool KGlobalAccelImpl::grabKey( int keyQt, bool grab )
00038 {
00039 if( !keyQt ) {
00040 kWarning(125) << "Tried to grab key with null code.";
00041 return false;
00042 }
00043
00044
00045
00046 return false;
00047 }
00048
00049 void KGlobalAccelImpl::setEnabled( bool enable )
00050 {
00051 #if 0
00052 if ( enable )
00053 kapp->installWinEventFilter( this );
00054 else
00055 kapp->removeWinEventFilter( this );
00056 #endif
00057 }
00058
00059 #include "kglobalaccel_win.moc"
00060
00061 #endif // Q_WS_WIN