From 1a7a57976491e8df569198d8e903bf9e57e233f0 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 8 Nov 2023 11:05:10 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro --- kompare/komparepart/komparesplitter.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kompare/komparepart/komparesplitter.cpp') diff --git a/kompare/komparepart/komparesplitter.cpp b/kompare/komparepart/komparesplitter.cpp index 5be663ba..6300837e 100644 --- a/kompare/komparepart/komparesplitter.cpp +++ b/kompare/komparepart/komparesplitter.cpp @@ -36,7 +36,7 @@ using namespace Diff2; KompareSplitter::KompareSplitter( ViewSettings *settings, TQWidget * parent, const char *name) : - TQSplitter(Qt::Horizontal, parent, name ), + TQSplitter(TQt::Horizontal, parent, name ), m_settings( settings ) { TQFrame *scrollFrame = new TQFrame( parent, "scrollFrame" ); @@ -46,9 +46,9 @@ KompareSplitter::KompareSplitter( ViewSettings *settings, TQWidget * parent, scrollFrame->setFrameStyle( TQFrame::NoFrame | TQFrame::Plain ); scrollFrame->setLineWidth(scrollFrame->style().pixelMetric(TQStyle::PM_DefaultFrameWidth)); TQGridLayout *pairlayout = new TQGridLayout(scrollFrame, 2, 2, 0); - m_vScroll = new TQScrollBar( Qt::Vertical, scrollFrame ); + m_vScroll = new TQScrollBar( TQt::Vertical, scrollFrame ); pairlayout->addWidget( m_vScroll, 0, 1 ); - m_hScroll = new TQScrollBar( Qt::Horizontal, scrollFrame ); + m_hScroll = new TQScrollBar( TQt::Horizontal, scrollFrame ); pairlayout->addWidget( m_hScroll, 1, 0 ); new KompareListViewFrame(true, m_settings, this, "source"); @@ -229,7 +229,7 @@ void KompareSplitter::moveSplitter( TQCOORD p, int id ) int* ws = new int[d->list.count()]; TQWidget *w = 0; bool upLeft; - if ( TQApplication::reverseLayout() && orient ==Qt::Horizontal ) { + if ( TQApplication::reverseLayout() && orient ==TQt::Horizontal ) { int q = p + s->wid->width(); doMove( FALSE, q, id - 1, -1, (p > max), poss, ws ); doMove( TRUE, q, id, -1, (p < min), poss, ws ); @@ -408,7 +408,7 @@ void KompareSplitter::repaintHandles() void KompareSplitter::wheelEvent( TQWheelEvent* e ) { // scroll lines... - if ( e->orientation() == Qt::Vertical ) + if ( e->orientation() == TQt::Vertical ) { if ( e->state() & TQt::ControlButton ) if ( e->delta() < 0 ) // scroll down one page -- cgit v1.2.1