]> 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 b53220c16124c579397bd75414af02fcd09dd603..1ab2376bfad97c0669fa8efb3d854d0c963eb941 100644 (file)
@@ -88,6 +88,12 @@ private Q_SLOTS:
        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:
        ///
@@ -128,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