summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoParagDia.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-05 11:54:26 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-16 23:40:13 +0900
commitc8c5e11f05f023849896d09cf06917e9a2c016ca (patch)
treea62f00b0249b967528e115e2123b56d40633c17a /lib/kotext/KoParagDia.cpp
parentc9973bfbf1091ef91f30b5ab456015676123aa47 (diff)
downloadkoffice-c8c5e11f.tar.gz
koffice-c8c5e11f.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit ef06f14f2475bd08d3ea2ceec54a7b2238f3554e)
Diffstat (limited to 'lib/kotext/KoParagDia.cpp')
-rw-r--r--lib/kotext/KoParagDia.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/kotext/KoParagDia.cpp b/lib/kotext/KoParagDia.cpp
index 5e038a98f..826c44a5f 100644
--- a/lib/kotext/KoParagDia.cpp
+++ b/lib/kotext/KoParagDia.cpp
@@ -747,22 +747,22 @@ TQPen KoBorderPreview::setBorderPen( KoBorder _brd )
switch ( _brd.getStyle() ) {
case KoBorder::SOLID:
- pen.setStyle( Qt::SolidLine );
+ pen.setStyle( TQt::SolidLine );
break;
case KoBorder::DASH:
- pen.setStyle( Qt::DashLine );
+ pen.setStyle( TQt::DashLine );
break;
case KoBorder::DOT:
- pen.setStyle( Qt::DotLine );
+ pen.setStyle( TQt::DotLine );
break;
case KoBorder::DASH_DOT:
- pen.setStyle( Qt::DashDotLine );
+ pen.setStyle( TQt::DashDotLine );
break;
case KoBorder::DASH_DOT_DOT:
- pen.setStyle( Qt::DashDotDotLine );
+ pen.setStyle( TQt::DashDotDotLine );
break;
case KoBorder::DOUBLE_LINE:
- pen.setStyle( Qt::SolidLine );
+ pen.setStyle( TQt::SolidLine );
break;
}
@@ -1600,7 +1600,7 @@ KoParagCounterWidget::KoParagCounterWidget( bool disableAll, TQWidget * parent,
gNumbering = new TQButtonGroup( this, "numberingGroup" );
gNumbering->setTitle( i18n( "Numbering" ) );
- gNumbering->setColumnLayout(0, Qt::Vertical );
+ gNumbering->setColumnLayout(0, TQt::Vertical );
gNumbering->layout()->setSpacing( 0 );
gNumbering->layout()->setMargin( 0 );
TQHBoxLayout *numberingGroupLayout = new TQHBoxLayout( gNumbering->layout() );
@@ -1724,8 +1724,8 @@ KoTabulatorsLineEdit::KoTabulatorsLineEdit( TQWidget *parent, double lower, doub
void KoTabulatorsLineEdit::keyPressEvent ( TQKeyEvent *ke )
{
- if( ke->key() == Qt::Key_Return ||
- ke->key() == Qt::Key_Enter )
+ if( ke->key() == TQt::Key_Return ||
+ ke->key() == TQt::Key_Enter )
{
emit keyReturnPressed();
return;
@@ -1765,7 +1765,7 @@ KoParagTabulatorsWidget::KoParagTabulatorsWidget( KoUnit::Unit unit, double fram
gPosition = new TQGroupBox( this, "gPosition" );
gPosition->setTitle( i18n( "Po&sition" ) );
- gPosition->setColumnLayout(0, Qt::Vertical );
+ gPosition->setColumnLayout(0, TQt::Vertical );
gPosition->layout()->setSpacing( 0 );
gPosition->layout()->setMargin( 0 );
TQVBoxLayout* GroupBox2Layout = new TQVBoxLayout( gPosition->layout() );
@@ -1793,7 +1793,7 @@ KoParagTabulatorsWidget::KoParagTabulatorsWidget( KoUnit::Unit unit, double fram
bgAlign = new TQButtonGroup( this );
bgAlign->setTitle( i18n( "Alignment" ) );
- bgAlign->setColumnLayout(0, Qt::Vertical );
+ bgAlign->setColumnLayout(0, TQt::Vertical );
bgAlign->layout()->setSpacing( 0 );
bgAlign->layout()->setMargin( 0 );
TQVBoxLayout* ButtonGroup1Layout = new TQVBoxLayout( bgAlign->layout() );