summaryrefslogtreecommitdiffstats
path: root/kview/kviewviewer
diff options
context:
space:
mode:
Diffstat (limited to 'kview/kviewviewer')
-rw-r--r--kview/kviewviewer/config/kviewviewerpluginsconfig.cpp4
-rw-r--r--kview/kviewviewer/config/kviewviewerpluginsconfig.h2
-rw-r--r--kview/kviewviewer/imagesettings.cpp4
-rw-r--r--kview/kviewviewer/imagesettings.h2
-rw-r--r--kview/kviewviewer/kviewkonqextension.cpp8
-rw-r--r--kview/kviewviewer/kviewkonqextension.h2
-rw-r--r--kview/kviewviewer/kviewviewer.cpp4
-rw-r--r--kview/kviewviewer/kviewviewer.h2
8 files changed, 14 insertions, 14 deletions
diff --git a/kview/kviewviewer/config/kviewviewerpluginsconfig.cpp b/kview/kviewviewer/config/kviewviewerpluginsconfig.cpp
index a1576b49..122190f9 100644
--- a/kview/kviewviewer/config/kviewviewerpluginsconfig.cpp
+++ b/kview/kviewviewer/config/kviewviewerpluginsconfig.cpp
@@ -30,8 +30,8 @@
typedef KGenericFactory<KViewViewerPluginsConfig, TQWidget> KViewViewerPluginsConfigFactory;
K_EXPORT_COMPONENT_FACTORY( kcm_kviewviewerpluginsconfig, KViewViewerPluginsConfigFactory( "kcm_kviewviewerpluginsconfig" ) )
-KViewViewerPluginsConfig::KViewViewerPluginsConfig( TQWidget * tqparent, const char *, const TQStringList & args )
- : KSettings::PluginPage( KViewViewerPluginsConfigFactory::instance(), tqparent, args )
+KViewViewerPluginsConfig::KViewViewerPluginsConfig( TQWidget * parent, const char *, const TQStringList & args )
+ : KSettings::PluginPage( KViewViewerPluginsConfigFactory::instance(), parent, args )
{
m_config = new KSimpleConfig( "kviewviewerrc" );
pluginSelector()->addPlugins( TQString::fromAscii( "kviewviewer" ), i18n( "Viewer" ), TQString(), m_config );
diff --git a/kview/kviewviewer/config/kviewviewerpluginsconfig.h b/kview/kviewviewer/config/kviewviewerpluginsconfig.h
index 94860fc9..b9ac90e3 100644
--- a/kview/kviewviewer/config/kviewviewerpluginsconfig.h
+++ b/kview/kviewviewer/config/kviewviewerpluginsconfig.h
@@ -28,7 +28,7 @@ class KViewViewerPluginsConfig : public KSettings::PluginPage
Q_OBJECT
TQ_OBJECT
public:
- KViewViewerPluginsConfig( TQWidget * tqparent, const char * name = 0, const TQStringList & args = TQStringList() );
+ KViewViewerPluginsConfig( TQWidget * parent, const char * name = 0, const TQStringList & args = TQStringList() );
~KViewViewerPluginsConfig();
private:
KConfig * m_config;
diff --git a/kview/kviewviewer/imagesettings.cpp b/kview/kviewviewer/imagesettings.cpp
index 10781565..a4259b05 100644
--- a/kview/kviewviewer/imagesettings.cpp
+++ b/kview/kviewviewer/imagesettings.cpp
@@ -24,8 +24,8 @@
#include <klocale.h>
#include <kdialog.h>
-ImageSettings::ImageSettings( TQWidget * tqparent, const char * name )
- : KPrintDialogPage( tqparent, name )
+ImageSettings::ImageSettings( TQWidget * parent, const char * name )
+ : KPrintDialogPage( parent, name )
, m_pFitImage( 0 )
{
setTitle( i18n( "Image Settings" ) );
diff --git a/kview/kviewviewer/imagesettings.h b/kview/kviewviewer/imagesettings.h
index 07bb9af8..4d8b2144 100644
--- a/kview/kviewviewer/imagesettings.h
+++ b/kview/kviewviewer/imagesettings.h
@@ -28,7 +28,7 @@ class ImageSettings : public KPrintDialogPage
Q_OBJECT
TQ_OBJECT
public:
- ImageSettings( TQWidget * tqparent = 0, const char * name = 0 );
+ ImageSettings( TQWidget * parent = 0, const char * name = 0 );
~ImageSettings();
void setOptions( const TQMap<TQString, TQString> & opts );
diff --git a/kview/kviewviewer/kviewkonqextension.cpp b/kview/kviewviewer/kviewkonqextension.cpp
index b47ea17d..ed93d6ea 100644
--- a/kview/kviewviewer/kviewkonqextension.cpp
+++ b/kview/kviewviewer/kviewkonqextension.cpp
@@ -33,9 +33,9 @@
#include <klocale.h>
KViewKonqExtension::KViewKonqExtension( KImageViewer::Canvas * canvas,
- KViewViewer *tqparent, const char *name )
- : KParts::BrowserExtension( tqparent, name ),
- m_pViewer( tqparent ),
+ KViewViewer *parent, const char *name )
+ : KParts::BrowserExtension( parent, name ),
+ m_pViewer( parent ),
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 *)tqparent())->widget(), i18n("Print %1").tqarg(m_pViewer->url().fileName( false )) ) )
+ if ( !printer.setup( ((KViewViewer *)parent())->widget(), i18n("Print %1").tqarg(m_pViewer->url().fileName( false )) ) )
return;
TQPainter painter;
diff --git a/kview/kviewviewer/kviewkonqextension.h b/kview/kviewviewer/kviewkonqextension.h
index fa986c81..f9db2879 100644
--- a/kview/kviewviewer/kviewkonqextension.h
+++ b/kview/kviewviewer/kviewkonqextension.h
@@ -31,7 +31,7 @@ class KViewKonqExtension: public KParts::BrowserExtension
Q_OBJECT
TQ_OBJECT
public:
- KViewKonqExtension( KImageViewer::Canvas *, KViewViewer *tqparent, const char *name = 0 );
+ KViewKonqExtension( KImageViewer::Canvas *, KViewViewer *parent, const char *name = 0 );
virtual ~KViewKonqExtension() {}
virtual void setXYOffset( int x, int y );
diff --git a/kview/kviewviewer/kviewviewer.cpp b/kview/kviewviewer/kviewviewer.cpp
index d4d2cda6..73d1bd92 100644
--- a/kview/kviewviewer/kviewviewer.cpp
+++ b/kview/kviewviewer/kviewviewer.cpp
@@ -56,8 +56,8 @@ typedef KParts::GenericFactory<KViewViewer> KViewViewerFactory;
K_EXPORT_COMPONENT_FACTORY( libkviewviewer, KViewViewerFactory )
KViewViewer::KViewViewer( TQWidget *parentWidget, const char * /*widgetName*/,
- TQObject *tqparent, const char *name, const TQStringList & )
- : KImageViewer::Viewer( tqparent, name )
+ TQObject *parent, const char *name, const TQStringList & )
+ : KImageViewer::Viewer( parent, name )
, m_pParentWidget( parentWidget )
, m_pJob( 0 )
, m_pExtension( 0 )
diff --git a/kview/kviewviewer/kviewviewer.h b/kview/kviewviewer/kviewviewer.h
index f63808c8..3240badc 100644
--- a/kview/kviewviewer/kviewviewer.h
+++ b/kview/kviewviewer/kviewviewer.h
@@ -50,7 +50,7 @@ class KDE_EXPORT KViewViewer : public KImageViewer::Viewer, public KViewViewerIf
public:
KViewViewer( TQWidget * parentWidget, const char * widgetName,
- TQObject * tqparent, const char * name, const TQStringList & );
+ TQObject * parent, const char * name, const TQStringList & );
virtual ~KViewViewer();
KImageViewer::Canvas * canvas() const { return m_pCanvas; }