From c5554a5f82ebc79fbda3940ee904e71490fb13d6 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 4 Nov 2023 22:03:54 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro --- src/drawparts/solidshape.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/drawparts/solidshape.cpp') diff --git a/src/drawparts/solidshape.cpp b/src/drawparts/solidshape.cpp index 419e0ad..51fafa8 100644 --- a/src/drawparts/solidshape.cpp +++ b/src/drawparts/solidshape.cpp @@ -65,7 +65,7 @@ DPRectangle::DPRectangle( ItemDocument *itemDocument, bool newItem, const char * createProperty( "line-style", Variant::Type::PenStyle ); property("line-style")->setAdvanced(true); - setDataPenStyle( "line-style", Qt::SolidLine ); + setDataPenStyle( "line-style", TQt::SolidLine ); } DPRectangle::~DPRectangle() @@ -87,14 +87,14 @@ void DPRectangle::dataChanged() bool displayBackground = dataBool("background"); TQColor line_color = dataColor("line-color"); unsigned width = unsigned( dataInt("line-width") ); - Qt::PenStyle style = getDataPenStyle("line-style"); + TQt::PenStyle style = getDataPenStyle("line-style"); setPen( TQPen( line_color, width, style ) ); if (displayBackground) setBrush( dataColor("background-color") ); else - setBrush( Qt::NoBrush ); + setBrush( TQt::NoBrush ); postResize(); update(); -- cgit v1.2.3