summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--charselectapplet/charselectapplet.cpp8
-rw-r--r--charselectapplet/charselectapplet.h2
-rw-r--r--kdf/kdfwidget.cpp2
-rw-r--r--khexedit/lib/controller/keditor.cpp2
-rw-r--r--khexedit/lib/controller/knavigator.cpp2
-rw-r--r--khexedit/lib/controller/kvalueeditor.cpp2
-rw-r--r--khexedit/lib/kbytesedit.cpp4
-rw-r--r--khexedit/lib/kbytesedit.h4
-rw-r--r--khexedit/lib/kcolumnsview.cpp4
-rw-r--r--khexedit/lib/kcolumnsview.h2
-rw-r--r--khexedit/lib/khexedit.cpp28
-rw-r--r--khexedit/lib/khexedit.h6
-rw-r--r--khexedit/parts/kbytesedit/kbyteseditwidget.cpp4
-rw-r--r--khexedit/parts/kbytesedit/kbyteseditwidget.h2
-rw-r--r--kregexpeditor/Comments2
-rw-r--r--kregexpeditor/regexpwidget.h2
-rw-r--r--ksim/ksimframe.cpp4
-rw-r--r--ksim/ksimframe.h2
-rw-r--r--ksim/library/chart.cpp4
-rw-r--r--ksim/library/chart.h2
-rw-r--r--ksim/library/common.h2
-rw-r--r--ksim/library/label.cpp4
-rw-r--r--ksim/library/label.h2
-rw-r--r--ksim/library/progress.cpp4
-rw-r--r--ksim/library/progress.h2
-rw-r--r--superkaramba/src/karamba.h2
-rw-r--r--superkaramba/src/kwidgetlistbox.cpp2
27 files changed, 53 insertions, 53 deletions
diff --git a/charselectapplet/charselectapplet.cpp b/charselectapplet/charselectapplet.cpp
index 1ccfaf8..047b3f2 100644
--- a/charselectapplet/charselectapplet.cpp
+++ b/charselectapplet/charselectapplet.cpp
@@ -228,7 +228,7 @@ void CharTable::paintEvent(TQPaintEvent* e)
TQFrame::paintEvent(e);
}
-void CharTable::tqrepaintCell(int r, int c)
+void CharTable::repaintCell(int r, int c)
{
TQPainter p(this);
@@ -307,8 +307,8 @@ void CharTable::selectCell(int row, int col)
_activeRow = row;
_activeCol = col;
- tqrepaintCell(oldRow, oldCol);
- tqrepaintCell(_activeRow, _activeCol);
+ repaintCell(oldRow, oldCol);
+ repaintCell(_activeRow, _activeCol);
TQClipboard *cb = TQApplication::tqclipboard();
TQObject::disconnect( cb, TQT_SIGNAL(dataChanged()), this, TQT_SLOT(clearCell()) );
@@ -330,7 +330,7 @@ void CharTable::clearCell()
_activeRow = -1;
_activeCol = -1;
- tqrepaintCell(oldRow, oldCol);
+ repaintCell(oldRow, oldCol);
TQObject::disconnect( TQApplication::tqclipboard(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(clearCell()) );
}
diff --git a/charselectapplet/charselectapplet.h b/charselectapplet/charselectapplet.h
index 332c18c..7145077 100644
--- a/charselectapplet/charselectapplet.h
+++ b/charselectapplet/charselectapplet.h
@@ -75,7 +75,7 @@ protected:
void mouseMoveEvent(TQMouseEvent*);
void paintCell(TQPainter*, int, int);
- void tqrepaintCell(int, int);
+ void repaintCell(int, int);
void selectCell(int row, int col);
void insertString(TQString s);
diff --git a/kdf/kdfwidget.cpp b/kdf/kdfwidget.cpp
index 8fcc576..5fab6a9 100644
--- a/kdf/kdfwidget.cpp
+++ b/kdf/kdfwidget.cpp
@@ -543,7 +543,7 @@ void KDFWidget::popupMenu( TQListViewItem *item, const TQPoint &p )
/**************************************************************************
- * recalculates and tqrepaints the pixBars
+ * recalculates and repaints the pixBars
**/
void KDFWidget::updateDiskBarPixmaps( void )
{
diff --git a/khexedit/lib/controller/keditor.cpp b/khexedit/lib/controller/keditor.cpp
index 02b9129..513f41d 100644
--- a/khexedit/lib/controller/keditor.cpp
+++ b/khexedit/lib/controller/keditor.cpp
@@ -187,7 +187,7 @@ void KEditor::doEditAction( KEditAction Action )
}
}
- HexEdit->tqrepaintChanged();
+ HexEdit->repaintChanged();
HexEdit->ensureCursorVisible();
HexEdit->unpauseCursor();
diff --git a/khexedit/lib/controller/knavigator.cpp b/khexedit/lib/controller/knavigator.cpp
index 3258ce9..156068e 100644
--- a/khexedit/lib/controller/knavigator.cpp
+++ b/khexedit/lib/controller/knavigator.cpp
@@ -127,7 +127,7 @@ void KNavigator::moveCursor( KMoveAction Action, bool Select )
if( Select )
BufferRanges->setSelectionEnd( BufferCursor->realIndex() );
- HexEdit->tqrepaintChanged();
+ HexEdit->repaintChanged();
HexEdit->ensureCursorVisible();
HexEdit->unpauseCursor();
diff --git a/khexedit/lib/controller/kvalueeditor.cpp b/khexedit/lib/controller/kvalueeditor.cpp
index 4f32789..9baff80 100644
--- a/khexedit/lib/controller/kvalueeditor.cpp
+++ b/khexedit/lib/controller/kvalueeditor.cpp
@@ -115,7 +115,7 @@ bool KValueEditor::handleKeyPress( TQKeyEvent *KeyEvent )
BufferCursor->gotoRealIndex();
KSection ChangedRange( Index,HexEdit->DataBuffer->size()-1 );
HexEdit->BufferRanges->addChangedRange( ChangedRange );
- HexEdit->tqrepaintChanged();
+ HexEdit->repaintChanged();
HexEdit->ensureCursorVisible();
HexEdit->unpauseCursor();
HexEdit->updateCursor();
diff --git a/khexedit/lib/kbytesedit.cpp b/khexedit/lib/kbytesedit.cpp
index db4b193..3eb49bd 100644
--- a/khexedit/lib/kbytesedit.cpp
+++ b/khexedit/lib/kbytesedit.cpp
@@ -129,7 +129,7 @@ void KBytesEdit::setKeepsMemory( bool KM )
bool KBytesEdit::isAutoDelete() const { return AutoDelete; }
-void KBytesEdit::tqrepaintRange( int i1, int i2 )
+void KBytesEdit::repaintRange( int i1, int i2 )
{
bool ChangeCursor = !(CursorPaused) && KSection(i1,i2).includes( BufferCursor->index() );
if( ChangeCursor )
@@ -137,7 +137,7 @@ void KBytesEdit::tqrepaintRange( int i1, int i2 )
BufferRanges->addChangedRange( i1, i2 );
- tqrepaintChanged();
+ repaintChanged();
if( ChangeCursor )
unpauseCursor();
diff --git a/khexedit/lib/kbytesedit.h b/khexedit/lib/kbytesedit.h
index 884f565..defb734 100644
--- a/khexedit/lib/kbytesedit.h
+++ b/khexedit/lib/kbytesedit.h
@@ -36,7 +36,7 @@ class KBytesEditPrivate;
*
* 1. used as viewer
* a) static data ranges -> no changes for data pointer and length
- * possible changes are told to the widget by tqrepaintRange
+ * possible changes are told to the widget by repaintRange
* b) changing data ranges -> data pointer and length might change
* changes told by
* * resetData( char *, int size, bool tqrepaint );
@@ -138,7 +138,7 @@ class KHEXEDIT_EXPORT KBytesEdit : public KHexEdit
void setKeepsMemory( bool KM = true );
/** tqrepaint the indizes from i1 to i2 */
- void tqrepaintRange( int i1, int i2 );
+ void repaintRange( int i1, int i2 );
protected:
/** deletes the databuffer */
diff --git a/khexedit/lib/kcolumnsview.cpp b/khexedit/lib/kcolumnsview.cpp
index 90fa10c..2b0b157 100644
--- a/khexedit/lib/kcolumnsview.cpp
+++ b/khexedit/lib/kcolumnsview.cpp
@@ -129,10 +129,10 @@ void KColumnsView::updateView()
}
-void KColumnsView::tqrepaintView()
+void KColumnsView::repaintView()
{
resizeContents( totalWidth(), totalHeight() );
- tqrepaintContents( false );
+ repaintContents( false );
}
diff --git a/khexedit/lib/kcolumnsview.h b/khexedit/lib/kcolumnsview.h
index f3e00da..ea5f520 100644
--- a/khexedit/lib/kcolumnsview.h
+++ b/khexedit/lib/kcolumnsview.h
@@ -113,7 +113,7 @@ class KColumnsView : public TQScrollView
protected: // painting
void updateView();
- void tqrepaintView();
+ void repaintView();
private:
/** hiding it*/
diff --git a/khexedit/lib/khexedit.cpp b/khexedit/lib/khexedit.cpp
index 49030bf..0a52090 100644
--- a/khexedit/lib/khexedit.cpp
+++ b/khexedit/lib/khexedit.cpp
@@ -737,7 +737,7 @@ bool KHexEdit::selectWord( /*unsigned TODO:change all unneeded signed into unsig
BufferRanges->setFirstWordSelection( WordSection );
BufferCursor->gotoIndex( WordSection.end()+1 );
- tqrepaintChanged();
+ repaintChanged();
unpauseCursor();
return true;
@@ -757,7 +757,7 @@ void KHexEdit::select( KSection Section )
BufferRanges->setSelection( Section );
BufferCursor->gotoIndex( Section.end()+1 );
- tqrepaintChanged();
+ repaintChanged();
unpauseCursor();
@@ -781,7 +781,7 @@ void KHexEdit::selectAll( bool Select )
BufferCursor->gotoEnd();
}
- tqrepaintChanged();
+ repaintChanged();
unpauseCursor();
@@ -967,7 +967,7 @@ void KHexEdit::insert( const TQByteArray &D )
if( Changed )
{
BufferRanges->addChangedRange( ChangedRange );
- tqrepaintChanged();
+ repaintChanged();
}
ensureCursorVisible();
@@ -994,7 +994,7 @@ void KHexEdit::removeSelectedData()
KSection ChangedRange = removeData( Selection );
BufferRanges->removeSelection();
- tqrepaintChanged();
+ repaintChanged();
BufferCursor->gotoCIndex( Selection.start() );
@@ -1059,7 +1059,7 @@ void KHexEdit::setCursorPosition( int Index, bool Behind )
bool RangesModifed = BufferRanges->isModified();
if( RangesModifed )
{
- tqrepaintChanged();
+ repaintChanged();
viewport()->setCursor( isReadOnly() ? arrowCursor : ibeamCursor );
@@ -1201,7 +1201,7 @@ bool KHexEdit::eventFilter( TQObject *O, TQEvent *E )
// doc->setDefaultFormat( doc->formatCollection()->defaultFormat()->font(), c );
// lastFormatted = doc->firstParagraph();
// formatMore();
-// tqrepaintChanged();
+// repaintChanged();
// }
// }
@@ -1397,12 +1397,12 @@ void KHexEdit::keyPressEvent( TQKeyEvent *KeyEvent )
}
-void KHexEdit::tqrepaintChanged()
+void KHexEdit::repaintChanged()
{
if( !isUpdatesEnabled() || !viewport()->isUpdatesEnabled() || !BufferRanges->isModified() )
return;
- // TODO: we do this only to let the scrollview handle new or removed lines. overlaps with tqrepaintRange
+ // TODO: we do this only to let the scrollview handle new or removed lines. overlaps with repaintRange
resizeContents( totalWidth(), totalHeight() );
KPixelXs Xs( contentsX(), visibleWidth(), true );
@@ -1559,7 +1559,7 @@ void KHexEdit::contentsMousePressEvent( TQMouseEvent *e )
BufferRanges->setSelectionStart( BufferLayout->indexAtLineStart(DoubleClickLine) );
BufferCursor->gotoLineEnd();
BufferRanges->setSelectionEnd( BufferCursor->realIndex() );
- tqrepaintChanged();
+ repaintChanged();
unpauseCursor();
return;
@@ -1606,7 +1606,7 @@ void KHexEdit::contentsMousePressEvent( TQMouseEvent *e )
if( BufferRanges->isModified() )
{
- tqrepaintChanged();
+ repaintChanged();
viewport()->setCursor( isReadOnly() ? arrowCursor : ibeamCursor );
}
@@ -1699,7 +1699,7 @@ void KHexEdit::contentsMouseReleaseEvent( TQMouseEvent *e )
ClipboardMode = TQClipboard::Clipboard;
// ensure selection changes to be drawn TODO: create a insert/pasteAtCursor that leaves out drawing
- tqrepaintChanged();
+ repaintChanged();
ensureCursorVisible();
unpauseCursor();
@@ -1803,7 +1803,7 @@ void KHexEdit::handleMouseMove( const TQPoint& Point ) // handles the move of th
if( BufferRanges->selectionStarted() )
BufferRanges->setSelectionEnd( BufferCursor->realIndex() );
- tqrepaintChanged();
+ repaintChanged();
unpauseCursor();
}
@@ -1953,7 +1953,7 @@ void KHexEdit::handleInternalDrag( TQDropEvent *e )
BufferRanges->addChangedRange( ChangedRange );
BufferRanges->removeSelection();
- tqrepaintChanged();
+ repaintChanged();
ensureCursorVisible();
// open ui
diff --git a/khexedit/lib/khexedit.h b/khexedit/lib/khexedit.h
index 80d36d9..00a25d6 100644
--- a/khexedit/lib/khexedit.h
+++ b/khexedit/lib/khexedit.h
@@ -216,7 +216,7 @@ class KHEXEDIT_EXPORT KHexEdit : public KColumnsView
void placeCursor( const TQPoint &Point );
/***/
void setCursorColumn( KBufferColumnId );
-// void tqrepaintByte( int row, int column, bool Erase = true );
+// void repaintByte( int row, int column, bool Erase = true );
// void updateByte( int row, int column );
// void ensureByteVisible( int row, int column );
@@ -397,8 +397,8 @@ class KHEXEDIT_EXPORT KHexEdit : public KColumnsView
/** handles screen update in case of a change to any of the width sizes
*/
void updateViewByWidth();
- /** tqrepaints all the parts that are signed as changed */
- void tqrepaintChanged();
+ /** repaints all the parts that are signed as changed */
+ void repaintChanged();
protected: // drawing related operations
/** recreates the cursor pixmaps and paints active and inactive cursors if doable */
diff --git a/khexedit/parts/kbytesedit/kbyteseditwidget.cpp b/khexedit/parts/kbytesedit/kbyteseditwidget.cpp
index 1e53c05..bfcb6be 100644
--- a/khexedit/parts/kbytesedit/kbyteseditwidget.cpp
+++ b/khexedit/parts/kbytesedit/kbyteseditwidget.cpp
@@ -247,9 +247,9 @@ bool KBytesEditWidget::hasSelectedData() const
}
-void KBytesEditWidget::tqrepaintRange( int i1, int i2 )
+void KBytesEditWidget::repaintRange( int i1, int i2 )
{
- BytesEdit->tqrepaintRange( i1, i2 );
+ BytesEdit->repaintRange( i1, i2 );
}
diff --git a/khexedit/parts/kbytesedit/kbyteseditwidget.h b/khexedit/parts/kbytesedit/kbyteseditwidget.h
index 616981f..9747ae6 100644
--- a/khexedit/parts/kbytesedit/kbyteseditwidget.h
+++ b/khexedit/parts/kbytesedit/kbyteseditwidget.h
@@ -87,7 +87,7 @@ class KBytesEditWidget : public TQWidget, public KHE::BytesEditInterface,
virtual bool isReadOnly() const;
virtual bool isModified() const;
/** tqrepaint the indizes from i1 to i2 */
- virtual void tqrepaintRange( int i1, int i2 );
+ virtual void repaintRange( int i1, int i2 );
public: // cursor interface
/** */
diff --git a/kregexpeditor/Comments b/kregexpeditor/Comments
index bdd63dc..e9fc09d 100644
--- a/kregexpeditor/Comments
+++ b/kregexpeditor/Comments
@@ -1,4 +1,4 @@
(1) If I do not resize the widget to be reparented then it will take up all
the size of its new tqparent, and the tqparent will never receive a
tqrepaint event, and will thus never get a chance to resize its new child
- to a proper size (This is namely done in tqrepaintEvent() ).
+ to a proper size (This is namely done in repaintEvent() ).
diff --git a/kregexpeditor/regexpwidget.h b/kregexpeditor/regexpwidget.h
index 27a57d1..1774d40 100644
--- a/kregexpeditor/regexpwidget.h
+++ b/kregexpeditor/regexpwidget.h
@@ -99,7 +99,7 @@ public:
virtual bool updateSelection(bool tqparentSelected);
/**
- Clears the selection and tqrepaints the widget if `update' is true.
+ Clears the selection and repaints the widget if `update' is true.
*/
virtual void clearSelection();
diff --git a/ksim/ksimframe.cpp b/ksim/ksimframe.cpp
index b62c0ca..80af61a 100644
--- a/ksim/ksimframe.cpp
+++ b/ksim/ksimframe.cpp
@@ -36,7 +36,7 @@ KSim::Frame::~Frame()
{
}
-void KSim::Frame::configureObject(bool tqrepaintWidget)
+void KSim::Frame::configureObject(bool repaintWidget)
{
m_image.load(themeLoader().current().framePixmap(type()));
@@ -58,7 +58,7 @@ void KSim::Frame::configureObject(bool tqrepaintWidget)
themeLoader().reColourImage(m_image);
m_background.convertFromImage(m_image.smoothScale(size()));
- if (tqrepaintWidget)
+ if (repaintWidget)
update();
}
diff --git a/ksim/ksimframe.h b/ksim/ksimframe.h
index aee425f..976523f 100644
--- a/ksim/ksimframe.h
+++ b/ksim/ksimframe.h
@@ -40,7 +40,7 @@ namespace KSim
~Frame();
const TQPixmap *const background() const { return &m_background; }
- virtual void configureObject(bool tqrepaintWidget=true);
+ virtual void configureObject(bool repaintWidget=true);
protected:
virtual void paintEvent(TQPaintEvent *);
diff --git a/ksim/library/chart.cpp b/ksim/library/chart.cpp
index b78327b..b90fe00 100644
--- a/ksim/library/chart.cpp
+++ b/ksim/library/chart.cpp
@@ -249,7 +249,7 @@ void KSim::Chart::buildPixmaps()
}
}
-void KSim::Chart::configureObject(bool tqrepaintWidget)
+void KSim::Chart::configureObject(bool repaintWidget)
{
TQSize oldSize = tqsizeHint();
KSim::Config::config()->setGroup("Misc");
@@ -275,7 +275,7 @@ void KSim::Chart::configureObject(bool tqrepaintWidget)
setConfigValues();
- if (tqrepaintWidget)
+ if (repaintWidget)
update();
}
diff --git a/ksim/library/chart.h b/ksim/library/chart.h
index 1eb5a93..2354e22 100644
--- a/ksim/library/chart.h
+++ b/ksim/library/chart.h
@@ -104,7 +104,7 @@ namespace KSim
/**
* reimplemented for internal reasons
*/
- virtual void configureObject(bool tqrepaintWidget = true);
+ virtual void configureObject(bool repaintWidget = true);
/**
* reimplemented for internal reasons
diff --git a/ksim/library/common.h b/ksim/library/common.h
index e19310e..c64504b 100644
--- a/ksim/library/common.h
+++ b/ksim/library/common.h
@@ -63,7 +63,7 @@ namespace KSim
* }
* ~Test() {}
*
- * void configureObject(bool tqrepaintWidget)
+ * void configureObject(bool repaintWidget)
* {
* // Re-Create view code here
* }
diff --git a/ksim/library/label.cpp b/ksim/library/label.cpp
index 06f525e..1f32724 100644
--- a/ksim/library/label.cpp
+++ b/ksim/library/label.cpp
@@ -79,7 +79,7 @@ const TQString &KSim::Label::text() const
return d->text;
}
-void KSim::Label::configureObject(bool tqrepaintWidget)
+void KSim::Label::configureObject(bool repaintWidget)
{
TQString image = themeLoader().current().meterPixmap(type(), false);
if (image.isEmpty())
@@ -91,7 +91,7 @@ void KSim::Label::configureObject(bool tqrepaintWidget)
TQSize oldSize = tqsizeHint();
setConfigValues();
- retqlayoutLabel(oldSize, tqrepaintWidget);
+ retqlayoutLabel(oldSize, repaintWidget);
}
void KSim::Label::setPixmap(const TQPixmap &pixmap)
diff --git a/ksim/library/label.h b/ksim/library/label.h
index 78136d4..484b36b 100644
--- a/ksim/library/label.h
+++ b/ksim/library/label.h
@@ -96,7 +96,7 @@ namespace KSim
/**
* recreates the labels look & feel
*/
- virtual void configureObject(bool tqrepaintWidget = true);
+ virtual void configureObject(bool repaintWidget = true);
/**
* sets a pixmap for the label
*/
diff --git a/ksim/library/progress.cpp b/ksim/library/progress.cpp
index 6a8d2ba..32311e4 100644
--- a/ksim/library/progress.cpp
+++ b/ksim/library/progress.cpp
@@ -108,7 +108,7 @@ const TQRect &KSim::Progress::rectOrigin() const
return d->rectOrigin;
}
-void KSim::Progress::configureObject(bool tqrepaintWidget)
+void KSim::Progress::configureObject(bool repaintWidget)
{
KSim::Label::configureObject(false);
@@ -120,7 +120,7 @@ void KSim::Progress::configureObject(bool tqrepaintWidget)
setMeterPixmap(themeLoader().current().splitPixmap(KSim::Theme::KrellMeter));
}
- if (tqrepaintWidget)
+ if (repaintWidget)
update();
}
diff --git a/ksim/library/progress.h b/ksim/library/progress.h
index 40eca5c..09c4a21 100644
--- a/ksim/library/progress.h
+++ b/ksim/library/progress.h
@@ -118,7 +118,7 @@ namespace KSim
/**
* reimplemented for internal reasons
*/
- virtual void configureObject(bool tqrepaintWidget = true);
+ virtual void configureObject(bool repaintWidget = true);
/**
* reimplemented for internal reasons
*/
diff --git a/superkaramba/src/karamba.h b/superkaramba/src/karamba.h
index cc02030..51d5b82 100644
--- a/superkaramba/src/karamba.h
+++ b/superkaramba/src/karamba.h
@@ -197,7 +197,7 @@ protected:
private:
bool widgetUpdate;
- bool tqrepaintInProgress;
+ bool repaintInProgress;
//bool reloading;
bool want_right_button;
bool want_meter_wheel_event;
diff --git a/superkaramba/src/kwidgetlistbox.cpp b/superkaramba/src/kwidgetlistbox.cpp
index 2294b93..bca1deb 100644
--- a/superkaramba/src/kwidgetlistbox.cpp
+++ b/superkaramba/src/kwidgetlistbox.cpp
@@ -188,7 +188,7 @@ void KWidgetListbox::showItems(show_callback func, void* data)
void KWidgetListbox::showEvent(TQShowEvent*)
{
//kdDebug() << k_funcinfo << endl;
- tqrepaintContents(false);
+ repaintContents(false);
}
void KWidgetListbox::paintCell(TQPainter*, int, int, const TQRect&,