6 #ifndef BALL_VIEW_DIALOGS_EDITSINGLESHORTCUT_H 7 #define BALL_VIEW_DIALOGS_EDITSINGLESHORTCUT_H 9 #ifndef BALL_VIEW_KERNEL_PREFERENCESENTRY 13 #ifndef BALL_VIEW_KERNEL_SHORTCUTREGISTRY_H 17 #ifndef BALL_VIEW_KERNEL_MODULARWIDGET_H 21 #include <BALL/VIEW/UIC/ui_editSingleShortcut.h> 23 #include <QtGui/QDialog> 37 public Ui_EditSingleShortcutData
49 void setIndex(
const QModelIndex& index);
51 void setup(
const QString& shortcut);
54 virtual void accept();
55 virtual void reject();
58 void modeChanged_(
bool toggled);
68 void setErrorText(QString error);
71 void setShortcutText(QString new_keysequence);
74 void changeMode_(
bool mode);
76 void keyPressEvent(QKeyEvent* evt);
77 void keyReleaseEvent(QKeyEvent* evt);
79 void startRecording_();
80 void stopRecording_();
QKeySequence const & getKeySequence() const
-*- Mode: C++; tab-width: 2; -*-
QKeySequence new_sequence_