#include <metatranslator.h>#include <qmemarray.h>#include <qcstring.h>#include <qmap.h>#include <qstringlist.h>#include <ctype.h>Include dependency graph for numberh.cpp:

Go to the source code of this file.
Typedefs | |
| typedef QMap< QCString, MetaTranslatorMessage > | TMM |
| typedef QValueList< MetaTranslatorMessage > | TML |
Functions | |
| static bool | isDigitFriendly (int c) |
| static int | numberLength (const char *s) |
| static QCString | zeroKey (const char *key) |
| static QString | translationAttempt (const QString &oldTranslation, const char *oldSource, const char *newSource) |
| void | applyNumberHeuristic (MetaTranslator *tor, bool verbose) |
|
|
Definition at line 37 of file numberh.cpp. |
|
|
Definition at line 36 of file numberh.cpp. |
|
||||||||||||
|
Definition at line 209 of file numberh.cpp. References all, QMap< Key, T >::begin(), QValueList< T >::begin(), QMap< Key, T >::end(), QValueList< T >::end(), QMap< Key, T >::find(), MetaTranslator::insert(), QMap< Key, T >::insert(), MetaTranslator::messages(), qstrcmp(), t, translationAttempt(), u, MetaTranslatorMessage::Unfinished, and zeroKey(). Referenced by merge(). |
|
|
Definition at line 39 of file numberh.cpp. Referenced by numberLength(). |
|
|
Definition at line 44 of file numberh.cpp. References i, and isDigitFriendly(). Referenced by translationAttempt(), and zeroKey(). |
|
||||||||||||||||
|
Definition at line 89 of file numberh.cpp. References QValueList< T >::append(), FALSE, i, QString::length(), numberLength(), p, qstrlen(), TRUE, QString::truncate(), and zeroKey(). Referenced by applyNumberHeuristic(). |
|
|
Definition at line 63 of file numberh.cpp. References FALSE, i, len, numberLength(), and TRUE. Referenced by applyNumberHeuristic(), and translationAttempt(). |
1.4.2