From 9d7af92881d47486cebc41fc7f9bc675a73b97ca Mon Sep 17 00:00:00 2001 From: zeljko Date: Sat, 9 Jul 2011 10:27:38 +0000 Subject: [PATCH] Qt: changed deprecated QRegion unite,eor,intersect with united,xored and intersected procs. git-svn-id: trunk@31617 - --- lcl/interfaces/qt/qtwinapi.inc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lcl/interfaces/qt/qtwinapi.inc b/lcl/interfaces/qt/qtwinapi.inc index 4a4e31997f..2cb11e564d 100644 --- a/lcl/interfaces/qt/qtwinapi.inc +++ b/lcl/interfaces/qt/qtwinapi.inc @@ -254,20 +254,20 @@ begin case fnCombineMode of RGN_AND: - QRegion_Intersect(RSrc1, RDest, RSrc2); + QRegion_intersected(RSrc1, RDest, RSrc2); RGN_COPY: begin // union of Src1 with a null region - RSrc2 := QRegion_Create; - QRegion_unite(RSrc1, RDest, RSrc2); - QRegion_Destroy(RSrc2); + RSrc2 := QRegion_create; + QRegion_united(RSrc1, RDest, RSrc2); + QRegion_destroy(RSrc2); end; RGN_DIFF: QRegion_subtracted(RSrc1, RDest, RSrc2); RGN_OR: - QRegion_unite(RSrc1, RDest, RSrc2); + QRegion_united(RSrc1, RDest, RSrc2); RGN_XOR: - QRegion_eor(RSrc1, RDest, RSrc2); + QRegion_xored(RSrc1, RDest, RSrc2); end; if QRegion_isEmpty(RDest) then