+2002-10-20 Dekel Tsur <dekelts@tau.ac.il>
+
+ * several files: Use QT_VERSION >= 300 instead of >= 0x030000
+
2002-10-20 John Levon <levon@movementarian.org>
* ui/QDelimiterDialog.ui: remove two huge XPMs that
encoding = encodings.symbol_encoding();
QString str;
-#if QT_VERSION >= 0x030000
+#if QT_VERSION >= 300
str.setLength(ls);
for (size_t i = 0; i < ls; ++i)
str[i] = QChar(encoding->ucs(s[i]));
if (f.realShape() != LyXFont::SMALLCAPS_SHAPE) {
qp_->setFont(fontloader.get(f));
-#if QT_VERSION >= 0x030000
+#if QT_VERSION >= 300
// We need to draw the text as LTR as we use our own bidi
// code.
qp_->drawText(x, y, str, -1, QPainter::LTR);
#include "BufferView.h"
#include <qglobal.h>
-#if QT_VERSION < 0x030000
+#if QT_VERSION < 300
#include "support/lstrings.h"
#endif
if (!lyxrc.use_gui)
return false;
-#if QT_VERSION >= 0x030000
+#if QT_VERSION >= 300
return getfontinfo(f)->font.exactMatch();
#else
string tmp;
encoding = encodings.symbol_encoding();
QString str;
-#if QT_VERSION >= 0x030000
+#if QT_VERSION >= 300
str.setLength(ls);
for (size_t i = 0; i < ls; ++i)
str[i] = QChar(encoding->ucs(s[i]));