From e7366c97c998679efa80cf61c88e64a11a3d3c33 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kview/kviewviewer/config/kviewviewerpluginsconfig.cpp | 4 ++-- kview/kviewviewer/config/kviewviewerpluginsconfig.h | 2 +- kview/kviewviewer/imagesettings.cpp | 4 ++-- kview/kviewviewer/imagesettings.h | 2 +- kview/kviewviewer/kviewkonqextension.cpp | 8 ++++---- kview/kviewviewer/kviewkonqextension.h | 2 +- kview/kviewviewer/kviewviewer.cpp | 4 ++-- kview/kviewviewer/kviewviewer.h | 2 +- 8 files changed, 14 insertions(+), 14 deletions(-) (limited to 'kview/kviewviewer') 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 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 #include -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 & 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 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 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; } -- cgit v1.2.1