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
v3.5.13-sru
tpearson 14 years ago
parent 5a8037c240
commit 34f22092c0

@ -125,7 +125,7 @@ void UserActionListView::setCurrentAction( const KrAction* action) {
if ( item ) {
setCurrentItem( item );
// setSelected( item, true );
// tqrepaintItem( item );
// repaintItem( item );
}
}

@ -120,7 +120,7 @@ private:
{
defaultForeground = foregnd;
defaultBackground = backgnd;
listView()->tqrepaintItem( this );
listView()->repaintItem( this );
}
TQString text()

@ -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) {

@ -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;

@ -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

@ -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;

@ -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) {

@ -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

@ -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

Loading…
Cancel
Save