]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiSelectionManager.h
Use <cstdint> instead of <boost/cstdint.hpp>
[lyx.git] / src / frontends / qt4 / GuiSelectionManager.h
index 68339ff1620686d0d147039416575b13e77cf972..9875396864da53701896d58cc226f99cd6cdeceb 100644 (file)
@@ -48,7 +48,7 @@ public:
                                                QPushButton * delPB,
                                                QPushButton * upPB,
                                                QPushButton * downPB,
-                                               QAbstractListModel * availableModel,
+                                               QAbstractItemModel * availableModel,
                                                QAbstractItemModel * selectedModel,
                                                int const main_sel_col = 0);
        /// Sets the state of the various push buttons, depending upon the
@@ -105,7 +105,7 @@ protected:
        ///
        QPushButton * downPB;
        ///
-       QAbstractListModel * availableModel;
+       QAbstractItemModel * availableModel;
        ///
        QAbstractItemModel * selectedModel;
 
@@ -132,6 +132,8 @@ protected Q_SLOTS:
        void availableLV_doubleClicked(const QModelIndex &);
        ///
        bool eventFilter(QObject *, QEvent *);
+       ///
+       void updateButtons();
 
 private:
        ///