diff options
Diffstat (limited to 'src/gvimagepart/gvimagepart.cpp')
-rw-r--r-- | src/gvimagepart/gvimagepart.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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<GVImagePart> 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"); |