![]() |
Qt 6.x
The Qt SDK
|
Classes | |
| class | _stackVariable |
| class | _string |
| class | closeQtConfig |
| class | endFunctionDefinition |
| struct | EnumLookup |
| struct | FormattingTraits |
| struct | FormattingTraits< Encoding::Unicode > |
| struct | FormattingTraits< Encoding::Utf8 > |
| class | openQtConfig |
| class | qtConfig |
| class | repeat |
| struct | SignalSlot |
| class | startFunctionDefinition1 |
| class | StringViewStreamable |
Typedefs | |
| using | charliteral = _string< false > |
| using | qstring = _string< true > |
| using | stackVariable = _stackVariable< false > |
| using | stackVariableWithInitParameters = _stackVariable< true > |
Enumerations | |
| enum | : int { maxSegmentSize = 1024 } |
| enum | OverloadUse { UseOverload , UseOverloadWhenNoArguments , DontUseOverload } |
| enum class | Encoding { Utf8 , Unicode } |
| enum class | SignalSlotOption { Ambiguous = 0x1 } |
Variables | |
| static Encoding | encoding = Encoding::Utf8 |
| static Language | _language = Language::Cpp |
| QString | derefPointer |
| char | listStart |
| char | listEnd |
| QString | nullPtr |
| QString | operatorNew |
| QString | qtQualifier |
| QString | qualifier |
| QString | self |
| QString | eol |
| QString | emptyString |
| QString | cppQualifier = u"::"_s |
| QString | cppTrue = u"true"_s |
| QString | cppFalse = u"false"_s |
| using language::charliteral = typedef _string<false> |
Definition at line 110 of file language.h.
| using language::qstring = typedef _string<true> |
Definition at line 111 of file language.h.
| using language::stackVariable = typedef _stackVariable<false> |
Definition at line 173 of file language.h.
| using language::stackVariableWithInitParameters = typedef _stackVariable<true> |
Definition at line 174 of file language.h.
| anonymous enum : int |
| Enumerator | |
|---|---|
| maxSegmentSize | |
Definition at line 236 of file language.cpp.
|
strong |
| Enumerator | |
|---|---|
| Utf8 | |
| Unicode | |
Definition at line 83 of file language.h.
| Enumerator | |
|---|---|
| UseOverload | |
| UseOverloadWhenNoArguments | |
| DontUseOverload | |
Definition at line 373 of file language.cpp.
|
strong |
| Enumerator | |
|---|---|
| Ambiguous | |
Definition at line 176 of file language.h.
| void language::_formatStackVariable | ( | QTextStream & | str, |
| const char * | className, | ||
| QStringView | varName, | ||
| bool | withInitParameters | ||
| ) |
Definition at line 356 of file language.cpp.
References className, Cpp, language(), Python, and str.
Referenced by language::_stackVariable< withInitParameters >::format().
Here is the call graph for this function:
Here is the caller graph for this function:| void language::_formatString | ( | QTextStream & | str, |
| const QString & | value, | ||
| const QString & | indent, | ||
| bool | qString | ||
| ) |
Definition at line 282 of file language.cpp.
References _language, QString::cbegin(), QByteArray::cbegin(), QByteArray::cend(), Cpp, encoding, str, Unicode, and Utf8.
Referenced by language::_string< AsQString >::format().
Here is the call graph for this function:
Here is the caller graph for this function:| QString language::boolValue | ( | bool | v | ) |
Definition at line 456 of file language.cpp.
References Cpp, cppFalse, cppTrue, language(), Python, and QStringLiteral.
Here is the call graph for this function:| ConnectionSyntax language::connectionSyntax | ( | ) |
| const char * language::dockWidgetArea | ( | int | v | ) |
Definition at line 138 of file language.cpp.
References lookupEnum().
Referenced by CPP::WriteInitialization::acceptWidget().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 467 of file language.cpp.
References QStringLiteral.
Referenced by enumValue().
Here is the caller graph for this function:Definition at line 469 of file language.cpp.
References Cpp, cppQualifier, dot(), and language().
Referenced by CPP::WriteInitialization::acceptLayoutItem(), and CPP::WriteInitialization::acceptWidget().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 102 of file language.cpp.
References className, cppQualifier, language(), and Python.
Referenced by Python::WriteDeclaration::acceptUI(), and CPP::WriteInitialization::acceptWidget().
Here is the call graph for this function:
Here is the caller graph for this function:| void language::formatConnection | ( | QTextStream & | str, |
| const SignalSlot & | sender, | ||
| const SignalSlot & | receiver, | ||
| ConnectionSyntax | connectionSyntax | ||
| ) |
Definition at line 422 of file language.cpp.
References Ambiguous, connectionSyntax(), QStringView::contains(), Cpp, formatMemberFnPtrConnection(), formatStringBasedConnection(), QString::indexOf(), QStringView::isEmpty(), language(), QString::left(), MemberFunctionPtr, QStringView::mid(), language::SignalSlot::name, language::SignalSlot::options, Python, language::SignalSlot::signature, str, and StringBased.
Referenced by CPP::WriteInitialization::acceptConnection().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 184 of file language.cpp.
Referenced by formatStringSequence().
Here is the caller graph for this function:
|
static |
Definition at line 382 of file language.cpp.
References QStringView::left(), QStringView::mid(), Q_ASSERT, str, UseOverload, and UseOverloadWhenNoArguments.
Referenced by formatMemberFnPtrConnection().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 403 of file language.cpp.
References formatMemberFnPtr(), language::SignalSlot::name, str, and UseOverloadWhenNoArguments.
Referenced by formatConnection().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 209 of file language.cpp.
References str.
Referenced by formatStringSequence().
Here is the caller graph for this function:
|
static |
Definition at line 414 of file language.cpp.
References language::SignalSlot::name, language::SignalSlot::signature, and str.
Referenced by formatConnection().
Here is the caller graph for this function:
|
static |
Definition at line 256 of file language.cpp.
References formatEscapedNumber(), formatSpecialCharacter(), it, maxSegmentSize, and str.
Here is the call graph for this function:| Language language::language | ( | ) |
Definition at line 15 of file language.cpp.
References _language.
Referenced by _formatStackVariable(), CPP::WriteInitialization::acceptUI(), CPP::WriteInitialization::acceptWidget(), boolValue(), enumValue(), fixClassName(), formatConnection(), and Uic::write().
Here is the caller graph for this function:| const char * language::lookupEnum | ( | const EnumLookup(&) | array[N], |
| int | value, | ||
| int | defaultIndex = 0 |
||
| ) |
Definition at line 90 of file language.cpp.
References defaultIndex(), i, and qWarning.
Referenced by dockWidgetArea(), paletteColorRole(), sizePolicy(), and toolbarArea().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 167 of file language.h.
References str.
| QTextStream & language::operator<< | ( | QTextStream & | str, |
| const closeQtConfig & | c | ||
| ) |
Definition at line 77 of file language.cpp.
References str.
| QTextStream & language::operator<< | ( | QTextStream & | str, |
| const endFunctionDefinition & | f | ||
| ) |
Definition at line 343 of file language.cpp.
|
inline |
Definition at line 104 of file language.h.
References str.
| QTextStream & language::operator<< | ( | QTextStream & | str, |
| const openQtConfig & | c | ||
| ) |
Definition at line 71 of file language.cpp.
References str.
| QTextStream & language::operator<< | ( | QTextStream & | str, |
| const qtConfig & | c | ||
| ) |
Definition at line 65 of file language.cpp.
References str.
| QTextStream & language::operator<< | ( | QTextStream & | str, |
| const repeat & | r | ||
| ) |
Definition at line 306 of file language.cpp.
| QTextStream & language::operator<< | ( | QTextStream & | str, |
| const startFunctionDefinition1 & | f | ||
| ) |
Definition at line 322 of file language.cpp.
| const char * language::paletteColorRole | ( | int | v | ) |
Definition at line 152 of file language.cpp.
References lookupEnum().
Here is the call graph for this function:| void language::setConnectionSyntax | ( | ConnectionSyntax | cs | ) |
Definition at line 17 of file language.cpp.
References _language, Cpp, derefPointer, emptyString, encoding, eol, listEnd, listStart, nullPtr, operatorNew, Python, qtQualifier, qualifier, self, Unicode, and Utf8.
Referenced by runUic().
Here is the caller graph for this function:| const char * language::sizePolicy | ( | int | v | ) |
Definition at line 123 of file language.cpp.
References lookupEnum().
Here is the call graph for this function:| const char * language::toolbarArea | ( | int | v | ) |
Definition at line 109 of file language.cpp.
References lookupEnum().
Here is the call graph for this function:
|
static |
Definition at line 13 of file language.cpp.
Referenced by _formatString(), language(), and setLanguage().
| QString language::cppFalse = u"false"_s |
Definition at line 63 of file language.cpp.
Referenced by boolValue().
| QString language::cppQualifier = u"::"_s |
Definition at line 61 of file language.cpp.
Referenced by enumValue(), and fixClassName().
| QString language::cppTrue = u"true"_s |
Definition at line 62 of file language.cpp.
Referenced by boolValue().
| QString language::derefPointer |
Definition at line 50 of file language.cpp.
Referenced by CPP::WriteInitialization::acceptActionRef(), CPP::WriteInitialization::acceptLayoutItem(), CPP::WriteInitialization::acceptUI(), CPP::WriteInitialization::acceptWidget(), and setLanguage().
| QString language::emptyString |
Definition at line 59 of file language.cpp.
Referenced by CPP::WriteInitialization::acceptWidget(), and setLanguage().
|
static |
Definition at line 12 of file language.cpp.
Referenced by _formatString(), and setLanguage().
| QString language::eol |
Definition at line 58 of file language.cpp.
Referenced by CPP::WriteInitialization::acceptAction(), CPP::WriteInitialization::acceptActionGroup(), CPP::WriteInitialization::acceptActionRef(), CPP::WriteInitialization::acceptConnection(), CPP::WriteInitialization::acceptLayout(), CPP::WriteInitialization::acceptLayoutItem(), CPP::WriteInitialization::acceptSpacer(), CPP::WriteInitialization::acceptTabStops(), CPP::WriteInitialization::acceptUI(), CPP::WriteInitialization::acceptWidget(), setLanguage(), CPP::writeIconAddFile(), and CPP::writeIconAddPixmap().
| char language::listEnd |
Definition at line 52 of file language.cpp.
Referenced by setLanguage().
| char language::listStart |
Definition at line 51 of file language.cpp.
Referenced by setLanguage().
| QString language::nullPtr |
Definition at line 53 of file language.cpp.
Referenced by setLanguage().
| QString language::operatorNew |
Definition at line 54 of file language.cpp.
Referenced by CPP::WriteInitialization::acceptAction(), CPP::WriteInitialization::acceptActionGroup(), CPP::WriteInitialization::acceptLayout(), CPP::WriteInitialization::acceptWidget(), and setLanguage().
| QString language::qtQualifier |
Definition at line 55 of file language.cpp.
Referenced by setLanguage().
| QString language::qualifier |
Definition at line 56 of file language.cpp.
Referenced by CPP::WriteInitialization::acceptTabStops(), CPP::WriteInitialization::acceptUI(), CPP::WriteInitialization::acceptWidget(), setLanguage(), CPP::writeIconAddFile(), and CPP::writeIconAddPixmap().
| QString language::self |
Definition at line 57 of file language.cpp.
Referenced by CPP::WriteInitialization::acceptUI(), and setLanguage().