summaryrefslogtreecommitdiffstats
path: root/krusader/Dialogs/krkeydialog.h
blob: 3731ce5fa6631e52fa8f5350e46fa98b8aa6af4f (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
32
33
34
35
36
37
//
// C++ Interface: krkeydialog
//
// Description: 
//
//
// Author: Jonas Bähr <http://jonas-baehr.de/>, (C) 2006
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef KRKEYDIALOG_H
#define KRKEYDIALOG_H

#include <kkeydialog.h>

/**
 * @short KDE's KKeyDialog extended by the ability to export/import shortcuts
 * @author Jonas Bähr
 */
class KrKeyDialog : protected KKeyDialog
{
Q_OBJECT
public:
    KrKeyDialog( QWidget* parent = 0 );
    ~KrKeyDialog();

private slots:
    void slotImportShortcuts();
    void slotExportShortcuts();

private:
    void importLegacyShortcuts( const QString& file );
    KKeyChooser* _chooser;
};

#endif