summaryrefslogtreecommitdiffstats
path: root/kdecore/kglobalaccel_mac.h
blob: 4138422566ceefaf553000aea5bbf6029c84985b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef _KGLOBALACCEL_MAC_H
#define _KGLOBALACCEL_MAC_H

#include <qwidget.h>

#include "kshortcut.h"
#include "kaccelbase.h"

class KGlobalAccelPrivate: public KAccelBase
{
public:
    KGlobalAccelPrivate()
        : KAccelBase(KAccelBase::NATIVE_KEYS)
    {}

    // reimplemented pure virtuals
    void setEnabled( bool bEnabled )
    { Q_UNUSED(bEnabled); }
    bool emitSignal( Signal signal )
    { Q_UNUSED(signal); return false; }
    bool connectKey( KAccelAction& 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( KAccelAction&, const KKeyServer::Key& key)
    { Q_UNUSED(key); return false; }
    bool disconnectKey( const KKeyServer::Key& )
    { return false; }
};

#endif // _KGLOBALACCEL_EMB_H