summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-09-27 17:59:15 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-09-27 17:59:15 +0900
commit5be7ad1e71445968c9e3e6e97d157545ba660213 (patch)
tree77e051f2c5231a0cd6749975460453b0683ae41a
parent144f8fe5820bab3d87f5c09c77bf3fa2274d6bfd (diff)
downloadabakus-5be7ad1e.tar.gz
abakus-5be7ad1e.zip
qt -> tqt conversion:
QT_NO_ASCII_CAST -> TQT_NO_ASCII_CAST QT_NO_STL -> TQT_NO_STL QT_NO_COMPAT -> TQT_NO_COMPAT QT_NO_TRANSLATION -> TQT_NO_TRANSLATION Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--src/editor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/editor.cpp b/src/editor.cpp
index b926e10..82fcbea 100644
--- a/src/editor.cpp
+++ b/src/editor.cpp
@@ -184,12 +184,12 @@ int EditorHighlighter::highlightParagraph ( const TQString & text, int )
case Token::Identifier:
{
color = editor->highlightColor( Editor::Variable );
-#ifndef QT_NO_STL
+#ifndef TQT_NO_STL
if( binary_search( fnames.constBegin(), fnames.constEnd(), text) ) {
-#else // QT_NO_STL
+#else // TQT_NO_STL
#warning "Not using STL libraries; performance may be degraded..."
if( fnames.find( text) != fnames.end()) {
-#endif // QT_NO_STL
+#endif // TQT_NO_STL
color = editor->highlightColor( Editor::FunctionName );
}
}