summaryrefslogtreecommitdiffstats
path: root/kview/kviewviewer/kviewkonqextension.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kview/kviewviewer/kviewkonqextension.cpp')
-rw-r--r--kview/kviewviewer/kviewkonqextension.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kview/kviewviewer/kviewkonqextension.cpp b/kview/kviewviewer/kviewkonqextension.cpp
index b3f16a93..b47ea17d 100644
--- a/kview/kviewviewer/kviewkonqextension.cpp
+++ b/kview/kviewviewer/kviewkonqextension.cpp
@@ -33,9 +33,9 @@
#include <klocale.h>
KViewKonqExtension::KViewKonqExtension( KImageViewer::Canvas * canvas,
- KViewViewer *parent, const char *name )
- : KParts::BrowserExtension( parent, name ),
- m_pViewer( parent ),
+ KViewViewer *tqparent, const char *name )
+ : KParts::BrowserExtension( tqparent, name ),
+ m_pViewer( tqparent ),
m_pCanvas( canvas )
{
KGlobal::locale()->insertCatalogue("kview");
@@ -68,7 +68,7 @@ void KViewKonqExtension::print()
printer.addDialogPage( new ImageSettings );
printer.setDocName( "KView: " + m_pViewer->url().fileName( false ) );
- if ( !printer.setup( ((KViewViewer *)parent())->widget(), i18n("Print %1").arg(m_pViewer->url().fileName( false )) ) )
+ if ( !printer.setup( ((KViewViewer *)tqparent())->widget(), i18n("Print %1").tqarg(m_pViewer->url().fileName( false )) ) )
return;
TQPainter painter;
@@ -80,7 +80,7 @@ void KViewKonqExtension::print()
TQImage imagetoprint;
if( printer.option( "app-kviewviewer-fitimage" ) == "1" )
- imagetoprint = m_pCanvas->image()->smoothScale( metrics.width(), metrics.height(), TQImage::ScaleMin );
+ imagetoprint = m_pCanvas->image()->smoothScale( metrics.width(), metrics.height(), TQ_ScaleMin );
else
imagetoprint = *m_pCanvas->image();