Commit Graph

4 Commits

Author SHA1 Message Date
Alexey Edelev e7ef620d7f Remove QGrpcOperation::deserializationError(String) methods
API looks wrong, we expose the QGrpcOperation internals which doesn't
looks right.

[ChangeLog][Grpc] QGrpcOperation::deserializationError and
QGrpcOperation::deserializationErrorString methods are removed.

Pick-to: 6.8
Task-number: QTBUG-123625
Change-Id: I681bc5941238e30d8636b16fa28045da17c9f51c
Reviewed-by: Dennis Oberst <dennis.oberst@qt.io>
2024-08-28 14:47:48 +02:00
Alexey Edelev 2d88bfdf3b Improve QML gRPC functional handlers
Move the common parts of 'make' functions to a separate functions(DRY).
Move functionality that doesn't depend on the template arguments to
out-of-line functions(SCARY).

Pick-to: 6.8
Task-number: QTBUG-125859
Change-Id: Ibb519463de81f3909732638428eb18c55fe9ae63
Reviewed-by: Dennis Oberst <dennis.oberst@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2024-08-19 13:15:35 +02:00
Alexey Edelev 8e1988169b Add the null checks to QtGrpcQuickFunctional handlers
Assert if any of raw pointers are null.

Pick-to: 6.8
Change-Id: Ie4d7315770de932c19264abe947f3285be3fe4ba
Reviewed-by: Dennis Oberst <dennis.oberst@qt.io>
2024-08-19 13:15:28 +02:00
Alexey Edelev f0d9c251e5 Move the QGrpcOperation::finished signal connection to the non-inline function
The functionality doesn't depend on the template arguments so we may
move it out of template function body.

Pick-to: 6.8
Task-number: QTBUG-120943
Change-Id: I80f402d43bfc88d109d3c9170ed01eebb4e207d8
Reviewed-by: Dennis Oberst <dennis.oberst@qt.io>
2024-08-19 13:14:49 +02:00