summaryrefslogtreecommitdiffstats
path: root/kword/KWTextFrameSet.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-05 11:54:26 +0900
committerMichele Calgaro <[email protected]>2023-11-16 23:37:57 +0900
commitef06f14f2475bd08d3ea2ceec54a7b2238f3554e (patch)
tree03df826633e4ba084d133ca977c4fc37c74f21ac /kword/KWTextFrameSet.cpp
parent895081803a715ee89f4a90cfbf63d558ef2b2ebc (diff)
downloadkoffice-ef06f14f2475bd08d3ea2ceec54a7b2238f3554e.tar.gz
koffice-ef06f14f2475bd08d3ea2ceec54a7b2238f3554e.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kword/KWTextFrameSet.cpp')
-rw-r--r--kword/KWTextFrameSet.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kword/KWTextFrameSet.cpp b/kword/KWTextFrameSet.cpp
index c2e668be..195ecd5d 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 )