]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/CustomizedWidgets.h
Compil fix.
[lyx.git] / src / frontends / qt4 / CustomizedWidgets.h
index 495f56a3d1eefa61a35a4280bf731f9f1df3ecdf..6b3226c3e4f20821ca0d6ec6a6879bd057a5a7d8 100644 (file)
@@ -19,6 +19,9 @@
 class QEvent;
 class QKeyEvent;
 
+namespace lyx {
+namespace frontend {
+
 /**
  * A lineedit for inputting shortcuts
  */
@@ -38,20 +41,7 @@ private:
        bool has_cursor_;
 };
 
-
-/**
-  * A lineedit that displays a hint message when there is no
-  * text and not under focus.
-  */
-class SearchLineEdit : public QLineEdit {
-       Q_OBJECT
-public:
-       QString const hintMessage() const;
-       SearchLineEdit(QWidget * parent) : QLineEdit(parent) {}
-protected Q_SLOTS:
-       void focusInEvent(QFocusEvent * e);
-       void focusOutEvent(QFocusEvent * e);
-};
-
+} // namespace frontend
+} // namespace lyx
 
 #endif // CUSTOMIZEDWIDGETS_H