]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiPrefs.h
Not sure why "notr = 'true'" got in there.
[lyx.git] / src / frontends / qt4 / GuiPrefs.h
index 9f6c35e712c2924a8c0d3e1e51c12a71f2c8ed26..612ffe6bd472c98420b41f0cfa2188c1d510fa90 100644 (file)
@@ -334,6 +334,7 @@ private Q_SLOTS:
        void removeConverter();
        void changeConverter();
        void on_cacheCB_stateChanged(int state);
+       void on_needauthForbiddenCB_toggled(bool);
 
 private:
        void updateButtons();
@@ -491,6 +492,12 @@ private:
        void setItemType(QTreeWidgetItem * item, KeyMap::ItemType tag);
        ///
        static KeyMap::ItemType itemType(QTreeWidgetItem & item);
+       /// some items need to be always hidden, for instance empty rebound
+       /// system keys
+       static bool isAlwaysHidden(QTreeWidgetItem & item);
+       /// unhide an empty system binding that may have been hidden
+       /// returns either null or the unhidden shortcut
+       void unhideEmpty(QString const & lfun, bool select);
        ///
        QTreeWidgetItem * insertShortcutItem(FuncRequest const & lfun,
                KeySequence const & shortcut, KeyMap::ItemType tag);