summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrBackground.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter/KPrBackground.cpp')
-rw-r--r--kpresenter/KPrBackground.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kpresenter/KPrBackground.cpp b/kpresenter/KPrBackground.cpp
index 66102045..e8dcdc39 100644
--- a/kpresenter/KPrBackground.cpp
+++ b/kpresenter/KPrBackground.cpp
@@ -282,7 +282,7 @@ void KPrBackGround::loadOasis(KoOasisContext & context )
strExtension=href.mid(result+1); // As we are using KoPicture, the extension should be without the dot.
}
TQString filename(href);
- const KoPictureKey key(filename, TQDateTime::tqcurrentDateTime(Qt::UTC));
+ const KoPictureKey key(filename, TQDateTime::currentDateTime(Qt::UTC));
backPicture.setKey(key);
KoStore* store = context.store();
@@ -589,7 +589,7 @@ void KPrBackGround::drawBackPix( TQPainter *_painter, const TQSize& ext, const T
void KPrBackGround::drawBorders( TQPainter *_painter, const TQSize& /*ext*/, const TQRect& /*crect*/ )
{
- _painter->setPen( TQApplication::tqpalette().active().color( TQColorGroup::Dark ) );
+ _painter->setPen( TQApplication::palette().active().color( TQColorGroup::Dark ) );
_painter->setBrush( TQt::NoBrush );
TQRect rect = m_page->getZoomPageRect();