]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt4/GuiCompleter.h
Add constness in several places.
[features.git] / src / frontends / qt4 / GuiCompleter.h
index 5900f7c08c4996538803aaa9977ece688af5e686..5e96ac3c68a21bb0e2b374b148e0b8d2194c9760 100644 (file)
@@ -101,21 +101,21 @@ private:
        ///
        void setCurrentCompletion(QString const & s);
        ///
-       void showPopup(Cursor & cur);
+       void showPopup(Cursor const & cur);
        ///
-       void showInline(Cursor & cur);
+       void showInline(Cursor const & cur);
        ///
        void hidePopup(Cursor & cur);
        ///
-       void hideInline(Cursor & cur);
+       void hideInline(Cursor const & cur);
        ///
-       void updatePopup(Cursor & cur);
+       void updatePopup(Cursor const & cur);
        ///
-       void updateInline(Cursor & cur, QString const & completion);
+       void updateInline(Cursor const & cur, QString const & completion);
        ///
-       void updatePrefix(Cursor & cur);
+       void updatePrefix(Cursor const & cur);
        ///
-       void updateModel(Cursor & cur, bool popupUpdate, bool inlineUpdate);
+       void updateModel(Cursor const & cur, bool popupUpdate, bool inlineUpdate);
        ///
        bool eventFilter(QObject * watched, QEvent * event);