KDECore
kglobalaccel_mac.h
Go to the documentation of this file.00001 #ifndef _KGLOBALACCEL_MAC_H 00002 #define _KGLOBALACCEL_MAC_H 00003 00004 #include <qwidget.h> 00005 00006 #include "kshortcut.h" 00007 #include "kaccelbase.h" 00008 00009 class KGlobalAccelPrivate: public KAccelBase 00010 { 00011 public: 00012 KGlobalAccelPrivate() 00013 : KAccelBase(KAccelBase::NATIVE_KEYS) 00014 {} 00015 00016 // reimplemented pure virtuals 00017 void setEnabled( bool bEnabled ) 00018 { Q_UNUSED(bEnabled); } 00019 bool emitSignal( Signal signal ) 00020 { Q_UNUSED(signal); return false; } 00021 bool connectKey( KAccelAction& action, const KKeyServer::Key& key) 00022 { Q_UNUSED(action); Q_UNUSED(key); return false; } 00023 bool connectKey( const KKeyServer::Key& key) 00024 { Q_UNUSED(key); return false; } 00025 bool disconnectKey( KAccelAction&, const KKeyServer::Key& key) 00026 { Q_UNUSED(key); return false; } 00027 bool disconnectKey( const KKeyServer::Key& ) 00028 { return false; } 00029 }; 00030 00031 #endif // _KGLOBALACCEL_EMB_H