~ubuntu-branches/ubuntu/hoary/kdemultimedia/hoary

« back to all changes in this revision

Viewing changes to noatun/noatun/modules/keyz/keyz.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Schulze
  • Date: 2003-01-22 15:00:51 UTC
  • Revision ID: james.westby@ubuntu.com-20030122150051-uihwkdoxf15mi1tn
Tags: upstream-2.2.2
ImportĀ upstreamĀ versionĀ 2.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef KEYZ_H
 
2
#define KEYZ_H
 
3
 
 
4
#include <noatunpref.h>
 
5
#include <plugin.h>
 
6
 
 
7
class Keyz : public QObject, public Plugin
 
8
{
 
9
        Q_OBJECT
 
10
        NOATUNPLUGIND;
 
11
 
 
12
public:
 
13
        Keyz();
 
14
        ~Keyz();
 
15
 
 
16
        static KGlobalAccel *accel() { return s_accel; }
 
17
 
 
18
public slots:
 
19
        void slotVolumeUp();
 
20
        void slotVolumeDown();
 
21
    
 
22
        void slotForward();
 
23
        void slotBackward();
 
24
    
 
25
private:
 
26
        static KGlobalAccel *s_accel;
 
27
};
 
28
 
 
29
 
 
30
class KeyzPrefs : public CModule
 
31
{
 
32
        Q_OBJECT
 
33
 
 
34
public:
 
35
        KeyzPrefs( QObject *parent );
 
36
        virtual void save();
 
37
 
 
38
private:
 
39
        KKeyEntryMap m_keys;
 
40
 
 
41
};
 
42
 
 
43
#endif // KEYZ_H