diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-07 21:14:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-07 21:14:06 +0000 |
commit | 9c49a74a165b8535c28ccbb2fad37334989b2fc7 (patch) | |
tree | f1d72ed61fc64441880b26359d03c58f78b95ada /kdeui | |
parent | 42037fa1562f00d75f02d019c039d51b2c27cc6f (diff) | |
download | tdelibs-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')
-rw-r--r-- | kdeui/kanimwidget.cpp | 2 | ||||
-rw-r--r-- | kdeui/kcharselect.cpp | 34 | ||||
-rw-r--r-- | kdeui/kdatetbl.cpp | 8 | ||||
-rw-r--r-- | kdeui/keditcl.h | 2 | ||||
-rw-r--r-- | kdeui/kiconview.cpp | 2 | ||||
-rw-r--r-- | kdeui/kkeydialog.cpp | 2 | ||||
-rw-r--r-- | kdeui/kled.h | 4 | ||||
-rw-r--r-- | kdeui/klistview.cpp | 34 | ||||
-rw-r--r-- | kdeui/ktoolbar.cpp | 10 |
9 files changed, 49 insertions, 49 deletions
diff --git a/kdeui/kanimwidget.cpp b/kdeui/kanimwidget.cpp index 7b723a1f0..d538bea20 100644 --- a/kdeui/kanimwidget.cpp +++ b/kdeui/kanimwidget.cpp @@ -159,7 +159,7 @@ void KAnimWidget::slotTimerUpdate() d->current_frame = 0; // TODO - // We have to clear the widget when tqrepainting a transparent image + // We have to clear the widget when repainting a transparent image // By doing it like this we get a bit of flicker though. A better // way might be to merge it with the background in drawContents. tqrepaint(d->transparent); diff --git a/kdeui/kcharselect.cpp b/kdeui/kcharselect.cpp index 9f3d76dd2..2ae916efe 100644 --- a/kdeui/kcharselect.cpp +++ b/kdeui/kcharselect.cpp @@ -74,7 +74,7 @@ KCharSelectTable::KCharSelectTable( TQWidget *parent, const char *name, const TQ setNumCols( 32 ); setNumRows( 8 ); - tqrepaintContents( false ); + repaintContents( false ); setToolTips(); @@ -86,7 +86,7 @@ KCharSelectTable::KCharSelectTable( TQWidget *parent, const char *name, const TQ void KCharSelectTable::setFont( const TQString &_font ) { vFont = _font; - tqrepaintContents( false ); + repaintContents( false ); setToolTips(); } @@ -95,7 +95,7 @@ void KCharSelectTable::setFont( const TQString &_font ) void KCharSelectTable::setChar( const TQChar &_chr ) { vChr = _chr; - tqrepaintContents( false ); + repaintContents( false ); } //================================================================== @@ -104,7 +104,7 @@ void KCharSelectTable::setTableNum( int _tableNum ) focusItem = TQChar( _tableNum * 256 ); vTableNum = _tableNum; - tqrepaintContents( false ); + repaintContents( false ); setToolTips(); } @@ -210,9 +210,9 @@ void KCharSelectTable::mouseMoveEvent( TQMouseEvent *e ) focusPos = vPos; focusItem = vChr; - tqrepaintCell( oldFocus.y(), oldFocus.x(), true ); - tqrepaintCell( oldPos.y(), oldPos.x(), true ); - tqrepaintCell( vPos.y(), vPos.x(), true ); + repaintCell( oldFocus.y(), oldFocus.x(), true ); + repaintCell( oldPos.y(), oldPos.x(), true ); + repaintCell( vPos.y(), vPos.x(), true ); emit highlighted( vChr ); emit highlighted(); @@ -256,8 +256,8 @@ void KCharSelectTable::keyPressEvent( TQKeyEvent *e ) vPos = focusPos; vChr = focusItem; - tqrepaintCell( oldPos.y(), oldPos.x(), true ); - tqrepaintCell( vPos.y(), vPos.x(), true ); + repaintCell( oldPos.y(), oldPos.x(), true ); + repaintCell( vPos.y(), vPos.x(), true ); emit activated( vChr ); emit activated(); @@ -277,8 +277,8 @@ void KCharSelectTable::gotoLeft() focusItem = TQChar( vTableNum * 256 + numCols() * focusPos.y() + focusPos.x() ); - tqrepaintCell( oldPos.y(), oldPos.x(), true ); - tqrepaintCell( focusPos.y(), focusPos.x(), true ); + repaintCell( oldPos.y(), oldPos.x(), true ); + repaintCell( focusPos.y(), focusPos.x(), true ); emit focusItemChanged( vChr ); emit focusItemChanged(); @@ -295,8 +295,8 @@ void KCharSelectTable::gotoRight() focusItem = TQChar( vTableNum * 256 + numCols() * focusPos.y() + focusPos.x() ); - tqrepaintCell( oldPos.y(), oldPos.x(), true ); - tqrepaintCell( focusPos.y(), focusPos.x(), true ); + repaintCell( oldPos.y(), oldPos.x(), true ); + repaintCell( focusPos.y(), focusPos.x(), true ); emit focusItemChanged( vChr ); emit focusItemChanged(); @@ -313,8 +313,8 @@ void KCharSelectTable::gotoUp() focusItem = TQChar( vTableNum * 256 + numCols() * focusPos.y() + focusPos.x() ); - tqrepaintCell( oldPos.y(), oldPos.x(), true ); - tqrepaintCell( focusPos.y(), focusPos.x(), true ); + repaintCell( oldPos.y(), oldPos.x(), true ); + repaintCell( focusPos.y(), focusPos.x(), true ); emit focusItemChanged( vChr ); emit focusItemChanged(); @@ -331,8 +331,8 @@ void KCharSelectTable::gotoDown() focusItem = TQChar( vTableNum * 256 + numCols() * focusPos.y() + focusPos.x() ); - tqrepaintCell( oldPos.y(), oldPos.x(), true ); - tqrepaintCell( focusPos.y(), focusPos.x(), true ); + repaintCell( oldPos.y(), oldPos.x(), true ); + repaintCell( focusPos.y(), focusPos.x(), true ); emit focusItemChanged( vChr ); emit focusItemChanged(); diff --git a/kdeui/kdatetbl.cpp b/kdeui/kdatetbl.cpp index 416bd66b1..e4f1ae988 100644 --- a/kdeui/kdatetbl.cpp +++ b/kdeui/kdatetbl.cpp @@ -536,7 +536,7 @@ KDateTable::setDate(const TQDate& date_) numDaysPrevMonth=calendar->daysInMonth(temp); if(changed) { - tqrepaintContents(false); + repaintContents(false); } return true; } @@ -547,16 +547,16 @@ KDateTable::getDate() const return date; } -// what are those tqrepaintContents() good for? (pfeiffer) +// what are those repaintContents() good for? (pfeiffer) void KDateTable::focusInEvent( TQFocusEvent *e ) { -// tqrepaintContents(false); +// repaintContents(false); TQGridView::focusInEvent( e ); } void KDateTable::focusOutEvent( TQFocusEvent *e ) { -// tqrepaintContents(false); +// repaintContents(false); TQGridView::focusOutEvent( e ); } diff --git a/kdeui/keditcl.h b/kdeui/keditcl.h index 289919b3e..35316027c 100644 --- a/kdeui/keditcl.h +++ b/kdeui/keditcl.h @@ -401,7 +401,7 @@ protected: void contentsDropEvent(TQDropEvent* e); private: - TQTimer* tqrepaintTimer; + TQTimer* repaintTimer; QString killbufferstring; TQWidget *parent; diff --git a/kdeui/kiconview.cpp b/kdeui/kiconview.cpp index 6c4c5ff4b..ce1aec637 100644 --- a/kdeui/kiconview.cpp +++ b/kdeui/kiconview.cpp @@ -217,7 +217,7 @@ void KIconView::slotAutoSelect() blockSignals( block ); viewport()->tqsetUpdatesEnabled( update ); - tqrepaintContents( redraw, false ); + repaintContents( redraw, false ); emit selectionChanged(); diff --git a/kdeui/kkeydialog.cpp b/kdeui/kkeydialog.cpp index 775f00661..489f453ba 100644 --- a/kdeui/kkeydialog.cpp +++ b/kdeui/kkeydialog.cpp @@ -1010,7 +1010,7 @@ void KKeyChooserItem::setShortcut( const KShortcut& cut ) { m_cut = cut; m_bModified = (m_cut != m_pList->shortcut(m_iAction)); - listView()->tqrepaintItem( this ); + listView()->repaintItem( this ); } void KKeyChooserItem::commitChanges() diff --git a/kdeui/kled.h b/kdeui/kled.h index 06683bbaa..4e95705e0 100644 --- a/kdeui/kled.h +++ b/kdeui/kled.h @@ -181,7 +181,7 @@ public: /** * Toggle the state of the LED from Off to On and vice versa. * - * The widget will be tqrepainted when returning to the main + * The widget will be repainted when returning to the main * event loop. * @short Toggles LED on->off / off->on. * @deprecated, use #toggle() instead. @@ -257,7 +257,7 @@ public slots: /** * Toggles the state of the led from Off to On or vice versa. * - * The widget tqrepaints itself immediately. + * The widget repaints itself immediately. */ void toggle(); 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(); diff --git a/kdeui/ktoolbar.cpp b/kdeui/ktoolbar.cpp index 90a17a486..6a5995b69 100644 --- a/kdeui/ktoolbar.cpp +++ b/kdeui/ktoolbar.cpp @@ -131,7 +131,7 @@ public: ToolBarInfo toolBarInfo; TQValueList<int> iconSizes; - TQTimer tqrepaintTimer; + TQTimer repaintTimer; // Default Values. bool HiddenDefault; @@ -232,7 +232,7 @@ void KToolBar::init( bool readConfig, bool honorStyle ) layoutTimer = new TQTimer( this ); connect( layoutTimer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( rebuildLayout() ) ); - connect( &(d->tqrepaintTimer), TQT_SIGNAL( timeout() ), + connect( &(d->repaintTimer), TQT_SIGNAL( timeout() ), this, TQT_SLOT( slotRepaint() ) ); if ( kapp ) { // may be null when started inside designer @@ -1435,8 +1435,8 @@ void KToolBar::resizeEvent( TQResizeEvent *e ) { if (layoutTimer->isActive()) { - // Wait with tqrepainting till layout is complete. - d->tqrepaintTimer.start( 100, true ); + // Wait with repainting till layout is complete. + d->repaintTimer.start( 100, true ); } else { @@ -1716,7 +1716,7 @@ void KToolBar::applySettings(KConfig *config, const TQString &_configGroup, bool bool KToolBar::event( TQEvent *e ) { if ( (e->type() == TQEvent::LayoutHint) && isUpdatesEnabled() ) - d->tqrepaintTimer.start( 100, true ); + d->repaintTimer.start( 100, true ); if (e->type() == TQEvent::ChildInserted ) { |