summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-07 21:14:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-07 21:14:06 +0000
commit6171b5113040c768f68b673ec0e8ae2f82c64391 (patch)
treef67c2b1d073d34517739a905e4e550ec2d675deb
parent0ec9a2e4ecb64811b592c6736bc47fadadc0e27f (diff)
downloadtdebase-6171b5113040c768f68b673ec0e8ae2f82c64391.tar.gz
tdebase-6171b5113040c768f68b673ec0e8ae2f82c64391.zip
Rename incorrect instances of tqrepaint[...] to repaint[...]
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1240369 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--kate/app/katefilelist.cpp8
-rw-r--r--kcontrol/background/bgrender.cpp2
-rw-r--r--kdesktop/bgmanager.cc8
-rw-r--r--kdesktop/bgmanager.h2
-rw-r--r--khotkeys/kcontrol/action_list_widget.cpp2
-rw-r--r--khotkeys/kcontrol/actions_listview_widget.cpp2
-rw-r--r--khotkeys/kcontrol/condition_list_widget.cpp2
-rw-r--r--khotkeys/kcontrol/tab_widget.cpp2
-rw-r--r--khotkeys/kcontrol/windowdef_list_widget.cpp2
-rw-r--r--kicker/applets/menu/menuapplet.cpp2
-rw-r--r--kicker/extensions/kasbar/kasbar.cpp2
-rw-r--r--kicker/extensions/kasbar/kasbar.h2
-rw-r--r--kicker/extensions/kasbar/kasitem.cpp2
-rw-r--r--kicker/kicker/core/containerarea.cpp2
-rw-r--r--kicker/kicker/ui/k_mnu.cpp2
-rw-r--r--kicker/proxy/appletproxy.cpp6
-rw-r--r--kicker/proxy/appletproxy.h2
-rw-r--r--konqueror/keditbookmarks/listview.cpp2
-rw-r--r--konqueror/listview/konq_listviewitems.cc4
-rw-r--r--konqueror/listview/konq_listviewwidget.cc4
-rw-r--r--konsole/konsole/TEWidget.cpp6
-rw-r--r--ksysguard/gui/SensorBrowser.cc4
-rw-r--r--ksysguard/gui/SensorDisplayLib/ProcessList.cc4
-rw-r--r--ksysguard/gui/SensorDisplayLib/SignalPlotter.cc2
-rw-r--r--kwin/lib/kcommondecoration.h2
-rw-r--r--kwin/lib/kdecoration.h4
-rw-r--r--kwin/tools/decobenchmark/preview.cpp2
-rw-r--r--kwin/workspace.cpp2
-rw-r--r--libkonq/konq_dirpart.cc2
-rw-r--r--libkonq/konq_iconviewwidget.cc28
-rw-r--r--nsplugins/viewer/qxteventloop.cpp2
31 files changed, 59 insertions, 59 deletions
diff --git a/kate/app/katefilelist.cpp b/kate/app/katefilelist.cpp
index a45e8a107..c29bdd1e1 100644
--- a/kate/app/katefilelist.cpp
+++ b/kate/app/katefilelist.cpp
@@ -273,11 +273,11 @@ void KateFileList::slotModChanged (Kate::Document *doc)
for ( uint i=0; i < m_editHistory.count(); i++ )
{
m_editHistory.tqat( i )->setEditHistPos( i+1 );
- tqrepaintItem( m_editHistory.tqat( i ) );
+ repaintItem( m_editHistory.tqat( i ) );
}
}
else
- tqrepaintItem( item );
+ repaintItem( item );
}
void KateFileList::slotModifiedOnDisc (Kate::Document *doc, bool, unsigned char)
@@ -296,7 +296,7 @@ void KateFileList::slotNameChanged (Kate::Document *doc)
if ( ((KateFileListItem*)item)->document() == doc )
{
item->setText( 0, doc->docName() );
- tqrepaintItem( item );
+ repaintItem( item );
break;
}
item = item->nextSibling();
@@ -343,7 +343,7 @@ void KateFileList::slotViewChanged ()
for ( uint i=0; i < m_viewHistory.count(); i++ )
{
m_viewHistory.tqat( i )->setViewHistPos( i+1 );
- tqrepaintItem( m_viewHistory.tqat( i ) );
+ repaintItem( m_viewHistory.tqat( i ) );
}
}
diff --git a/kcontrol/background/bgrender.cpp b/kcontrol/background/bgrender.cpp
index 7fd5cffd8..c6195e718 100644
--- a/kcontrol/background/bgrender.cpp
+++ b/kcontrol/background/bgrender.cpp
@@ -191,7 +191,7 @@ int KBackgroundRenderer::doBackground(bool quit)
int tile_val = TQPixmap::defaultDepth() >= 24 ? 1 : 2;
// some dithering may be needed even with bpb==15/16, so don't use tileWidth==1
// for them
- // with tileWidth>2, tqrepainting the desktop causes nasty effect (XFree86 4.1.0 )
+ // with tileWidth>2, repainting the desktop causes nasty effect (XFree86 4.1.0 )
if( XQueryBestTile( qt_xdisplay(), qt_xrootwin(), tile_val, tile_val,
&tileWidth, &tileHeight ) != Success )
tileWidth = tileHeight = tile_val; // some defaults
diff --git a/kdesktop/bgmanager.cc b/kdesktop/bgmanager.cc
index 19d24870c..6d227eced 100644
--- a/kdesktop/bgmanager.cc
+++ b/kdesktop/bgmanager.cc
@@ -345,7 +345,7 @@ void KBackgroundManager::slotChangeNumberOfDesktops(int num)
/*
* Call this when the desktop has been changed.
* Desk is in KWin convention: [1..desks], instead of [0..desks-1].
- * 0 tqrepaints the current desktop.
+ * 0 repaints the current desktop.
*/
void KBackgroundManager::slotChangeDesktop(int desk)
{
@@ -405,7 +405,7 @@ void KBackgroundManager::slotChangeDesktop(int desk)
/*
* Call this when the viewport has been changed.
* Desk is in KWin convention: [1..desks], instead of [0..desks-1].
- * 0 tqrepaints the current viewport.
+ * 0 repaints the current viewport.
*/
void KBackgroundManager::slotChangeViewport(int desk, const TQPoint& viewport)
{
@@ -931,7 +931,7 @@ void KBackgroundManager::setWallpaper(int desk, TQString wallpaper, int mode)
slotChangeDesktop(sdesk);
}
-void KBackgroundManager::tqrepaintBackground()
+void KBackgroundManager::repaintBackground()
{
if (m_pDesktop)
m_pDesktop->tqrepaint();
@@ -966,7 +966,7 @@ void KBackgroundManager::desktopResized()
m_pDesktop->resize( kapp->desktop()->geometry().size());
// Repaint desktop
slotChangeDesktop(0);
- tqrepaintBackground();
+ repaintBackground();
// Redraw all desktops so that applications relying on exported data, e.g. kpager, continue to work properly
TQSize s(m_pKwinmodule->numberOfViewports(m_pKwinmodule->currentDesktop()));
diff --git a/kdesktop/bgmanager.h b/kdesktop/bgmanager.h
index 62a23ca38..af16e22ed 100644
--- a/kdesktop/bgmanager.h
+++ b/kdesktop/bgmanager.h
@@ -91,7 +91,7 @@ private slots:
void slotChangeDesktop(int);
void slotChangeViewport(int, const TQPoint&);
void slotChangeNumberOfDesktops(int);
- void tqrepaintBackground();
+ void repaintBackground();
void desktopResized();
void clearRoot();
void saveImages();
diff --git a/khotkeys/kcontrol/action_list_widget.cpp b/khotkeys/kcontrol/action_list_widget.cpp
index b4a4d5693..a2fedfdfb 100644
--- a/khotkeys/kcontrol/action_list_widget.cpp
+++ b/khotkeys/kcontrol/action_list_widget.cpp
@@ -222,7 +222,7 @@ void Action_list_widget::edit_listview_item( Action_list_item* item_P )
{
item_P->set_action( new_action );
item_P->widthChanged( 0 );
- actions_listview->tqrepaintItem( item_P );
+ actions_listview->repaintItem( item_P );
}
delete dlg;
}
diff --git a/khotkeys/kcontrol/actions_listview_widget.cpp b/khotkeys/kcontrol/actions_listview_widget.cpp
index f9f390fe2..cd61e2ae6 100644
--- a/khotkeys/kcontrol/actions_listview_widget.cpp
+++ b/khotkeys/kcontrol/actions_listview_widget.cpp
@@ -49,7 +49,7 @@ Actions_listview_widget::Actions_listview_widget( TQWidget* parent_P, const char
void Actions_listview_widget::action_name_changed( const TQString& )
{
current_action()->widthChanged( 0 );
- actions_listview->tqrepaintItem( current_action());
+ actions_listview->repaintItem( current_action());
}
void Actions_listview_widget::set_action_data( Action_data_base* data_P, bool recent_action_P )
diff --git a/khotkeys/kcontrol/condition_list_widget.cpp b/khotkeys/kcontrol/condition_list_widget.cpp
index 3076883ca..d172f5277 100644
--- a/khotkeys/kcontrol/condition_list_widget.cpp
+++ b/khotkeys/kcontrol/condition_list_widget.cpp
@@ -328,7 +328,7 @@ void Condition_list_widget::edit_listview_item( Condition_list_item* item_P )
conditions.insert( pos, new_condition );
}
item_P->widthChanged( 0 );
- conditions_listview->tqrepaintItem( item_P );
+ conditions_listview->repaintItem( item_P );
}
#ifdef KHOTKEYS_DEBUG
kdDebug( 1217 ) << "Condition_list_widget::edit_listview_item():" << endl;
diff --git a/khotkeys/kcontrol/tab_widget.cpp b/khotkeys/kcontrol/tab_widget.cpp
index 7f8aa1396..243543519 100644
--- a/khotkeys/kcontrol/tab_widget.cpp
+++ b/khotkeys/kcontrol/tab_widget.cpp
@@ -434,7 +434,7 @@ const char* const Tab_widget::tab_labels[ Tab_widget::TAB_END ] = {
void Tab_widget::show_pages( const Pages_set& pages_P )
{
- hide(); // this seems to be necessary, otherwise it's not tqrepainter properly
+ hide(); // this seems to be necessary, otherwise it's not repainter properly
for( tab_pos_t i = TAB_FIRST;
i < TAB_END;
++i )
diff --git a/khotkeys/kcontrol/windowdef_list_widget.cpp b/khotkeys/kcontrol/windowdef_list_widget.cpp
index f0891af78..1533da6de 100644
--- a/khotkeys/kcontrol/windowdef_list_widget.cpp
+++ b/khotkeys/kcontrol/windowdef_list_widget.cpp
@@ -192,7 +192,7 @@ void Windowdef_list_widget::edit_listview_item( Windowdef_list_item* item_P )
{
item_P->set_window( new_window );
item_P->widthChanged( 0 ); // SELI tohle i u dalsich listview?
- windows_listview->tqrepaintItem( item_P );
+ windows_listview->repaintItem( item_P );
}
delete dlg;
}
diff --git a/kicker/applets/menu/menuapplet.cpp b/kicker/applets/menu/menuapplet.cpp
index 34540defb..2e0bb4311 100644
--- a/kicker/applets/menu/menuapplet.cpp
+++ b/kicker/applets/menu/menuapplet.cpp
@@ -48,7 +48,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
This is because TQMenuBar tries really hard to keep its preffered size,
se even if the X window for the menubar has the size enforced by this
applet, Qt thinks it has the size Qt wants. This results in parts
- of the menubar not being tqrepainted. Also, old KMenuBar always forced
+ of the menubar not being repainted. Also, old KMenuBar always forced
with to be the width of the screen, so even if the menubar has only
few entries, this applet will still indicate the menubar doesn't
fit completely in it. There's no way to fix this, besides upgrading
diff --git a/kicker/extensions/kasbar/kasbar.cpp b/kicker/extensions/kasbar/kasbar.cpp
index 1fb2d6ad3..85c65deec 100644
--- a/kicker/extensions/kasbar/kasbar.cpp
+++ b/kicker/extensions/kasbar/kasbar.cpp
@@ -646,7 +646,7 @@ void KasBar::updateItem( KasItem *i )
update( TQRect( pos, TQSize( itemExtent(), itemExtent() ) ) );
}
-void KasBar::tqrepaintItem(KasItem *i, bool erase )
+void KasBar::repaintItem(KasItem *i, bool erase )
{
if ( !i )
return;
diff --git a/kicker/extensions/kasbar/kasbar.h b/kicker/extensions/kasbar/kasbar.h
index c75bdc31e..d56a592a5 100644
--- a/kicker/extensions/kasbar/kasbar.h
+++ b/kicker/extensions/kasbar/kasbar.h
@@ -188,7 +188,7 @@ public:
void updateItem( KasItem *i );
/** Redraws the specified item. */
- void tqrepaintItem(KasItem *i, bool erase = true );
+ void repaintItem(KasItem *i, bool erase = true );
/** Returns the item at p or 0. */
KasItem* itemAt(const TQPoint &p);
diff --git a/kicker/extensions/kasbar/kasitem.cpp b/kicker/extensions/kasbar/kasitem.cpp
index 3c6147b1a..d8bd83b54 100644
--- a/kicker/extensions/kasbar/kasitem.cpp
+++ b/kicker/extensions/kasbar/kasitem.cpp
@@ -555,7 +555,7 @@ void KasItem::tqrepaint()
void KasItem::tqrepaint( bool erase )
{
if ( kas->isVisible() )
- kas->tqrepaintItem( this, erase );
+ kas->repaintItem( this, erase );
}
void KasItem::update()
diff --git a/kicker/kicker/core/containerarea.cpp b/kicker/kicker/core/containerarea.cpp
index 38e0f844b..412eeec1e 100644
--- a/kicker/kicker/core/containerarea.cpp
+++ b/kicker/kicker/core/containerarea.cpp
@@ -1718,7 +1718,7 @@ void ContainerArea::setPosition(KPanelExtension::Position p)
m_contents->move(0, 0);
setBackground();
- // container extension tqrepaints for us!
+ // container extension repaints for us!
//tqrepaint();
}
diff --git a/kicker/kicker/ui/k_mnu.cpp b/kicker/kicker/ui/k_mnu.cpp
index b6d0db296..110cd15f0 100644
--- a/kicker/kicker/ui/k_mnu.cpp
+++ b/kicker/kicker/ui/k_mnu.cpp
@@ -422,7 +422,7 @@ void PanelKMenu::repairDisplay(void) {
// This forces a layout/tqrepaint of the qpopupmenu
tqrepaint(); // This ensures that the side bar image was applied
styleChange(tqstyle()); // This forces a call to the private function updateSize(TRUE) inside the qpopupmenu.
- update(); // This tqrepaints the entire popup menu to apply the widget size/tqalignment changes made above
+ update(); // This repaints the entire popup menu to apply the widget size/tqalignment changes made above
}
}
diff --git a/kicker/proxy/appletproxy.cpp b/kicker/proxy/appletproxy.cpp
index 312c78f97..7b8243777 100644
--- a/kicker/proxy/appletproxy.cpp
+++ b/kicker/proxy/appletproxy.cpp
@@ -226,7 +226,7 @@ KPanelApplet* AppletProxy::loadApplet(const AppletInfo& info)
return init_ptr(0, info.configFile());
}
-void AppletProxy::tqrepaintApplet(TQWidget* widget)
+void AppletProxy::repaintApplet(TQWidget* widget)
{
widget->tqrepaint();
@@ -243,7 +243,7 @@ void AppletProxy::tqrepaintApplet(TQWidget* widget)
TQWidget *w = dynamic_cast<TQWidget*>(*it);
if (w)
{
- tqrepaintApplet(w);
+ repaintApplet(w);
}
}
}
@@ -441,7 +441,7 @@ bool AppletProxy::process(const TQCString &fun, const TQByteArray &data,
_applet->blockSignals(true);
_applet->setBackgroundMode(TQt::FixedPixmap);
_applet->setPaletteBackgroundPixmap(_bg);
- tqrepaintApplet(_applet);
+ repaintApplet(_applet);
_applet->blockSignals(false);
}
return true;
diff --git a/kicker/proxy/appletproxy.h b/kicker/proxy/appletproxy.h
index 40ff78cc4..4c504022f 100644
--- a/kicker/proxy/appletproxy.h
+++ b/kicker/proxy/appletproxy.h
@@ -56,7 +56,7 @@ protected slots:
void slotApplicationRemoved(const TQCString&);
private:
- void tqrepaintApplet(TQWidget* widget);
+ void repaintApplet(TQWidget* widget);
AppletInfo *_info;
KPanelApplet *_applet;
diff --git a/konqueror/keditbookmarks/listview.cpp b/konqueror/keditbookmarks/listview.cpp
index 64ec1d337..3f2be1e36 100644
--- a/konqueror/keditbookmarks/listview.cpp
+++ b/konqueror/keditbookmarks/listview.cpp
@@ -829,7 +829,7 @@ void KEBListViewItem::setSelected(bool s)
{
ListView::self()->selected(this, false);
TQListViewItem::setSelected( false );
- ListView::deselectAllChildren( this ); //tqrepaints
+ ListView::deselectAllChildren( this ); //repaints
}
else if(parentSelected(this))
return;
diff --git a/konqueror/listview/konq_listviewitems.cc b/konqueror/listview/konq_listviewitems.cc
index a8f92c0d3..36aa10544 100644
--- a/konqueror/listview/konq_listviewitems.cc
+++ b/konqueror/listview/konq_listviewitems.cc
@@ -216,7 +216,7 @@ void KonqListViewItem::setPixmap( int column, const TQPixmap& pm )
}
// If we're just replacing the icon with another one its size -- i.e. a
- // "highlighted" icon, don't bother tqrepainting the whole widget.
+ // "highlighted" icon, don't bother repainting the whole widget.
TQListView *lv = m_pListViewWidget;
@@ -225,7 +225,7 @@ void KonqListViewItem::setPixmap( int column, const TQPixmap& pm )
int y = lv->itemPos( this );
int w = newWidth;
int h = height();
- lv->tqrepaintContents( x, y, w, h );
+ lv->repaintContents( x, y, w, h );
}
const TQPixmap* KonqListViewItem::pixmap( int column ) const
diff --git a/konqueror/listview/konq_listviewwidget.cc b/konqueror/listview/konq_listviewwidget.cc
index a39796579..2ecee655f 100644
--- a/konqueror/listview/konq_listviewwidget.cc
+++ b/konqueror/listview/konq_listviewwidget.cc
@@ -410,7 +410,7 @@ void KonqBaseListViewWidget::contentsMousePressEvent( TQMouseEvent *e )
TQRect r( m_rubber->normalize() );
delete m_rubber;
m_rubber = 0;
- tqrepaintContents( r, FALSE );
+ repaintContents( r, FALSE );
}
delete m_selected;
@@ -448,7 +448,7 @@ void KonqBaseListViewWidget::contentsMouseReleaseEvent( TQMouseEvent *e )
TQRect r( m_rubber->normalize() );
delete m_rubber;
m_rubber = 0;
- tqrepaintContents( r, FALSE );
+ repaintContents( r, FALSE );
}
if ( m_scrollTimer )
diff --git a/konsole/konsole/TEWidget.cpp b/konsole/konsole/TEWidget.cpp
index 6b350b261..37dc4785a 100644
--- a/konsole/konsole/TEWidget.cpp
+++ b/konsole/konsole/TEWidget.cpp
@@ -835,7 +835,7 @@ void TEWidget::setImage(const ca* const newimg, int lines, int columns)
const ca* lcl = &image[y*this->columns];
const ca* const ext = &newimg[y*columns];
- // The dirty mask indicates which characters need tqrepainting. We also
+ // The dirty mask indicates which characters need repainting. We also
// mark surrounding neighbours dirty, in case the character exceeds
// its cell boundaries
memset(dirtyMask, 0, cols+2);
@@ -1976,13 +1976,13 @@ void TEWidget::imEndEvent( TQIMEvent *e )
int tLx = tL.x();
int tLy = tL.y();
- TQRect tqrepaintRect = TQRect( bX+tLx, bY+tLy+font_h*m_imStartLine,
+ TQRect repaintRect = TQRect( bX+tLx, bY+tLy+font_h*m_imStartLine,
contentsRect().width(), contentsRect().height() );
m_imStart = 0;
m_imPreeditLength = 0;
m_isIMEdit = m_isIMSel = false;
- tqrepaint( tqrepaintRect, true );
+ tqrepaint( repaintRect, true );
}
// Override any Ctrl+<key> accelerator when pressed with the keyboard
diff --git a/ksysguard/gui/SensorBrowser.cc b/ksysguard/gui/SensorBrowser.cc
index 90705af1c..694e16ef2 100644
--- a/ksysguard/gui/SensorBrowser.cc
+++ b/ksysguard/gui/SensorBrowser.cc
@@ -225,13 +225,13 @@ void SensorBrowser::answerReceived( int id, const TQString &answer )
parent = lvi;
// The child indicator might need to be updated.
- tqrepaintItem( parent );
+ repaintItem( parent );
} else
parent = sibling;
}
}
- tqrepaintItem( (*it)->listViewItem() );
+ repaintItem( (*it)->listViewItem() );
}
void SensorBrowser::viewportMouseMoveEvent( TQMouseEvent *e )
diff --git a/ksysguard/gui/SensorDisplayLib/ProcessList.cc b/ksysguard/gui/SensorDisplayLib/ProcessList.cc
index 278e837c8..342a6e5e5 100644
--- a/ksysguard/gui/SensorDisplayLib/ProcessList.cc
+++ b/ksysguard/gui/SensorDisplayLib/ProcessList.cc
@@ -909,7 +909,7 @@ ProcessList::selectAllItems(bool select)
for ( ; it.current(); ++it )
{
it.current()->setSelected(select);
- tqrepaintItem(it.current());
+ repaintItem(it.current());
if (select)
selectedPIds.append(it.current()->text(1).toInt());
}
@@ -928,7 +928,7 @@ ProcessList::selectAllChilds(int pid, bool select)
{
int currPId = it.current()->text(1).toInt();
it.current()->setSelected(select);
- tqrepaintItem(it.current());
+ repaintItem(it.current());
if (select)
selectedPIds.append(currPId);
else
diff --git a/ksysguard/gui/SensorDisplayLib/SignalPlotter.cc b/ksysguard/gui/SensorDisplayLib/SignalPlotter.cc
index 48cc5489d..dbf4e7fc2 100644
--- a/ksysguard/gui/SensorDisplayLib/SignalPlotter.cc
+++ b/ksysguard/gui/SensorDisplayLib/SignalPlotter.cc
@@ -390,7 +390,7 @@ void SignalPlotter::paintEvent( TQPaintEvent* )
uint w = width();
uint h = height();
- /* Do not do tqrepaints when the widget is not yet setup properly. */
+ /* Do not do repaints when the widget is not yet setup properly. */
if ( w <= 2 )
return;
diff --git a/kwin/lib/kcommondecoration.h b/kwin/lib/kcommondecoration.h
index 4dcaf51fb..ff720ab91 100644
--- a/kwin/lib/kcommondecoration.h
+++ b/kwin/lib/kcommondecoration.h
@@ -202,7 +202,7 @@ class KWIN_EXPORT KCommonDecoration : public KDecoration
*/
void updateLayout() const;
/**
- * Makes sure all buttons are tqrepainted.
+ * Makes sure all buttons are repainted.
*/
void updateButtons() const;
/**
diff --git a/kwin/lib/kdecoration.h b/kwin/lib/kdecoration.h
index 61c3d924f..37dc3f69a 100644
--- a/kwin/lib/kdecoration.h
+++ b/kwin/lib/kdecoration.h
@@ -573,13 +573,13 @@ class KWIN_EXPORT KDecoration
* whether it's shaded. Decorations often turn off their bottom border when the
* window is shaded, and turn off their left/right/bottom borders when
* the window is maximized and moving and resizing of maximized windows is disabled.
- * This function mustn't do any tqrepaints or resizes. Also, if the sizes returned
+ * This function mustn't do any repaints or resizes. Also, if the sizes returned
* by this function don't match the real values, this may result in drawing errors
* or other problems.
*
* @see KDecorationOptions::moveResizeMaximizedWindows()
*/
- // mustn't do any tqrepaints, resizes or anything like that
+ // mustn't do any repaints, resizes or anything like that
virtual void borders( int& left, int& right, int& top, int& bottom ) const = 0;
/**
* This method is called by kwin when the style should resize the decoration window.
diff --git a/kwin/tools/decobenchmark/preview.cpp b/kwin/tools/decobenchmark/preview.cpp
index e4dfd0ec1..50a12fb24 100644
--- a/kwin/tools/decobenchmark/preview.cpp
+++ b/kwin/tools/decobenchmark/preview.cpp
@@ -61,7 +61,7 @@ KDecorationPreview::~KDecorationPreview()
void KDecorationPreview::performRepaintTest(int n)
{
- kdDebug() << "start " << n << " tqrepaints..." << endl;
+ kdDebug() << "start " << n << " repaints..." << endl;
bridge->setCaption("Deco Benchmark");
deco->captionChange();
positionPreviews(0);
diff --git a/kwin/workspace.cpp b/kwin/workspace.cpp
index 48c8494bd..078d4d51b 100644
--- a/kwin/workspace.cpp
+++ b/kwin/workspace.cpp
@@ -1145,7 +1145,7 @@ void Workspace::refresh()
going to be hidden are first obscured by new windows with no background
( i.e. transparent ) placed right below the windows. These invisible windows
are removed after the switch is complete.
- Reduces desktop ( wallpaper ) tqrepaints during desktop switching
+ Reduces desktop ( wallpaper ) repaints during desktop switching
*/
class ObscuringWindows
{
diff --git a/libkonq/konq_dirpart.cc b/libkonq/konq_dirpart.cc
index e3059f4a2..14a85fa30 100644
--- a/libkonq/konq_dirpart.cc
+++ b/libkonq/konq_dirpart.cc
@@ -548,7 +548,7 @@ void KonqDirPart::slotIconSizeToggled( bool toggleOn )
// This slot is called when an iconsize action is checked or by calling
// action->setChecked(false) (previously true). So we must filter out
- // the 'untoggled' case to prevent odd results here (tqrepaints/loops!)
+ // the 'untoggled' case to prevent odd results here (repaints/loops!)
if ( !toggleOn )
return;
diff --git a/libkonq/konq_iconviewwidget.cc b/libkonq/konq_iconviewwidget.cc
index 2c32b5778..6ab540761 100644
--- a/libkonq/konq_iconviewwidget.cc
+++ b/libkonq/konq_iconviewwidget.cc
@@ -478,7 +478,7 @@ void KonqIconViewWidget::slotMovieUpdate( const TQRect& rect )
}
d->pActiveItem->setPixmapDirect( frame, false, false /*no redraw*/ );
TQRect pixRect = d->pActiveItem->pixmapRect(false);
- tqrepaintContents( pixRect.x() + rect.x(), pixRect.y() + rect.y(), rect.width(), rect.height(), false );
+ repaintContents( pixRect.x() + rect.x(), pixRect.y() + rect.y(), rect.width(), rect.height(), false );
}
}
@@ -648,7 +648,7 @@ void KonqIconViewWidget::setIcons( int size, const TQStringList& stopImagePrevie
}
bool stopAll = !stopImagePreviewFor.isEmpty() && stopImagePreviewFor.first() == "*";
- // Disable tqrepaints that can be triggered by ivi->setIcon(). Since icons are
+ // Disable repaints that can be triggered by ivi->setIcon(). Since icons are
// resized in-place, if the icon size is increasing it can happens that the right
// or bottom icons exceed the size of the viewport.. here we prevent the tqrepaint
// event that will be triggered in that case.
@@ -1703,7 +1703,7 @@ void KonqIconViewWidget::lineupIcons()
}
// Perform the actual moving
- TQRegion tqrepaintRegion;
+ TQRegion repaintRegion;
TQValueList<TQIconViewItem*> movedItems;
for ( i = 0; i < nx; i++ ) {
@@ -1722,7 +1722,7 @@ void KonqIconViewWidget::lineupIcons()
movedItems.prepend( item );
item->move( newX, newY );
if ( item->rect() != oldRect )
- tqrepaintRegion = tqrepaintRegion.unite( oldRect );
+ repaintRegion = repaintRegion.unite( oldRect );
}
}
delete bin;
@@ -1734,16 +1734,16 @@ void KonqIconViewWidget::lineupIcons()
if ( newItemWidth )
updateContents();
else {
- // Repaint only tqrepaintRegion...
- TQMemArray<TQRect> rects = tqrepaintRegion.tqrects();
+ // Repaint only repaintRegion...
+ TQMemArray<TQRect> rects = repaintRegion.tqrects();
for ( uint l = 0; l < rects.count(); l++ ) {
kdDebug( 1203 ) << "Repainting (" << rects[l].x() << ","
<< rects[l].y() << ")\n";
- tqrepaintContents( rects[l], false );
+ repaintContents( rects[l], false );
}
// Repaint icons that were moved
while ( !movedItems.isEmpty() ) {
- tqrepaintItem( movedItems.first() );
+ repaintItem( movedItems.first() );
movedItems.remove( movedItems.first() );
}
}
@@ -1760,7 +1760,7 @@ void KonqIconViewWidget::lineupIcons( TQIconView::Arrangement arrangement )
gridValues( &x0, &y0, &dx, &dy, &nxmax, &nymax );
int textHeight = iconTextHeight() * fontMetrics().height();
- TQRegion tqrepaintRegion;
+ TQRegion repaintRegion;
TQValueList<TQIconViewItem*> movedItems;
int nx = 0, ny = 0;
@@ -1775,7 +1775,7 @@ void KonqIconViewWidget::lineupIcons( TQIconView::Arrangement arrangement )
movedItems.prepend( item );
item->move( newX, newY );
if ( item->rect() != oldRect )
- tqrepaintRegion = tqrepaintRegion.unite( oldRect );
+ repaintRegion = repaintRegion.unite( oldRect );
}
if ( arrangement == TQIconView::LeftToRight ) {
nx++;
@@ -1793,16 +1793,16 @@ void KonqIconViewWidget::lineupIcons( TQIconView::Arrangement arrangement )
}
}
- // Repaint only tqrepaintRegion...
- TQMemArray<TQRect> rects = tqrepaintRegion.tqrects();
+ // Repaint only repaintRegion...
+ TQMemArray<TQRect> rects = repaintRegion.tqrects();
for ( uint l = 0; l < rects.count(); l++ ) {
kdDebug( 1203 ) << "Repainting (" << rects[l].x() << ","
<< rects[l].y() << ")\n";
- tqrepaintContents( rects[l], false );
+ repaintContents( rects[l], false );
}
// Repaint icons that were moved
while ( !movedItems.isEmpty() ) {
- tqrepaintItem( movedItems.first() );
+ repaintItem( movedItems.first() );
movedItems.remove( movedItems.first() );
}
}
diff --git a/nsplugins/viewer/qxteventloop.cpp b/nsplugins/viewer/qxteventloop.cpp
index 327eaa77e..ee115d9f0 100644
--- a/nsplugins/viewer/qxteventloop.cpp
+++ b/nsplugins/viewer/qxteventloop.cpp
@@ -420,7 +420,7 @@ void qmotif_timeout_handler( XtPointer, XtIntervalId * )
*/
bool QXtEventLoop::processEvents( ProcessEventsFlags flags )
{
- // Qt uses posted events to do lots of delayed operations, like tqrepaints... these
+ // Qt uses posted events to do lots of delayed operations, like repaints... these
// need to be delivered before we go to sleep
TQApplication::sendPostedEvents();