Mercurial > projects > qtd
comparison tools/duic/d/dwriteinitialization.cpp @ 84:2edf95ad41e5
fix for #6
author | eldar |
---|---|
date | Sun, 24 May 2009 20:14:50 +0000 |
parents | c64698c80409 |
children | e65f08f6262b |
comparison
equal
deleted
inserted
replaced
83:c64698c80409 | 84:2edf95ad41e5 |
---|---|
168 break; | 168 break; |
169 } | 169 } |
170 return true; | 170 return true; |
171 } | 171 } |
172 | 172 |
173 inline void openIfndef(QTextStream &str, const QString &symbol) { str << endl << QLatin1String("#ifndef ") << symbol << endl; } | 173 inline void openIfndef(QTextStream &str, const QString &symbol) { str << endl << QLatin1String("version(") << symbol << QLatin1String(") {} else {") << endl; } |
174 inline void closeIfdef(QTextStream &str, const QString &symbol) { str << QLatin1String("#endif // ") << symbol << endl << endl; } | 174 inline void closeIfdef(QTextStream &str, const QString &symbol) { str << QLatin1String("} // ") << symbol << endl << endl; } |
175 | 175 |
176 const char *accessibilityDefineC = "QT_NO_ACCESSIBILITY"; | 176 const char *accessibilityDefineC = "QT_NO_ACCESSIBILITY"; |
177 const char *toolTipDefineC = "QT_NO_TOOLTIP"; | 177 const char *toolTipDefineC = "QT_NO_TOOLTIP"; |
178 const char *whatsThisDefineC = "QT_NO_WHATSTHIS"; | 178 const char *whatsThisDefineC = "QT_NO_WHATSTHIS"; |
179 const char *statusTipDefineC = "QT_NO_STATUSTIP"; | 179 const char *statusTipDefineC = "QT_NO_STATUSTIP"; |
180 const char *shortcutDefineC = "QT_NO_SHORTCUT"; | 180 const char *shortcutDefineC = "QT_NO_SHORTCUT"; |