diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-04 22:03:54 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-05 11:34:05 +0900 |
| commit | 420fcb6c991b2c21d5919db2af202e7f444f9326 (patch) | |
| tree | c6a2c38cdd7ab8a193f25a0a51ebb5aa7fe8c386 /src/drawparts/solidshape.cpp | |
| parent | 4f72176a0ff3c10fa366a67a45a11cf538d1c4eb (diff) | |
| download | ktechlab-420fcb6c.tar.gz ktechlab-420fcb6c.zip | |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c5554a5f82ebc79fbda3940ee904e71490fb13d6)
Diffstat (limited to 'src/drawparts/solidshape.cpp')
| -rw-r--r-- | src/drawparts/solidshape.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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(); |
