From 389971def351e67fcf01c3dbe6b83c4d721dd755 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/kdeaccessibility@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ksayit/src/DocTreeView.ui | 2 +- ksayit/src/KSayItView.ui | 2 +- ksayit/src/doctreeviewimpl.cpp | 32 ++++++++++++++++---------------- ksayit/src/fx_setup.ui | 2 +- 4 files changed, 19 insertions(+), 19 deletions(-) (limited to 'ksayit/src') diff --git a/ksayit/src/DocTreeView.ui b/ksayit/src/DocTreeView.ui index ed6f9b1..5e4da27 100644 --- a/ksayit/src/DocTreeView.ui +++ b/ksayit/src/DocTreeView.ui @@ -151,7 +151,7 @@ slotNewSection_5() slotRightButtonPressed( TQListViewItem * i, const TQPoint &, int ) - + klistview.h diff --git a/ksayit/src/KSayItView.ui b/ksayit/src/KSayItView.ui index adb821b..a95a90e 100644 --- a/ksayit/src/KSayItView.ui +++ b/ksayit/src/KSayItView.ui @@ -62,7 +62,7 @@ slotCopyAvailable(bool) slotTextChanged() - + ktextedit.h diff --git a/ksayit/src/doctreeviewimpl.cpp b/ksayit/src/doctreeviewimpl.cpp index 5776917..db6ed32 100644 --- a/ksayit/src/doctreeviewimpl.cpp +++ b/ksayit/src/doctreeviewimpl.cpp @@ -553,21 +553,21 @@ void DocTreeViewImpl::recursiveBuildItemIdentifier(ListViewInterface* item, TQTe if ( !item ) return; - // 1. Do we have a tqparent (=tqparentItem)? + // 1. Do we have a tqparent (=parentItem)? // If no -> return, if yes -> recursive call - ListViewInterface *tqparentItem = NULL; - tqparentItem = static_cast( item->tqparent() ); - if ( tqparentItem ){ - recursiveBuildItemIdentifier( tqparentItem, idstring ); + ListViewInterface *parentItem = NULL; + parentItem = static_cast( item->tqparent() ); + if ( parentItem ){ + recursiveBuildItemIdentifier( parentItem, idstring ); } else { // break recursion return; } - // 2. Which child of the tqparentItem are we? Append no. to idstring. + // 2. Which child of the parentItem are we? Append no. to idstring. int childno = 0; TQString itemID = item->text(3); - ListViewInterface *i = static_cast( tqparentItem->firstChild() ); + ListViewInterface *i = static_cast( parentItem->firstChild() ); while( i ){ childno++; if ( i->text(3) == itemID ) @@ -756,9 +756,9 @@ void DocTreeViewImpl::slotDeleteItem() kdDebug(100200) << "DocTreeViewImpl::slotDeleteItem()" << endl; ListViewInterface *itemToDelete = m_currentItem; - ListViewInterface *tqparentItem = NULL; - tqparentItem = static_cast(itemToDelete->tqparent()); - if ( !tqparentItem ) + ListViewInterface *parentItem = NULL; + parentItem = static_cast(itemToDelete->tqparent()); + if ( !parentItem ) return; // delete only items with tqparent // try to delete bookmark @@ -785,9 +785,9 @@ void DocTreeViewImpl::slotDeleteItem() // show m_rootItem->sort(); - listView->setSelected( tqparentItem, true ); - listView->ensureItemVisible( tqparentItem ); - slotItemClicked( tqparentItem ); + listView->setSelected( parentItem, true ); + listView->ensureItemVisible( parentItem ); + slotItemClicked( parentItem ); } @@ -966,14 +966,14 @@ void DocTreeViewImpl::slotNewTitle() void DocTreeViewImpl::slotNewParagraph() { /* // Create Null element - TQDomElement tqparentElement = TQDomElement(); + TQDomElement parentElement = TQDomElement(); NodeList_type list; list.clear(); m_currentItem->getNodes( list ); - tqparentElement = (list.front()).toElement(); + parentElement = (list.front()).toElement(); - if ( tqparentElement.isNull() ) + if ( parentElement.isNull() ) return; */ // New TreeView item diff --git a/ksayit/src/fx_setup.ui b/ksayit/src/fx_setup.ui index 056ceb0..77f2cd9 100644 --- a/ksayit/src/fx_setup.ui +++ b/ksayit/src/fx_setup.ui @@ -248,5 +248,5 @@ slotRemoveAll() slotConfigureEffect(TQListBoxItem*) - + -- cgit v1.2.3