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 d5fb8a9..3c570e4 100644
--- a/src/difftextwindow.cpp
+++ b/src/difftextwindow.cpp
@@ -28,8 +28,8 @@
#include <tqlineedit.h>
#include <tqlabel.h>
#include <tqpushbutton.h>
-#include <layout.h>
-#include <textcodec.h>
+#include <tqlayout.h>
+#include <tqtextcodec.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->colorGroup().highlight() );
+ fontWidth*(spaces), fontHeight, m_pDiffTextWindow->tqcolorGroup().highlight() );
- p.setPen( m_pDiffTextWindow->colorGroup().highlightedText() );
+ p.setPen( m_pDiffTextWindow->tqcolorGroup().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->colorGroup().highlight() );
+ deviceWidth, fontHeight, m_pDiffTextWindow->tqcolorGroup().highlight() );
}
}
@@ -1656,7 +1656,7 @@ void DiffTextWindowFrame::setFirstLine( int firstLine )
s += " " + TQString::number( l+1 );
d->m_pTopLine->setText( s );
- d->m_pTopLine->repaint();
+ d->m_pTopLine->tqrepaint();
}
}