diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-22 17:48:01 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-02-03 22:54:28 +0900 |
commit | fdde1e4ac285a7b43ca5f45f220ea7fec8db248b (patch) | |
tree | 2886714a5f837bc0b86f178624f8437dd863b6be /kpresenter/KPrObject.cpp | |
parent | f491bbc527febc11c4f3f2cf158735ae93a4e19a (diff) | |
download | koffice-fdde1e4ac285a7b43ca5f45f220ea7fec8db248b.tar.gz koffice-fdde1e4ac285a7b43ca5f45f220ea7fec8db248b.zip |
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kpresenter/KPrObject.cpp')
-rw-r--r-- | kpresenter/KPrObject.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kpresenter/KPrObject.cpp b/kpresenter/KPrObject.cpp index f310552dc..210506e76 100644 --- a/kpresenter/KPrObject.cpp +++ b/kpresenter/KPrObject.cpp @@ -1408,7 +1408,7 @@ void KPrObject::paintSelection( TQPainter *_painter, KoTextZoomHandler *_zoomHan _painter->save(); _painter->translate( _zoomHandler->zoomItX(orig.x()), _zoomHandler->zoomItY(orig.y()) ); _painter->setPen( TQPen( TQt::black, 1, TQPen::SolidLine ) ); - _painter->setBrush( kapp->palette().color( TQPalette::Active, TQColorGroup::Highlight ) ); + _painter->setBrush( tdeApp->palette().color( TQPalette::Active, TQColorGroup::Highlight ) ); KoRect r = getRealRect(); @@ -1444,7 +1444,7 @@ void KPrObject::paintSelection( TQPainter *_painter, KoTextZoomHandler *_zoomHan zX6=zX6-2; zY6=zY6-2; - TQBrush brush=kapp->palette().color( TQPalette::Active,TQColorGroup::Base ); + TQBrush brush=tdeApp->palette().color( TQPalette::Active,TQColorGroup::Base ); _painter->fillRect( x, y, zX6, zY6, brush ); _painter->fillRect( x, y + h / 2, zX6, zY6, brush); _painter->fillRect( x, y + h, zX6, zY6, brush ); |