Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
js_resources.h File Reference

(813d9ae984a99e739b99cf694a9d5b24d0a6b7a7)

+ Include dependency graph for js_resources.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum class  JSMessage {
  kAlert = 1 , kParamError , kInvalidInputError , kParamTooLongError ,
  kParseDateError , kRangeBetweenError , kRangeGreaterError , kRangeLessError ,
  kNotSupportedError , kBusyError , kDuplicateEventError , kSecondParamNotDateError ,
  kSecondParamInvalidDateError , kGlobalNotFoundError , kReadOnlyError , kTypeError ,
  kValueError , kPermissionError , kBadObjectError , kObjectTypeError ,
  kUnknownProperty , kInvalidSetError , kUserGestureRequiredError , kTooManyOccurrences ,
  kUnknownMethod , kWouldBeCyclic
}
 

Functions

WideString JSGetStringFromID (JSMessage msg)
 
WideString JSFormatErrorString (const char *class_name, const char *property_name, const WideString &details)
 

Enumeration Type Documentation

◆ JSMessage

enum class JSMessage
strong
Enumerator
kAlert 
kParamError 
kInvalidInputError 
kParamTooLongError 
kParseDateError 
kRangeBetweenError 
kRangeGreaterError 
kRangeLessError 
kNotSupportedError 
kBusyError 
kDuplicateEventError 
kSecondParamNotDateError 
kSecondParamInvalidDateError 
kGlobalNotFoundError 
kReadOnlyError 
kTypeError 
kValueError 
kPermissionError 
kBadObjectError 
kObjectTypeError 
kUnknownProperty 
kInvalidSetError 
kUserGestureRequiredError 
kTooManyOccurrences 
kUnknownMethod 
kWouldBeCyclic 

Definition at line 12 of file js_resources.h.

Function Documentation

◆ JSFormatErrorString()

WideString JSFormatErrorString ( const char * class_name,
const char * property_name,
const WideString & details )

Definition at line 97 of file js_resources.cpp.

References fxcrt::WideString::FromUTF8(), fxcrt::WideString::operator+=(), and fxcrt::WideString::operator+=().

Referenced by JSMethod(), JSPropGetter(), and JSPropSetter().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JSGetStringFromID()