summaryrefslogtreecommitdiffstats
path: root/kdeui/klistview.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-07 21:14:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-07 21:14:06 +0000
commit9c49a74a165b8535c28ccbb2fad37334989b2fc7 (patch)
treef1d72ed61fc64441880b26359d03c58f78b95ada /kdeui/klistview.cpp
parent42037fa1562f00d75f02d019c039d51b2c27cc6f (diff)
downloadtdelibs-9c49a74a165b8535c28ccbb2fad37334989b2fc7.tar.gz
tdelibs-9c49a74a165b8535c28ccbb2fad37334989b2fc7.zip
Rename incorrect instances of tqrepaint[...] to repaint[...]
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1240369 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeui/klistview.cpp')
-rw-r--r--kdeui/klistview.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/kdeui/klistview.cpp b/kdeui/klistview.cpp
index b65cab53b..97cef2627 100644
--- a/kdeui/klistview.cpp
+++ b/kdeui/klistview.cpp
@@ -1519,8 +1519,8 @@ void KListView::fileManagerKeyPressEvent (TQKeyEvent* e)
TQListViewItem* item = currentItem();
if (!item) return;
- TQListViewItem* tqrepaintItem1 = item;
- TQListViewItem* tqrepaintItem2 = 0L;
+ TQListViewItem* repaintItem1 = item;
+ TQListViewItem* repaintItem2 = 0L;
TQListViewItem* visItem = 0L;
TQListViewItem* nextItem = 0L;
@@ -1579,7 +1579,7 @@ void KListView::fileManagerKeyPressEvent (TQKeyEvent* e)
if (nextItem)
{
- tqrepaintItem2=nextItem;
+ repaintItem2=nextItem;
visItem=nextItem;
setCurrentItem(nextItem);
};
@@ -1614,7 +1614,7 @@ void KListView::fileManagerKeyPressEvent (TQKeyEvent* e)
{
if (d->selectedBySimpleMove)
nextItem->setSelected(true);
- tqrepaintItem2=nextItem;
+ repaintItem2=nextItem;
visItem=nextItem;
setCurrentItem(nextItem);
};
@@ -1649,7 +1649,7 @@ void KListView::fileManagerKeyPressEvent (TQKeyEvent* e)
{
if (d->selectedBySimpleMove)
nextItem->setSelected(true);
- tqrepaintItem2=nextItem;
+ repaintItem2=nextItem;
visItem=nextItem;
setCurrentItem(nextItem);
};
@@ -1671,7 +1671,7 @@ void KListView::fileManagerKeyPressEvent (TQKeyEvent* e)
{
if (d->selectedBySimpleMove)
nextItem->setSelected(true);
- tqrepaintItem2=nextItem;
+ repaintItem2=nextItem;
visItem=nextItem;
setCurrentItem(nextItem);
}
@@ -1684,7 +1684,7 @@ void KListView::fileManagerKeyPressEvent (TQKeyEvent* e)
// move to the first item and toggle selection of all items inbetween
nextItem = firstChild();
visItem = nextItem;
- tqrepaintItem2 = visItem;
+ repaintItem2 = visItem;
if (d->selectedBySimpleMove)
item->setSelected(false);
if (shiftOrCtrl)
@@ -1797,7 +1797,7 @@ void KListView::fileManagerKeyPressEvent (TQKeyEvent* e)
currentItem()->setSelected(true);
emitSelectionChanged=true;
}
- tqrepaintItem2=currentItem();
+ repaintItem2=currentItem();
if (realKey)
visItem=currentItem();
break;
@@ -1807,21 +1807,21 @@ void KListView::fileManagerKeyPressEvent (TQKeyEvent* e)
ensureItemVisible(visItem);
TQRect ir;
- if (tqrepaintItem1)
- ir = ir.unite( tqitemRect(tqrepaintItem1) );
- if (tqrepaintItem2)
- ir = ir.unite( tqitemRect(tqrepaintItem2) );
+ if (repaintItem1)
+ ir = ir.unite( tqitemRect(repaintItem1) );
+ if (repaintItem2)
+ ir = ir.unite( tqitemRect(repaintItem2) );
if ( !ir.isEmpty() )
- { // rectangle to be tqrepainted
+ { // rectangle to be repainted
if ( ir.x() < 0 )
ir.moveBy( -ir.x(), 0 );
viewport()->tqrepaint( ir, false );
}
- /*if (tqrepaintItem1)
- tqrepaintItem1->tqrepaint();
- if (tqrepaintItem2)
- tqrepaintItem2->tqrepaint();*/
+ /*if (repaintItem1)
+ repaintItem1->tqrepaint();
+ if (repaintItem2)
+ repaintItem2->tqrepaint();*/
update();
if (emitSelectionChanged)
emit selectionChanged();