summaryrefslogtreecommitdiffstats
path: root/tdecore/tdeglobalaccel_mac.h
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/tdeglobalaccel_mac.h')
-rw-r--r--tdecore/tdeglobalaccel_mac.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/tdecore/tdeglobalaccel_mac.h b/tdecore/tdeglobalaccel_mac.h
new file mode 100644
index 000000000..c21533916
--- /dev/null
+++ b/tdecore/tdeglobalaccel_mac.h
@@ -0,0 +1,31 @@
+#ifndef _TDEGLOBALACCEL_MAC_H
+#define _TDEGLOBALACCEL_MAC_H
+
+#include <tqwidget.h>
+
+#include "tdeshortcut.h"
+#include "tdeaccelbase.h"
+
+class TDEGlobalAccelPrivate: public TDEAccelBase
+{
+public:
+ TDEGlobalAccelPrivate()
+ : TDEAccelBase(TDEAccelBase::NATIVE_KEYS)
+ {}
+
+ // reimplemented pure virtuals
+ void setEnabled( bool bEnabled )
+ { Q_UNUSED(bEnabled); }
+ bool emitSignal( Signal signal )
+ { Q_UNUSED(signal); return false; }
+ bool connectKey( TDEAccelAction& action, const KKeyServer::Key& key)
+ { Q_UNUSED(action); Q_UNUSED(key); return false; }
+ bool connectKey( const KKeyServer::Key& key)
+ { Q_UNUSED(key); return false; }
+ bool disconnectKey( TDEAccelAction&, const KKeyServer::Key& key)
+ { Q_UNUSED(key); return false; }
+ bool disconnectKey( const KKeyServer::Key& )
+ { return false; }
+};
+
+#endif // _TDEGLOBALACCEL_MAC_H