]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiCompleter.h
do what the FIXME suggested
[lyx.git] / src / frontends / qt4 / GuiCompleter.h
index 36d3d14597a2f9305db514f6c6f545dee3a26998..1ab2376bfad97c0669fa8efb3d854d0c963eb941 100644 (file)
@@ -86,6 +86,14 @@ private Q_SLOTS:
        void popupActivated(const QString & completion);
        ///
        void popupHighlighted(const QString & completion);
+       ///
+       void updateAvailability();
+       /// the asynchronous part of updatePopup(cur)
+       void asyncUpdatePopup();
+       /// the asynchronous part of hidePopup(cur)
+       void asyncHidePopup();
+       /// the asynchronous part of hideInline(cur)
+       void asyncHideInline();
        
 private:
        ///
@@ -126,6 +134,11 @@ private:
        /// in addition to know whether the completion is to be kept visible.
        bool inlineVisible_;
        ///
+       bool popupVisible_;
+       /// the model reset is asynchronous in hidePopup/Inline. So let's mark
+       /// a coming reset here by setting it to false.
+       bool modelActive_;
+       ///
        RtlItemDelegate * rtlItemDelegate_;
 }; // GuiCompleter