summaryrefslogtreecommitdiffstats
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
commit34f22092c09a24da6834b9830e3f48b9296a22df (patch)
tree6f45229c854b1e141557ad728e87757f67a3385c
parent5a8037c24029d61246eee22dda12b8b8c499d5e6 (diff)
downloadkrusader-34f22092c09a24da6834b9830e3f48b9296a22df.tar.gz
krusader-34f22092c09a24da6834b9830e3f48b9296a22df.zip
Rename incorrect instances of tqrepaint[...] to repaint[...]
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/krusader@1240369 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--krusader/ActionMan/useractionlistview.cpp2
-rw-r--r--krusader/Konfigurator/kgcolors.h2
-rw-r--r--krusader/Panel/krbriefview.cpp2
-rw-r--r--krusader/Panel/krbriefviewitem.cpp4
-rw-r--r--krusader/Panel/krbriefviewitem.h2
-rw-r--r--krusader/Panel/krcalcspacedialog.cpp2
-rw-r--r--krusader/Panel/krdetailedview.cpp8
-rw-r--r--krusader/Panel/krdetailedviewitem.cpp4
-rw-r--r--krusader/Panel/krdetailedviewitem.h2
9 files changed, 14 insertions, 14 deletions
diff --git a/krusader/ActionMan/useractionlistview.cpp b/krusader/ActionMan/useractionlistview.cpp
index a0366d9..2e11528 100644
--- a/krusader/ActionMan/useractionlistview.cpp
+++ b/krusader/ActionMan/useractionlistview.cpp
@@ -125,7 +125,7 @@ void UserActionListView::setCurrentAction( const KrAction* action) {
if ( item ) {
setCurrentItem( item );
// setSelected( item, true );
-// tqrepaintItem( item );
+// repaintItem( item );
}
}
diff --git a/krusader/Konfigurator/kgcolors.h b/krusader/Konfigurator/kgcolors.h
index 5dd69e2..1034dac 100644
--- a/krusader/Konfigurator/kgcolors.h
+++ b/krusader/Konfigurator/kgcolors.h
@@ -120,7 +120,7 @@ private:
{
defaultForeground = foregnd;
defaultBackground = backgnd;
- listView()->tqrepaintItem( this );
+ listView()->repaintItem( this );
}
TQString text()
diff --git a/krusader/Panel/krbriefview.cpp b/krusader/Panel/krbriefview.cpp
index 734fb33..9662f8a 100644
--- a/krusader/Panel/krbriefview.cpp
+++ b/krusader/Panel/krbriefview.cpp
@@ -1382,7 +1382,7 @@ void KrBriefView::updateView() {
}
void KrBriefView::updateItem(KrViewItem* item) {
- dynamic_cast<KrBriefViewItem*>(item)->tqrepaintItem();
+ dynamic_cast<KrBriefViewItem*>(item)->repaintItem();
}
void KrBriefView::slotRightButtonPressed(TQIconViewItem*, const TQPoint& point) {
diff --git a/krusader/Panel/krbriefviewitem.cpp b/krusader/Panel/krbriefviewitem.cpp
index 857b264..fcb624d 100644
--- a/krusader/Panel/krbriefviewitem.cpp
+++ b/krusader/Panel/krbriefviewitem.cpp
@@ -50,7 +50,7 @@ KrBriefViewItem::KrBriefViewItem(KrBriefView *tqparent, TQIconViewItem *after, v
setRenameEnabled( false );
setDragEnabled( true );
setDropEnabled( true );
- tqrepaintItem();
+ repaintItem();
}
@@ -185,7 +185,7 @@ void KrBriefViewItem::itemHeightChanged() {
#endif // FASTER
}
-void KrBriefViewItem::tqrepaintItem()
+void KrBriefViewItem::repaintItem()
{
if ( dummyVfile ) return;
diff --git a/krusader/Panel/krbriefviewitem.h b/krusader/Panel/krbriefviewitem.h
index b84cd33..7455718 100644
--- a/krusader/Panel/krbriefviewitem.h
+++ b/krusader/Panel/krbriefviewitem.h
@@ -51,7 +51,7 @@ public:
inline void setSelected(bool s) { KIconViewItem::setSelected(s); }
inline void cancelRename() { removeRenameBox(); }
int compare(TQIconViewItem *i) const;
- virtual void tqrepaintItem();
+ virtual void repaintItem();
static void itemHeightChanged(); // force the items to resize when icon/font size change
// TODO: virtual void setup(); // called when iconview needs to know the height of the item
#ifdef FASTER
diff --git a/krusader/Panel/krcalcspacedialog.cpp b/krusader/Panel/krcalcspacedialog.cpp
index fc82574..56330b8 100644
--- a/krusader/Panel/krcalcspacedialog.cpp
+++ b/krusader/Panel/krcalcspacedialog.cpp
@@ -76,7 +76,7 @@ void KrCalcSpaceDialog::CalcThread::run(){
KrDetailedViewItem * viewItem = dynamic_cast<KrDetailedViewItem *>(m_view->findItemByName ( *it ) );
if (viewItem){
KrCalcSpaceDialog::setDirSize(viewItem, m_currentSize);
- //viewItem->tqrepaintItem(); // crash in KrDetailedViewItem::tqrepaintItem(): setPixmap(_view->column(KrDetailedView::Name),KrView::getIcon(_vf))
+ //viewItem->repaintItem(); // crash in KrDetailedViewItem::repaintItem(): setPixmap(_view->column(KrDetailedView::Name),KrView::getIcon(_vf))
}
m_totalSize += m_currentSize;
m_currentSize = 0;
diff --git a/krusader/Panel/krdetailedview.cpp b/krusader/Panel/krdetailedview.cpp
index b2ab370..d00a90d 100644
--- a/krusader/Panel/krdetailedview.cpp
+++ b/krusader/Panel/krdetailedview.cpp
@@ -1102,7 +1102,7 @@ void KrDetailedView::keyPressEvent( TQKeyEvent * e ) {
goto mark;
}
viewItem->setSize( totalSize );
- viewItem->tqrepaintItem();
+ viewItem->repaintItem();
}
}
mark: if (KrSelectionMode::getSelectionHandler()->spaceMovesDown())
@@ -1176,7 +1176,7 @@ void KrDetailedView::rename( TQListViewItem * item, int c ) {
if ( COLUMN( Extention ) != -1 ) {
item->setText( COLUMN( Name ), static_cast<KrDetailedViewItem*>( item ) ->name() );
item->setText( COLUMN( Extention ), TQString() );
- tqrepaintItem( item );
+ repaintItem( item );
}
currentlyRenamedItem = item;
@@ -1257,7 +1257,7 @@ void KrDetailedView::inplaceRenameFinished( TQListViewItem * it, int ) {
}
it->setText( COLUMN( Name ), name );
it->setText( COLUMN( Extention ), ext );
- tqrepaintItem( it );
+ repaintItem( it );
#if 0
}
#endif
@@ -1528,7 +1528,7 @@ void KrDetailedView::updateView() {
}
void KrDetailedView::updateItem(KrViewItem* item) {
- dynamic_cast<KrDetailedViewItem*>(item)->tqrepaintItem();
+ dynamic_cast<KrDetailedViewItem*>(item)->repaintItem();
}
void KrDetailedView::slotRightButtonPressed(TQListViewItem*, const TQPoint& point, int) {
diff --git a/krusader/Panel/krdetailedviewitem.cpp b/krusader/Panel/krdetailedviewitem.cpp
index 9f2a4e5..79be3e5 100644
--- a/krusader/Panel/krdetailedviewitem.cpp
+++ b/krusader/Panel/krdetailedviewitem.cpp
@@ -84,7 +84,7 @@ KrDetailedViewItem::KrDetailedViewItem(KrDetailedView *tqparent, TQListViewItem
#endif
}
- tqrepaintItem();
+ repaintItem();
}
#ifdef FASTER
@@ -97,7 +97,7 @@ void KrDetailedViewItem::setup() {
}
#endif
-void KrDetailedViewItem::tqrepaintItem() {
+void KrDetailedViewItem::repaintItem() {
if ( dummyVfile ) return;
TQString tmp;
// set text in columns, according to what columns are available
diff --git a/krusader/Panel/krdetailedviewitem.h b/krusader/Panel/krdetailedviewitem.h
index 179a43f..fe1bdad 100644
--- a/krusader/Panel/krdetailedviewitem.h
+++ b/krusader/Panel/krdetailedviewitem.h
@@ -51,7 +51,7 @@ public:
inline void setSelected(bool s) { KListViewItem::setSelected(s); }
int compare(TQListViewItem *i,int col,bool ascending ) const;
void paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int align);
- void tqrepaintItem();
+ void repaintItem();
static void itemHeightChanged(); // force the items to resize when icon/font size change
#ifdef FASTER
virtual void setup(); // called when listview needs to know the height of the item