From f1087d880d002e2f4bde6adad1592bda91460d12 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/applications/gwenview@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/gvimagepart/gvimagepart.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gvimagepart/gvimagepart.cpp') diff --git a/src/gvimagepart/gvimagepart.cpp b/src/gvimagepart/gvimagepart.cpp index 02ff5e9..95712b5 100644 --- a/src/gvimagepart/gvimagepart.cpp +++ b/src/gvimagepart/gvimagepart.cpp @@ -59,11 +59,11 @@ const char CONFIG_CACHE_GROUP[]="cache"; #endif -static bool storeData(TQWidget* tqparent, TQFile* file, const TQByteArray& data) { +static bool storeData(TQWidget* parent, TQFile* file, const TQByteArray& data) { uint sizeWritten = file->writeBlock(data); if (sizeWritten != data.size()) { KMessageBox::error( - tqparent, + parent, i18n("Could not save image to a temporary file")); return false; } @@ -75,9 +75,9 @@ static bool storeData(TQWidget* tqparent, TQFile* file, const TQByteArray& data) typedef KParts::GenericFactory GVImageFactory; K_EXPORT_COMPONENT_FACTORY( libgvimagepart /*library name*/, GVImageFactory ) -GVImagePart::GVImagePart(TQWidget* parentWidget, const char* /*widgetName*/, TQObject* tqparent, +GVImagePart::GVImagePart(TQWidget* parentWidget, const char* /*widgetName*/, TQObject* parent, const char* name, const TQStringList &) - : KParts::ReadOnlyPart( tqparent, name ) + : KParts::ReadOnlyPart( parent, name ) , mPrefetch( NULL ) , mLastDirection( DirectionUnknown ) { GVImageFactory::instance()->iconLoader()->addAppDir( "gwenview"); -- cgit v1.2.1