From bce8199ddac4feecdee9c094fb8f75863cfa9652 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 9 Jul 2011 02:23:29 +0000 Subject: Remove the tq in front of these incorrectly TQt4-converted methods/data members: tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kpovmodeler/pmlibraryiconview.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kpovmodeler/pmlibraryiconview.cpp') diff --git a/kpovmodeler/pmlibraryiconview.cpp b/kpovmodeler/pmlibraryiconview.cpp index 03fd15c5..16778e76 100644 --- a/kpovmodeler/pmlibraryiconview.cpp +++ b/kpovmodeler/pmlibraryiconview.cpp @@ -220,10 +220,10 @@ void PMLibraryIconViewItem::dropped( TQDropEvent *e, const TQValueList subLibList; if( m_isSubLibrary && PMLibraryIconDrag::decode( e, pathList, subLibList ) ) { - PMLibraryIconView* source = static_cast( e->source( )->tqparentWidget( ) ); - PMLibraryHandle* tqparentLib = source->library( ); + PMLibraryIconView* source = static_cast( e->source( )->parentWidget( ) ); + PMLibraryHandle* parentLib = source->library( ); PMLibraryHandle newParentLib = PMLibraryHandle( m_path ); - if ( tqparentLib->isReadOnly() || newParentLib.isReadOnly() ) + if ( parentLib->isReadOnly() || newParentLib.isReadOnly() ) { e->ignore(); return; @@ -238,7 +238,7 @@ void PMLibraryIconViewItem::dropped( TQDropEvent *e, const TQValueListdeleteSubLibrary( path ) == PMLibraryHandle::Ok ) + if( parentLib->deleteSubLibrary( path ) == PMLibraryHandle::Ok ) { PMLibraryHandle lib = PMLibraryHandle( path ); if( newParentLib.addSubLibrary( newpath, lib.name() ) == PMLibraryHandle::Ok ) @@ -249,7 +249,7 @@ void PMLibraryIconViewItem::dropped( TQDropEvent *e, const TQValueListaddSubLibrary( path, lib.name( ) ); + parentLib->addSubLibrary( path, lib.name( ) ); } } else @@ -258,7 +258,7 @@ void PMLibraryIconViewItem::dropped( TQDropEvent *e, const TQValueListdeleteObject( path ) == PMLibraryHandle::Ok ) + if( parentLib->deleteObject( path ) == PMLibraryHandle::Ok ) { PMLibraryObject obj = PMLibraryObject( path ); if( newParentLib.addObject( newpath, obj.name() ) == PMLibraryHandle::Ok ) @@ -268,7 +268,7 @@ void PMLibraryIconViewItem::dropped( TQDropEvent *e, const TQValueListaddObject( path, obj.name( ) ); + parentLib->addObject( path, obj.name( ) ); } } else -- cgit v1.2.1