26 #if ! defined (octave_gui_preferences_h)
27 #define octave_gui_preferences_h 1
29 #include <QStringList>
39 gui_pref (
const QString& key_arg,
const QVariant& def_arg,
40 const bool ignore_arg =
false)
65 sc_pref (
const QString& key_arg, Qt::Key def_arg)
66 :
key (key_arg),
def (static_cast<unsigned int> (def_arg)),
67 def_std (QKeySequence::UnknownKey)
70 sc_pref (
const QString& key_arg,
unsigned int def_arg)
71 :
key (key_arg),
def (def_arg),
def_std (QKeySequence::UnknownKey)
74 sc_pref (
const QString& key_arg, QKeySequence::StandardKey def_std_arg)
87 const unsigned int def;
const QString sc_group("shortcuts/")
gui_pref(const QString &key_arg, const QVariant &def_arg, const bool ignore_arg=false)
gui_pref(const gui_pref &)=delete
gui_pref & operator=(const gui_pref &)=delete
sc_pref(const QString &key_arg, QKeySequence::StandardKey def_std_arg)
const QKeySequence::StandardKey def_std
sc_pref(const QString &key_arg, unsigned int def_arg)
sc_pref(const QString &key_arg, Qt::Key def_arg)
sc_pref(const sc_pref &)=delete
sc_pref & operator=(const sc_pref &)=delete