summaryrefslogtreecommitdiffstats
path: root/src/gvimagepart
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commitf1087d880d002e2f4bde6adad1592bda91460d12 (patch)
tree4299342b1275cda0c626877485a02fa8fdd7c1d5 /src/gvimagepart
parentff8c66f117613688a0979d2296cbf6c778136419 (diff)
downloadgwenview-f1087d880d002e2f4bde6adad1592bda91460d12.tar.gz
gwenview-f1087d880d002e2f4bde6adad1592bda91460d12.zip
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
Diffstat (limited to 'src/gvimagepart')
-rw-r--r--src/gvimagepart/gvimagepart.cpp8
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");