]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/FancyLineEdit.h
On Linux show in crash message box the backtrace
[lyx.git] / src / frontends / qt4 / FancyLineEdit.h
index ec472eed8c7ee8cc3f652f91693f7d3f39025b4c..ae62c8539ed448ebb174b99d78f7a24da429d456 100644 (file)
 #ifndef FANCYLINEEDIT_H
 #define FANCYLINEEDIT_H
 
-#include <QtGui/QLineEdit>
-#include <QtGui/QAbstractButton>
+#include <QLineEdit>
+#include <QAbstractButton>
 
 namespace lyx {
 namespace frontend {
 
 class FancyLineEditPrivate;
 
+#if QT_VERSION >= 0x040600
 class IconButton: public QAbstractButton
 {
        Q_OBJECT
@@ -44,7 +45,7 @@ private:
     bool m_autoHide;
     QPixmap m_pixmap;
 };
-
+#endif
 
 /* A line edit with an embedded pixmap on one side that is connected to
  * a menu. Additionally, it can display a grayed hintText (like "Type Here to")