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 --- kooka/scanpackager.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kooka/scanpackager.cpp') diff --git a/kooka/scanpackager.cpp b/kooka/scanpackager.cpp index fbda481f..9a8c9d3a 100644 --- a/kooka/scanpackager.cpp +++ b/kooka/scanpackager.cpp @@ -71,7 +71,7 @@ /* ----------------------------------------------------------------------- */ /* Constructor Scan Packager */ -ScanPackager::ScanPackager( TQWidget *tqparent ) : KFileTreeView( tqparent ) +ScanPackager::ScanPackager( TQWidget *parent ) : KFileTreeView( parent ) { // TODO: setItemsRenameable (true ); @@ -531,7 +531,7 @@ void ScanPackager::slClicked( TQListViewItem *newItem ) } else { - emit( showThumbnails( static_cast(item->tqparent()))); + emit( showThumbnails( static_cast(item->parent()))); } } else @@ -854,7 +854,7 @@ void ScanPackager::slAddImage( TQImage *img, KookaImageMeta* ) TQString s; /* Count amount of tqchildren of the father */ - TQListViewItem *paps = curr->tqparent(); + TQListViewItem *paps = curr->parent(); if( curr->isDir() ) /* take only father if the is no directory */ paps = curr; @@ -1012,7 +1012,7 @@ void ScanPackager::slotImportFile() if( ! curr->isDir() ) { - KFileTreeViewItem *pa = static_cast(curr->tqparent()); + KFileTreeViewItem *pa = static_cast(curr->parent()); impTarget = pa->url(); } kdDebug(28000) << "Importing to " << impTarget.url() << endl; @@ -1239,12 +1239,12 @@ void ScanPackager::contentsDragMoveEvent( TQDragMoveEvent *e ) } TQListViewItem *afterme = 0; - TQListViewItem *tqparent = 0; + TQListViewItem *parent = 0; - findDrop( e->pos(), tqparent, afterme ); + findDrop( e->pos(), parent, afterme ); // "afterme" is 0 when aiming at a directory itself - TQListViewItem *item = afterme ? afterme : tqparent; + TQListViewItem *item = afterme ? afterme : parent; if( item ) { -- cgit v1.2.1