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 | 1fff1cf07591b1226eb568e95283091eedbeff1d (patch) | |
tree | db122070d0fd71fdf7da2e0d89358ea7ca648425 | |
parent | 8f736c7058bf700621528083243ed7d3899d2877 (diff) | |
download | tdenetwork-1fff1cf07591b1226eb568e95283091eedbeff1d.tar.gz tdenetwork-1fff1cf07591b1226eb568e95283091eedbeff1d.zip |
Rename incorrect instances of tqrepaint[...] to repaint[...]
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1240369 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r-- | kopete/libkopete/ui/kopetelistviewitem.cpp | 2 | ||||
-rw-r--r-- | wifi/kwireless/kwirelesswidget.cpp | 2 | ||||
-rw-r--r-- | wifi/picture.cpp | 14 |
3 files changed, 9 insertions, 9 deletions
diff --git a/kopete/libkopete/ui/kopetelistviewitem.cpp b/kopete/libkopete/ui/kopetelistviewitem.cpp index 1b1f7b6c..6e6aad72 100644 --- a/kopete/libkopete/ui/kopetelistviewitem.cpp +++ b/kopete/libkopete/ui/kopetelistviewitem.cpp @@ -1459,7 +1459,7 @@ void Item::tqrepaint() // if we're about to retqlayout, don't bother painting yet. if ( d->tqlayoutTimer.isActive() ) return; - listView()->tqrepaintItem( this ); + listView()->repaintItem( this ); } void Item::retqlayout() diff --git a/wifi/kwireless/kwirelesswidget.cpp b/wifi/kwireless/kwirelesswidget.cpp index b43e0a02..6390a023 100644 --- a/wifi/kwireless/kwirelesswidget.cpp +++ b/wifi/kwireless/kwirelesswidget.cpp @@ -195,7 +195,7 @@ void KWireLessWidget::mousePressEvent(TQMouseEvent *e) void KWireLessWidget::paintEvent(TQPaintEvent*) { // WORK_TO_DO: paint other devices, too: - // for quick tqrepaints, we need a buffered painter! + // for quick repaints, we need a buffered painter! int w, h, space; const int bevel = qualityBarWidth/2; TQPainter painter(this); diff --git a/wifi/picture.cpp b/wifi/picture.cpp index 010a4225..4b03686b 100644 --- a/wifi/picture.cpp +++ b/wifi/picture.cpp @@ -64,7 +64,7 @@ Picture::~Picture () void Picture::paintEvent (TQPaintEvent *) { - TQPainter *pictutqrepainter = new TQPainter (this); + TQPainter *picturepainter = new TQPainter (this); double freq; int mode; device->get_mode (mode); @@ -72,21 +72,21 @@ Picture::paintEvent (TQPaintEvent *) device->get_current_quality (sig, noise, qual); if (!device->get_device_freq (freq) || device->get_txpower_disabled()) { - pictutqrepainter->drawPixmap (X_OFFSET, Y_OFFSET, *NO_CARD); + picturepainter->drawPixmap (X_OFFSET, Y_OFFSET, *NO_CARD); } else if (mode == 1) { - pictutqrepainter->drawPixmap (X_OFFSET, Y_OFFSET, *AD_HOC); + picturepainter->drawPixmap (X_OFFSET, Y_OFFSET, *AD_HOC); } else if (qual == 0) { - pictutqrepainter->drawPixmap (X_OFFSET, Y_OFFSET, *ALL_ALONE); + picturepainter->drawPixmap (X_OFFSET, Y_OFFSET, *ALL_ALONE); } else if (qual > 0) { - pictutqrepainter->drawPixmap (X_OFFSET, Y_OFFSET, *AP_CONNECT); + picturepainter->drawPixmap (X_OFFSET, Y_OFFSET, *AP_CONNECT); } else - pictutqrepainter->drawPixmap (X_OFFSET, Y_OFFSET, *NO_CARD); - delete pictutqrepainter; + picturepainter->drawPixmap (X_OFFSET, Y_OFFSET, *NO_CARD); + delete picturepainter; } |