![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <validator.h>
Classes | |
struct | Checks |
Public Types | |
enum | ErrorType { SuperfluousAccelerator , MissingAccelerator , SurroundingWhitespaceDiffers , PunctuationDiffers , IgnoredPhrasebook , PlaceMarkersDiffer , NumerusMarkerMissing } |
enum | Ending { End_None , End_FullStop , End_Interrobang , End_Colon , End_Ellipsis } |
Public Types inherited from TreeWalker | |
using | DomWidgets = QList<DomWidget *> |
Static Public Member Functions | |
static Validator | fromSource (const QString &source, const Checks &checks, const QLocale::Language &locale, const QHash< QString, QList< Phrase * > > &phrases) |
Definition at line 17 of file validator.h.
enum Validator::Ending |
Enumerator | |
---|---|
End_None | |
End_FullStop | |
End_Interrobang | |
End_Colon | |
End_Ellipsis |
Definition at line 43 of file validator.h.
enum Validator::ErrorType |
Enumerator | |
---|---|
SuperfluousAccelerator | |
MissingAccelerator | |
SurroundingWhitespaceDiffers | |
PunctuationDiffers | |
IgnoredPhrasebook | |
PlaceMarkersDiffer | |
NumerusMarkerMissing |
Definition at line 33 of file validator.h.
QT_BEGIN_NAMESPACE Validator::Validator | ( | Uic * | uic | ) |
Definition at line 11 of file validator.cpp.
Referenced by Uic::write().
|
inline |
Definition at line 23 of file projectdescriptionreader.cpp.
References Validator().
Referenced by Validator().
|
inline |
Definition at line 23 of file projectdescriptionreader.cpp.
Reimplemented from TreeWalker.
Definition at line 49 of file validator.cpp.
References TreeWalker::acceptAction(), and Driver::findOrInsertAction().
|
overridevirtual |
Reimplemented from TreeWalker.
Definition at line 42 of file validator.cpp.
References TreeWalker::acceptActionGroup(), and Driver::findOrInsertActionGroup().
Reimplemented from TreeWalker.
Definition at line 35 of file validator.cpp.
References TreeWalker::acceptLayout(), and Driver::findOrInsertLayout().
|
overridevirtual |
Reimplemented from TreeWalker.
Definition at line 28 of file validator.cpp.
References TreeWalker::acceptLayoutItem(), and Driver::findOrInsertLayoutItem().
Reimplemented from TreeWalker.
Definition at line 16 of file validator.cpp.
References TreeWalker::acceptUI().
Referenced by Uic::write().
Reimplemented from TreeWalker.
Definition at line 21 of file validator.cpp.
References TreeWalker::acceptWidget(), and Driver::findOrInsertWidget().
|
static |
Definition at line 133 of file validator.cpp.
References Validator::Checks::phraseMatch, and Validator::Checks::surroundingWhiteSpace.
|
inline |
Definition at line 28 of file projectdescriptionreader.cpp.
|
inline |
Definition at line 28 of file projectdescriptionreader.cpp.
QMap< Validator::ErrorType, QString > Validator::validate | ( | QStringList | translations, |
const TranslatorMessage & | msg, | ||
const QLocale::Language & | locale, | ||
QList< bool > | countRefNeeds ) |
Definition at line 165 of file validator.cpp.