summaryrefslogtreecommitdiffstats
path: root/kplato/kptcanvasitem.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-05 11:54:26 +0900
committerMichele Calgaro <[email protected]>2023-11-16 23:40:13 +0900
commitc8c5e11f05f023849896d09cf06917e9a2c016ca (patch)
treea62f00b0249b967528e115e2123b56d40633c17a /kplato/kptcanvasitem.cpp
parentc9973bfbf1091ef91f30b5ab456015676123aa47 (diff)
downloadkoffice-c8c5e11f05f023849896d09cf06917e9a2c016ca.tar.gz
koffice-c8c5e11f05f023849896d09cf06917e9a2c016ca.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit ef06f14f2475bd08d3ea2ceec54a7b2238f3554e)
Diffstat (limited to 'kplato/kptcanvasitem.cpp')
-rw-r--r--kplato/kptcanvasitem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kplato/kptcanvasitem.cpp b/kplato/kptcanvasitem.cpp
index 152fd837..a792443d 100644
--- a/kplato/kptcanvasitem.cpp
+++ b/kplato/kptcanvasitem.cpp
@@ -587,7 +587,7 @@ void PertRelationItem::drawShape(TQPainter &p)
{
//kdDebug()<<k_funcinfo<<" "<<m_rel->parent()->name()<<" to "<<m_rel->child()->name()<<endl;
// cannot use polygon's drawShape() as it doesn't use the pen
- setBrush(Qt::NoBrush);
+ setBrush(TQt::NoBrush);
TQPointArray a = poly;
int size = a.size()-1;
for(int i = 0; i < size; ++i)
@@ -611,7 +611,7 @@ TQPointArray PertRelationItem::areaPoints () const
TQPointArray pa(4);
int pw = (pen().width()+1)/2;
if ( pw < 1 ) pw = 1;
- if ( pen() == Qt::NoPen ) pw = 0;
+ if ( pen() == TQt::NoPen ) pw = 0;
pa[0] = TQPoint(left-pw,top-pw);
pa[1] = pa[0] + TQPoint(right-left+pw*2,0);
pa[2] = pa[1] + TQPoint(0,bottom-top+pw*2);