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 --- kfaxview/faxmultipage.cpp | 4 ++-- kfaxview/faxmultipage.h | 2 +- kfaxview/faxrenderer.cpp | 2 +- kfaxview/faxrenderer.h | 2 +- kfaxview/libkfaximage/kfaximage.cpp | 4 ++-- kfaxview/libkfaximage/kfaximage.h | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) (limited to 'kfaxview') diff --git a/kfaxview/faxmultipage.cpp b/kfaxview/faxmultipage.cpp index 2f3fc5b4..44c1e273 100644 --- a/kfaxview/faxmultipage.cpp +++ b/kfaxview/faxmultipage.cpp @@ -31,9 +31,9 @@ typedef KParts::GenericFactory FaxMultiPageFactory; K_EXPORT_COMPONENT_FACTORY(kfaxviewpart, FaxMultiPageFactory) -FaxMultiPage::FaxMultiPage(TQWidget *parentWidget, const char *widgetName, TQObject *tqparent, +FaxMultiPage::FaxMultiPage(TQWidget *parentWidget, const char *widgetName, TQObject *parent, const char *name, const TQStringList&) - : KMultiPage(parentWidget, widgetName, tqparent, name), faxRenderer(parentWidget) + : KMultiPage(parentWidget, widgetName, parent, name), faxRenderer(parentWidget) { /* This is kparts wizardry that cannot be understood by man. Simply change the names to match your implementation. */ diff --git a/kfaxview/faxmultipage.h b/kfaxview/faxmultipage.h index b9e3219d..13602763 100644 --- a/kfaxview/faxmultipage.h +++ b/kfaxview/faxmultipage.h @@ -90,7 +90,7 @@ public: kmultipage. Please have a look at the constructor's source code to see how to adjust this for your implementation. */ - FaxMultiPage(TQWidget *parentWidget, const char *widgetName, TQObject *tqparent, + FaxMultiPage(TQWidget *parentWidget, const char *widgetName, TQObject *parent, const char *name, const TQStringList& args = TQStringList()); /** Destructor diff --git a/kfaxview/faxrenderer.cpp b/kfaxview/faxrenderer.cpp index ee4c84a0..b109c1f5 100644 --- a/kfaxview/faxrenderer.cpp +++ b/kfaxview/faxrenderer.cpp @@ -36,7 +36,7 @@ FaxRenderer::FaxRenderer(TQWidget* par) : DocumentRenderer(par) { #ifdef KF_DEBUG - kdError() << "FaxRenderer( tqparent=" << par << " )" << endl; + kdError() << "FaxRenderer( parent=" << par << " )" << endl; #endif } diff --git a/kfaxview/faxrenderer.h b/kfaxview/faxrenderer.h index d7022b61..c09f9b8f 100644 --- a/kfaxview/faxrenderer.h +++ b/kfaxview/faxrenderer.h @@ -47,7 +47,7 @@ public: This constructor simply prints a message (if debugging is enabled) and calls the default constructor. */ - FaxRenderer(TQWidget* tqparent); + FaxRenderer(TQWidget* parent); /** Destructor diff --git a/kfaxview/libkfaximage/kfaximage.cpp b/kfaxview/libkfaximage/kfaximage.cpp index ea0d4943..0d35f8d7 100644 --- a/kfaxview/libkfaximage/kfaximage.cpp +++ b/kfaxview/libkfaximage/kfaximage.cpp @@ -38,8 +38,8 @@ static const char FAXMAGIC[] = "\000PC Research, Inc\000\000\000\000\000\000"; static const char littleTIFF[] = "\x49\x49\x2a\x00"; static const char bigTIFF[] = "\x4d\x4d\x00\x2a"; -KFaxImage::KFaxImage( const TQString &filename, TQObject *tqparent, const char *name ) - : TQObject(tqparent,name) +KFaxImage::KFaxImage( const TQString &filename, TQObject *parent, const char *name ) + : TQObject(parent,name) { KGlobal::locale()->insertCatalogue( TQString::tqfromLatin1("libkfaximage") ); loadImage(filename); diff --git a/kfaxview/libkfaximage/kfaximage.h b/kfaxview/libkfaximage/kfaximage.h index 52dd7736..89212ffd 100644 --- a/kfaxview/libkfaximage/kfaximage.h +++ b/kfaxview/libkfaximage/kfaximage.h @@ -64,7 +64,7 @@ public: * @see: numPages */ - KFaxImage( const TQString &filename = TQString(), TQObject *tqparent = 0, const char *name = 0 ); + KFaxImage( const TQString &filename = TQString(), TQObject *parent = 0, const char *name = 0 ); /** * Destructor -- cgit v1.2.1