diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-05 11:54:26 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-16 23:40:13 +0900 |
commit | c8c5e11f05f023849896d09cf06917e9a2c016ca (patch) | |
tree | a62f00b0249b967528e115e2123b56d40633c17a /kword/KWTextFrameSet.cpp | |
parent | c9973bfbf1091ef91f30b5ab456015676123aa47 (diff) | |
download | koffice-c8c5e11f05f023849896d09cf06917e9a2c016ca.tar.gz koffice-c8c5e11f05f023849896d09cf06917e9a2c016ca.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ef06f14f2475bd08d3ea2ceec54a7b2238f3554e)
Diffstat (limited to 'kword/KWTextFrameSet.cpp')
-rw-r--r-- | kword/KWTextFrameSet.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kword/KWTextFrameSet.cpp b/kword/KWTextFrameSet.cpp index c2e668be1..195ecd5d7 100644 --- a/kword/KWTextFrameSet.cpp +++ b/kword/KWTextFrameSet.cpp @@ -531,19 +531,19 @@ void KWTextFrameSet::drawContents( TQPainter *p, const TQRect & crect, const TQC switch( m_doc->footNoteSeparatorLineType()) { case SLT_SOLID: - pen.setStyle( Qt::SolidLine ); + pen.setStyle( TQt::SolidLine ); break; case SLT_DASH: - pen.setStyle( Qt::DashLine ); + pen.setStyle( TQt::DashLine ); break; case SLT_DOT: - pen.setStyle( Qt::DotLine ); + pen.setStyle( TQt::DotLine ); break; case SLT_DASH_DOT: - pen.setStyle( Qt::DashDotLine ); + pen.setStyle( TQt::DashDotLine ); break; case SLT_DASH_DOT_DOT: - pen.setStyle( Qt::DashDotDotLine ); + pen.setStyle( TQt::DashDotDotLine ); break; } p->setPen( pen ); @@ -3408,7 +3408,7 @@ void KWTextFrameSetEdit::keyPressEvent( TQKeyEvent* e ) // Handle moving into inline frames (e.g. formula frames). if ( !( e->state() & ControlButton ) && !( e->state() & ShiftButton ) ) { - if (e->state() != Qt::NoButton) + if (e->state() != TQt::NoButton) removeToolTipCompletion(); switch ( e->key() ) { case Key_Left: { @@ -3508,7 +3508,7 @@ void KWTextFrameSetEdit::mousePressEvent( TQMouseEvent *e, const TQPoint &, cons } // else mightStartDrag = FALSE; necessary? - if ( e->button() != Qt::LeftButton ) + if ( e->button() != TQt::LeftButton ) return; KoVariable* var = variable(); if ( var ) |