diff options
Diffstat (limited to 'src/gvimagepart')
-rw-r--r-- | src/gvimagepart/gvimagepart.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gvimagepart/gvimagepart.cpp b/src/gvimagepart/gvimagepart.cpp index 8f273d6..d53ce63 100644 --- a/src/gvimagepart/gvimagepart.cpp +++ b/src/gvimagepart/gvimagepart.cpp @@ -75,7 +75,7 @@ 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* tqparentWidget, const char* /*widgetName*/, TQObject* tqparent, +GVImagePart::GVImagePart(TQWidget* parentWidget, const char* /*widgetName*/, TQObject* tqparent, const char* name, const TQStringList &) : KParts::ReadOnlyPart( tqparent, name ) , mPrefetch( NULL ) @@ -91,7 +91,7 @@ GVImagePart::GVImagePart(TQWidget* tqparentWidget, const char* /*widgetName*/, T mDocument = new Document(this); connect( mDocument, TQT_SIGNAL( loading()), TQT_SLOT( slotLoading())); connect( mDocument, TQT_SIGNAL( loaded(const KURL&)), TQT_SLOT( slotLoaded(const KURL&))); - mImageView = new ImageView(tqparentWidget, mDocument, actionCollection()); + mImageView = new ImageView(parentWidget, mDocument, actionCollection()); connect( mImageView, TQT_SIGNAL(requestContextMenu(const TQPoint&)), this, TQT_SLOT(openContextMenu(const TQPoint&)) ); setWidget(mImageView); |