コード例 #1
0
ファイル: qregexpvalidator.go プロジェクト: xland/qt
func (ptr *QRegExpValidator) SetRegExp(rx core.QRegExp_ITF) {
	if ptr.Pointer() != nil {
		C.QRegExpValidator_SetRegExp(ptr.Pointer(), core.PointerFromQRegExp(rx))
	}
}
コード例 #2
0
ファイル: qregexpvalidator.go プロジェクト: xland/qt
func NewQRegExpValidator2(rx core.QRegExp_ITF, parent core.QObject_ITF) *QRegExpValidator {
	return NewQRegExpValidatorFromPointer(C.QRegExpValidator_NewQRegExpValidator2(core.PointerFromQRegExp(rx), core.PointerFromQObject(parent)))
}
コード例 #3
0
ファイル: qscriptengine.go プロジェクト: xland/qt
func (ptr *QScriptEngine) NewRegExp(regexp core.QRegExp_ITF) *QScriptValue {
	if ptr.Pointer() != nil {
		return NewQScriptValueFromPointer(C.QScriptEngine_NewRegExp(ptr.Pointer(), core.PointerFromQRegExp(regexp)))
	}
	return nil
}