diff options
-rw-r--r-- | certmanager/certmanager.cpp | 2 | ||||
-rw-r--r-- | kaddressbook/editors/imeditorwidget.cpp | 4 | ||||
-rw-r--r-- | kaddressbook/views/cardview.cpp | 44 | ||||
-rw-r--r-- | kaddressbook/views/cardview.h | 6 | ||||
-rw-r--r-- | kalarm/lib/spinbox2.cpp | 2 | ||||
-rw-r--r-- | kalarm/lib/spinbox2private.h | 2 | ||||
-rw-r--r-- | karm/karmstorage.cpp | 2 | ||||
-rw-r--r-- | kdgantt/KDGanttView.cpp | 12 | ||||
-rw-r--r-- | kdgantt/KDGanttViewSubwidgets.cpp | 8 | ||||
-rw-r--r-- | kdgantt/KDGanttViewSubwidgets.h | 2 | ||||
-rw-r--r-- | kmail/ChangeLog | 2 | ||||
-rw-r--r-- | knode/headerview.cpp | 2 | ||||
-rw-r--r-- | korganizer/koagendaitem.cpp | 2 | ||||
-rw-r--r-- | korganizer/kotodoview.cpp | 2 | ||||
-rw-r--r-- | korganizer/timelabels.cpp | 2 | ||||
-rw-r--r-- | libkdepim/kfoldertree.h | 2 |
16 files changed, 48 insertions, 48 deletions
diff --git a/certmanager/certmanager.cpp b/certmanager/certmanager.cpp index 5f70bc220..2ebe66a6a 100644 --- a/certmanager/certmanager.cpp +++ b/certmanager/certmanager.cpp @@ -412,7 +412,7 @@ void CertManager::slotConfigureGpgME() { void CertManager::slotRepaint() { - mKeyListView->tqrepaintContents(); + mKeyListView->repaintContents(); } void CertManager::slotToggleRemote( int idx ) { diff --git a/kaddressbook/editors/imeditorwidget.cpp b/kaddressbook/editors/imeditorwidget.cpp index aba21b65b..d74f51c14 100644 --- a/kaddressbook/editors/imeditorwidget.cpp +++ b/kaddressbook/editors/imeditorwidget.cpp @@ -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 ); } } diff --git a/kaddressbook/views/cardview.cpp b/kaddressbook/views/cardview.cpp index 28803b164..9b0784d89 100644 --- a/kaddressbook/views/cardview.cpp +++ b/kaddressbook/views/cardview.cpp @@ -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(); diff --git a/kaddressbook/views/cardview.h b/kaddressbook/views/cardview.h index 0001fcfb9..e2229dd2d 100644 --- a/kaddressbook/views/cardview.h +++ b/kaddressbook/views/cardview.h @@ -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* ); diff --git a/kalarm/lib/spinbox2.cpp b/kalarm/lib/spinbox2.cpp index 197e83bd6..bdd887912 100644 --- a/kalarm/lib/spinbox2.cpp +++ b/kalarm/lib/spinbox2.cpp @@ -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() diff --git a/kalarm/lib/spinbox2private.h b/kalarm/lib/spinbox2private.h index ec7d2d16f..1c5a71ee6 100644 --- a/kalarm/lib/spinbox2private.h +++ b/kalarm/lib/spinbox2private.h @@ -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 }; diff --git a/karm/karmstorage.cpp b/karm/karmstorage.cpp index 7dc025c23..d56dff0b2 100644 --- a/karm/karmstorage.cpp +++ b/karm/karmstorage.cpp @@ -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++; diff --git a/kdgantt/KDGanttView.cpp b/kdgantt/KDGanttView.cpp index 1c2667b37..db9d85360 100644 --- a/kdgantt/KDGanttView.cpp +++ b/kdgantt/KDGanttView.cpp @@ -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 ) diff --git a/kdgantt/KDGanttViewSubwidgets.cpp b/kdgantt/KDGanttViewSubwidgets.cpp index 88591e887..1c076b3ca 100644 --- a/kdgantt/KDGanttViewSubwidgets.cpp +++ b/kdgantt/KDGanttViewSubwidgets.cpp @@ -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(); diff --git a/kdgantt/KDGanttViewSubwidgets.h b/kdgantt/KDGanttViewSubwidgets.h index af893c863..8c0c61485 100644 --- a/kdgantt/KDGanttViewSubwidgets.h +++ b/kdgantt/KDGanttViewSubwidgets.h @@ -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 ); diff --git a/kmail/ChangeLog b/kmail/ChangeLog index bd7c29081..d3e1a7e5e 100644 --- a/kmail/ChangeLog +++ b/kmail/ChangeLog @@ -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 diff --git a/knode/headerview.cpp b/knode/headerview.cpp index 998d6893b..3b76b26ec 100644 --- a/knode/headerview.cpp +++ b/knode/headerview.cpp @@ -146,7 +146,7 @@ void KNHeaderView::setActive( TQListViewItem *i ) if ( mActiveItem ) { mActiveItem->setActive( false ); - tqrepaintItem( mActiveItem ); + repaintItem( mActiveItem ); mActiveItem = 0; } diff --git a/korganizer/koagendaitem.cpp b/korganizer/koagendaitem.cpp index 1304ef5d2..b9558c396 100644 --- a/korganizer/koagendaitem.cpp +++ b/korganizer/koagendaitem.cpp @@ -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() ) { diff --git a/korganizer/kotodoview.cpp b/korganizer/kotodoview.cpp index bb4b2ba4f..6fe060427 100644 --- a/korganizer/kotodoview.cpp +++ b/korganizer/kotodoview.cpp @@ -656,7 +656,7 @@ bool KOTodoView::scheduleRemoveTodoItem( KOTodoViewItem *todoItem ) void KOTodoView::updateConfig() { - mTodoListView->tqrepaintContents(); + mTodoListView->repaintContents(); } Incidence::List KOTodoView::selectedIncidences() diff --git a/korganizer/timelabels.cpp b/korganizer/timelabels.cpp index 5431594a6..29291a0ae 100644 --- a/korganizer/timelabels.cpp +++ b/korganizer/timelabels.cpp @@ -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" diff --git a/libkdepim/kfoldertree.h b/libkdepim/kfoldertree.h index db0f8baf7..9206b8c5e 100644 --- a/libkdepim/kfoldertree.h +++ b/libkdepim/kfoldertree.h @@ -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 ); |