]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiCompleter.h
Use QMessageBox for toggleWarning if possible
[lyx.git] / src / frontends / qt4 / GuiCompleter.h
index dcc5b04038b1fdeea7bbb0bd615e12a229c0dc38..ea22cadd1e67aea3765fd8a223650d19b2e7ece7 100644 (file)
 #ifndef GUICOMPLETER_H
 #define GUICOMPLETER_H
 
-#include "frontends/WorkArea.h"
-
 #include "DocIterator.h"
-#include "qt_helpers.h"
 #include "support/docstring.h"
 
 #include <QCompleter>
@@ -55,7 +52,7 @@ public:
        void activate();
        /// Do a completion as far as it is unique, but at least one character.
        void tab();
-       
+
        /// Update the visibility of the popup and the inline completion.
        /// This method might set the update flags of the cursor to request
        /// a redraw.
@@ -69,7 +66,7 @@ public:
        docstring longestUniqueCompletion() const;
        ///
        bool uniqueCompletionAvailable() const;
-       
+
 public Q_SLOTS:
        /// Show the popup.
        void showPopup();
@@ -94,7 +91,7 @@ private Q_SLOTS:
        void asyncHidePopup();
        /// the asynchronous part of hideInline(cur)
        void asyncHideInline();
-       
+
 private:
        ///
        void setCurrentCompletion(QString const & s);