summaryrefslogtreecommitdiffstats
path: root/src/difftextwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/difftextwindow.cpp')
-rw-r--r--src/difftextwindow.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/difftextwindow.cpp b/src/difftextwindow.cpp
index 3c570e4..d5fb8a9 100644
--- a/src/difftextwindow.cpp
+++ b/src/difftextwindow.cpp
@@ -28,8 +28,8 @@
#include <tqlineedit.h>
#include <tqlabel.h>
#include <tqpushbutton.h>
-#include <tqlayout.h>
-#include <tqtextcodec.h>
+#include <layout.h>
+#include <textcodec.h>
#include <optiondialog.h>
#include <math.h>
#include <cstdlib>
@@ -860,9 +860,9 @@ void DiffTextWindowData::writeLine(
else
{
p.fillRect( xOffset + fontWidth*outPos, yOffset,
- fontWidth*(spaces), fontHeight, m_pDiffTextWindow->tqcolorGroup().highlight() );
+ fontWidth*(spaces), fontHeight, m_pDiffTextWindow->colorGroup().highlight() );
- p.setPen( m_pDiffTextWindow->tqcolorGroup().highlightedText() );
+ p.setPen( m_pDiffTextWindow->colorGroup().highlightedText() );
p.drawText( xOffset + fontWidth*outPos, yOffset + fontAscent, s );
m_selection.bSelectionContainsData = true;
@@ -875,7 +875,7 @@ void DiffTextWindowData::writeLine(
if( m_selection.lineWithin( line ) && m_selection.lineWithin( line+1 ) )
{
p.fillRect( xOffset + fontWidth*outPos, yOffset,
- deviceWidth, fontHeight, m_pDiffTextWindow->tqcolorGroup().highlight() );
+ deviceWidth, fontHeight, m_pDiffTextWindow->colorGroup().highlight() );
}
}
@@ -1656,7 +1656,7 @@ void DiffTextWindowFrame::setFirstLine( int firstLine )
s += " " + TQString::number( l+1 );
d->m_pTopLine->setText( s );
- d->m_pTopLine->tqrepaint();
+ d->m_pTopLine->repaint();
}
}