Rename incorrect instances of tqrepaint[...] to repaint[...]

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1240369 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 14 years ago
parent 09e3107854
commit fc5197ec86

@ -412,7 +412,7 @@ void CertManager::slotConfigureGpgME() {
void CertManager::slotRepaint()
{
mKeyListView->tqrepaintContents();
mKeyListView->repaintContents();
}
void CertManager::slotToggleRemote( int idx ) {

@ -271,7 +271,7 @@ void IMEditorWidget::slotSetStandard()
return; //Selected is already preferred
else {
item->setPreferred( false );
mWidget->lvAddresses->tqrepaintItem( item );
mWidget->lvAddresses->repaintItem( item );
break;
}
}
@ -282,7 +282,7 @@ void IMEditorWidget::slotSetStandard()
mPreferred = current->address();
current->setPreferred( true );
setModified( true );
mWidget->lvAddresses->tqrepaintItem( current );
mWidget->lvAddresses->repaintItem( current );
}
}

@ -107,9 +107,9 @@ class CardViewSeparator
cg.brush(TQColorGroup::Button) );
}
void tqrepaintSeparator()
void repaintSeparator()
{
mView->tqrepaintContents( mRect );
mView->repaintContents( mRect );
}
private:
@ -448,16 +448,16 @@ CardViewItem *CardViewItem::nextItem() const
return item;
}
void CardViewItem::tqrepaintCard()
void CardViewItem::repaintCard()
{
if ( mView )
mView->tqrepaintItem( this );
mView->repaintItem( this );
}
void CardViewItem::setCaption( const TQString &caption )
{
d->mCaption = caption;
tqrepaintCard();
repaintCard();
}
TQString CardViewItem::fieldValue( const TQString &label ) const
@ -653,9 +653,9 @@ void CardView::setCurrentItem( CardViewItem *item )
CardViewItem *it = d->mCurrentItem;
d->mCurrentItem = item;
if ( it )
it->tqrepaintCard();
it->repaintCard();
item->tqrepaintCard();
item->repaintCard();
}
if ( ! d->mOnSeparator )
@ -692,9 +692,9 @@ void CardView::ensureItemVisible( const CardViewItem *item )
ensureVisible( item->d->x + d->mItemWidth, item->d->y, d->mItemSpacing, 0 );
}
void CardView::tqrepaintItem( const CardViewItem *item )
void CardView::repaintItem( const CardViewItem *item )
{
tqrepaintContents( TQRect( item->d->x, item->d->y, d->mItemWidth, item->height() ) );
repaintContents( TQRect( item->d->x, item->d->y, d->mItemWidth, item->height() ) );
}
void CardView::setSelectionMode( CardView::SelectionMode mode )
@ -716,7 +716,7 @@ void CardView::selectAll( bool state )
for ( iter.toFirst(); iter.current(); ++iter ) {
if ( (*iter)->isSelected() ) {
(*iter)->setSelected( false );
(*iter)->tqrepaintCard();
(*iter)->repaintCard();
}
}
@ -743,7 +743,7 @@ void CardView::setSelected( CardViewItem *item, bool selected )
CardViewItem *it = d->mCurrentItem;
d->mCurrentItem = item;
if ( it )
it->tqrepaintCard();
it->repaintCard();
}
if ( d->mSelectionMode == CardView::Single ) {
@ -754,7 +754,7 @@ void CardView::setSelected( CardViewItem *item, bool selected )
if ( selected ) {
item->setSelected( selected );
item->tqrepaintCard();
item->repaintCard();
emit selectionChanged();
emit selectionChanged( item );
} else {
@ -763,7 +763,7 @@ void CardView::setSelected( CardViewItem *item, bool selected )
}
} else if ( d->mSelectionMode == CardView::Multi ) {
item->setSelected( selected );
item->tqrepaintCard();
item->repaintCard();
emit selectionChanged();
} else if ( d->mSelectionMode == CardView::Extended ) {
bool b = signalsBlocked();
@ -772,7 +772,7 @@ void CardView::setSelected( CardViewItem *item, bool selected )
blockSignals( b );
item->setSelected( selected );
item->tqrepaintCard();
item->repaintCard();
emit selectionChanged();
}
}
@ -1048,12 +1048,12 @@ void CardView::contentsMousePressEvent( TQMouseEvent *e )
blockSignals( b );
item->setSelected( true );
item->tqrepaintCard();
item->repaintCard();
emit selectionChanged( item );
} else if ( d->mSelectionMode == CardView::Multi ) {
// toggle the selection
item->setSelected( !item->isSelected() );
item->tqrepaintCard();
item->repaintCard();
emit selectionChanged();
} else if ( d->mSelectionMode == CardView::Extended ) {
if ( (e->button() & Qt::LeftButton) && (e->state() & TQt::ShiftButton) ) {
@ -1079,13 +1079,13 @@ void CardView::contentsMousePressEvent( TQMouseEvent *e )
for ( ; from <= to; from++ ) {
aItem = d->mItemList.at( from );
aItem->setSelected( s );
tqrepaintItem( aItem );
repaintItem( aItem );
}
emit selectionChanged();
} else if ( (e->button() & Qt::LeftButton) && (e->state() & TQt::ControlButton) ) {
item->setSelected( !item->isSelected() );
item->tqrepaintCard();
item->repaintCard();
emit selectionChanged();
} else if ( e->button() & Qt::LeftButton ) {
bool b = signalsBlocked();
@ -1094,7 +1094,7 @@ void CardView::contentsMousePressEvent( TQMouseEvent *e )
blockSignals( b );
item->setSelected( true );
item->tqrepaintCard();
item->repaintCard();
emit selectionChanged();
}
}
@ -1202,13 +1202,13 @@ void CardView::focusInEvent( TQFocusEvent* )
if ( !d->mCurrentItem && d->mItemList.count() )
setCurrentItem( d->mItemList.first() );
else if ( d->mCurrentItem )
d->mCurrentItem->tqrepaintCard();
d->mCurrentItem->repaintCard();
}
void CardView::focusOutEvent( TQFocusEvent* )
{
if ( d->mCurrentItem )
d->mCurrentItem->tqrepaintCard();
d->mCurrentItem->repaintCard();
}
void CardView::keyPressEvent( TQKeyEvent *e )
@ -1363,7 +1363,7 @@ void CardView::keyPressEvent( TQKeyEvent *e )
for ( ; from <= to; from++ ) {
item = d->mItemList.at( from );
item->setSelected( s );
tqrepaintItem( item );
repaintItem( item );
}
emit selectionChanged();

@ -90,7 +90,7 @@ class CardViewItem
Repaints the card. This is done by sending a tqrepaint event to the
view with the clip rect defined as this card.
*/
virtual void tqrepaintCard();
virtual void repaintCard();
/**
Adds a field to the card.
@ -255,7 +255,7 @@ class CardView : public TQScrollView
/**
Repaints the given item.
*/
void tqrepaintItem( const CardViewItem *item );
void repaintItem( const CardViewItem *item );
enum SelectionMode { Single, Multi, Extended, NoSelection };
@ -516,7 +516,7 @@ class CardView : public TQScrollView
void drawContents( TQPainter *p, int clipx, int clipy, int clipw, int cliph );
/**
Sets the tqlayout to dirty and tqrepaints.
Sets the tqlayout to dirty and repaints.
*/
void resizeEvent( TQResizeEvent* );

@ -251,7 +251,7 @@ void SpinBox2::styleChange(TQStyle&)
}
/******************************************************************************
* Called when the extra pair of spin buttons has tqrepainted after a style change.
* Called when the extra pair of spin buttons has repainted after a style change.
* Updates the mirror image of the spin buttons.
*/
void SpinBox2::updateMirror()

@ -46,7 +46,7 @@ class ExtraSpinBox : public SpinBox
virtual void paintEvent(TQPaintEvent*);
virtual void styleChange(TQStyle&) { mNewStylePending = true; }
private:
bool mNewStylePending; // style has changed, but not yet tqrepainted
bool mNewStylePending; // style has changed, but not yet repainted
};

@ -608,7 +608,7 @@ TQString KarmStorage::exportcsvFile( TaskView *taskview,
while ( tasknr < taskview->count() && !dialog.wasCancelled() )
{
dialog.progressBar()->advance( 1 );
if ( tasknr % 15 == 0 ) kapp->processEvents(); // tqrepainting is slow
if ( tasknr % 15 == 0 ) kapp->processEvents(); // repainting is slow
if ( taskview->item_at_index(tasknr)->depth() > maxdepth )
maxdepth = taskview->item_at_index(tasknr)->depth();
tasknr++;

@ -69,7 +69,7 @@
In order to set up a Gantt view, create an object of this class, and
populate it with a number of \a KDGanttViewItem objects.
If you experience problems with the tqrepainting of the content of the
If you experience problems with the repainting of the content of the
Gantt View after scrolling, call \a setRepaintMode().
*/
@ -296,7 +296,7 @@ void KDGanttView::show()
}
/*!
Closes the widget.
The closing is rejected, if a tqrepainting is currently being done.
The closing is rejected, if a repainting is currently being done.
\param alsoDelete if true, the widget is deleted
\return true, if the widget was closed
*/
@ -525,12 +525,12 @@ void KDGanttView::slotMouseButtonPressed ( int button, TQListViewItem * item,
/*!
Specifies whether the content should be tqrepainted after scrolling or
Specifies whether the content should be repainted after scrolling or
not.
\param mode If No, there is no tqrepainting after scrolling. This is
\param mode If No, there is no repainting after scrolling. This is
the fastest mode.
If Medium, there is extra tqrepainting after releasing the
If Medium, there is extra repainting after releasing the
scrollbar. This provides fast scrolling with updated content
after scrolling. Recommended, when tqrepaint problems occur.
This is the default value after startup.
@ -979,7 +979,7 @@ TQSize KDGanttView::drawContents( TQPainter* p,
}
if ( drawTimeLine ) {
p->translate( myCanvasView->frameWidth(), 0);
myTimeHeader->tqrepaintMe( 0, myTimeHeader->width(), p );
myTimeHeader->repaintMe( 0, myTimeHeader->width(), p );
p->translate( -myCanvasView->frameWidth(), thY);
myCanvasView->drawToPainter( p );
if ( drawListView )

@ -1436,7 +1436,7 @@ void KDTimeHeaderWidget::setShowMinorTicks( bool show )
flagShowMinorTicks = show;
if (show)
setShowMajorTicks(false );
//tqrepaintMe();
//repaintMe();
updateTimeTable();
}
@ -1861,7 +1861,7 @@ int KDTimeHeaderWidget::autoScaleMinorTickCount()
}
void KDTimeHeaderWidget::tqrepaintMe(int left,int paintwid, TQPainter* painter)
void KDTimeHeaderWidget::repaintMe(int left,int paintwid, TQPainter* painter)
{
if (flagDoNotRecomputeAfterChange) return;
TQColorGroup qcg =TQColorGroup( white, black,white, darkGray,black,gray,gray) ;
@ -2371,7 +2371,7 @@ void KDTimeHeaderWidget::centerDateTime( const TQDateTime& center )
void KDTimeHeaderWidget::paintEvent(TQPaintEvent *p)
{
tqrepaintMe(p->rect().x(),p->rect().width());
repaintMe(p->rect().x(),p->rect().width());
}
@ -2522,7 +2522,7 @@ void KDTimeHeaderWidget::mouseMoveEvent ( TQMouseEvent * e )
myGanttView->myCanvasView->horizontalScrollBar()->lineStep();
}
tqrepaintMe(-x(),tqparentWidget()->width());
repaintMe(-x(),tqparentWidget()->width());
if ( val > -1 ) {
if ( val > myGanttView->myCanvasView->horizontalScrollBar()->maxValue() ) {
val = myGanttView->myCanvasView->horizontalScrollBar()->maxValue();

@ -175,7 +175,7 @@ public:
return ccList;
}
TQColor weekdayColor[8];
void tqrepaintMe(int left, int wid, TQPainter *p = 0);
void repaintMe(int left, int wid, TQPainter *p = 0);
void centerDateTime( const TQDateTime& center );

@ -494,7 +494,7 @@ Sun Sep 6 18:28:45 1998 Markus Wuebben <markus@kde.org>
ignored.
* Finetuning: added missing pixmaps to makefile and
tqrepainted pixmap for queued and sent messages.
repainted pixmap for queued and sent messages.
* Composer: changed behaviour of email completion a bit.
Now it is possible to add multiple recipients with comma

@ -146,7 +146,7 @@ void KNHeaderView::setActive( TQListViewItem *i )
if ( mActiveItem ) {
mActiveItem->setActive( false );
tqrepaintItem( mActiveItem );
repaintItem( mActiveItem );
mActiveItem = 0;
}

@ -737,7 +737,7 @@ void KOAgendaItem::paintEvent( TQPaintEvent *ev )
if ( !mIncidence )return;
TQRect visRect = visibleRect();
// when scrolling horizontally in the side-by-side view, the tqrepainted area is clipped
// when scrolling horizontally in the side-by-side view, the repainted area is clipped
// to the newly visible area, which is a problem since the content changes when visRect
// changes, so tqrepaint the full item in that case
if ( ev->rect() != visRect && visRect.isValid() && ev->rect().isValid() ) {

@ -656,7 +656,7 @@ bool KOTodoView::scheduleRemoveTodoItem( KOTodoViewItem *todoItem )
void KOTodoView::updateConfig()
{
mTodoListView->tqrepaintContents();
mTodoListView->repaintContents();
}
Incidence::List KOTodoView::selectedIncidences()

@ -244,7 +244,7 @@ void TimeLabels::paintEvent(TQPaintEvent*)
// this is another hack!
// TQPainter painter(this);
//TQString c
tqrepaintContents(contentsX(), contentsY(), visibleWidth(), visibleHeight());
repaintContents(contentsX(), contentsY(), visibleWidth(), visibleHeight());
}
#include "timelabels.moc"

@ -310,7 +310,7 @@ class KDE_EXPORT KFolderTree : public KListView
int mSizeIndex;
private slots:
/** tqrepaints the complete column (instead of only parts of it as done in
/** repaints the complete column (instead of only parts of it as done in
TQListView) if the size has changed */
void slotSizeChanged( int section, int oldSize, int newSize );

Loading…
Cancel
Save