summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoParagDia.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-18 18:12:30 -0600
committerTimothy Pearson <[email protected]>2011-12-18 18:12:30 -0600
commit11191ef0b9908604d1d7aaca382b011ef22c454c (patch)
treed38f0ccd8bfcc9756f5cfc42fb2ad1dad351e6aa /lib/kotext/KoParagDia.cpp
parentc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (diff)
downloadkoffice-11191ef0b9908604d1d7aaca382b011ef22c454c.tar.gz
koffice-11191ef0b9908604d1d7aaca382b011ef22c454c.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'lib/kotext/KoParagDia.cpp')
-rw-r--r--lib/kotext/KoParagDia.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/lib/kotext/KoParagDia.cpp b/lib/kotext/KoParagDia.cpp
index 2bc0262d..13c48350 100644
--- a/lib/kotext/KoParagDia.cpp
+++ b/lib/kotext/KoParagDia.cpp
@@ -205,7 +205,7 @@ void KoCounterStyleWidget::alignmentChanged(const TQString& s)
kdError()<<"Not Implemented"<<endl;
return;
}
- m_counter.tqsetAlignment(a);
+ m_counter.setAlignment(a);
emit sig_alignmentChanged(a);
}
@@ -890,12 +890,12 @@ KoIndentSpacingWidget::KoIndentSpacingWidget( KoUnit::Unit unit, double _frameW
TQLabel * lLimit = new TQLabel(length , indentFrame );
if(frameWidth!=-1)
{
- lLimit->tqsetAlignment( AlignRight );
+ lLimit->setAlignment( AlignRight );
indentGrid->addWidget( lLimit, 1,0 );
}
TQLabel * lLeft = new TQLabel( i18n("&Left:"), indentFrame );
- lLeft->tqsetAlignment( TQt::AlignVCenter | TQt::AlignRight );
+ lLeft->setAlignment( TQt::AlignVCenter | TQt::AlignRight );
indentGrid->addWidget( lLeft, 1, 0 );
eLeft = new KoUnitDoubleSpinBox( indentFrame, 0, 9999, 1, 0.0, m_unit );
@@ -904,7 +904,7 @@ KoIndentSpacingWidget::KoIndentSpacingWidget( KoUnit::Unit unit, double _frameW
connect( eLeft, TQT_SIGNAL( valueChangedPt(double ) ), this, TQT_SLOT( leftChanged( double ) ) );
TQLabel * lRight = new TQLabel( i18n("&Right:"), indentFrame );
- lRight->tqsetAlignment( TQt::AlignVCenter | TQt::AlignRight );
+ lRight->setAlignment( TQt::AlignVCenter | TQt::AlignRight );
indentGrid->addWidget( lRight, 2, 0 );
eRight = new KoUnitDoubleSpinBox( indentFrame, 0, 9999, 1, 0.0, m_unit );
@@ -913,7 +913,7 @@ KoIndentSpacingWidget::KoIndentSpacingWidget( KoUnit::Unit unit, double _frameW
connect( eRight, TQT_SIGNAL( valueChangedPt( double ) ), this, TQT_SLOT( rightChanged( double ) ) );
TQLabel * lFirstLine = new TQLabel( i18n("&First line:"), indentFrame );
- lFirstLine->tqsetAlignment( TQt::AlignVCenter | TQt::AlignRight );
+ lFirstLine->setAlignment( TQt::AlignVCenter | TQt::AlignRight );
indentGrid->addWidget( lFirstLine, 3, 0 );
eFirstLine = new KoUnitDoubleSpinBox( indentFrame, -9999, 9999, 1, 0.0, m_unit );
@@ -974,7 +974,7 @@ KoIndentSpacingWidget::KoIndentSpacingWidget( KoUnit::Unit unit, double _frameW
KDialog::marginHint(), KDialog::spacingHint() );
TQLabel * lBefore = new TQLabel( i18n("Before:"), pSpaceFrame );
- lBefore->tqsetAlignment( AlignRight );
+ lBefore->setAlignment( AlignRight );
pSpaceGrid->addWidget( lBefore, 1, 0 );
eBefore = new KoUnitDoubleSpinBox( pSpaceFrame, 0, 9999, CM_TO_POINT(1), 0.0, m_unit );
@@ -983,7 +983,7 @@ KoIndentSpacingWidget::KoIndentSpacingWidget( KoUnit::Unit unit, double _frameW
pSpaceGrid->addWidget( eBefore, 1, 1 );
TQLabel * lAfter = new TQLabel( i18n("After:"), pSpaceFrame );
- lAfter->tqsetAlignment( AlignRight );
+ lAfter->setAlignment( AlignRight );
pSpaceGrid->addWidget( lAfter, 2, 0 );
eAfter = new KoUnitDoubleSpinBox( pSpaceFrame, 0, 9999, 1, 0.0, m_unit );
@@ -1608,7 +1608,7 @@ KoParagCounterWidget::KoParagCounterWidget( bool disableAll, TQWidget * parent,
gNumbering->tqlayout()->setSpacing( 0 );
gNumbering->tqlayout()->setMargin( 0 );
TQHBoxLayout *numberingGroupLayout = new TQHBoxLayout( gNumbering->tqlayout() );
- numberingGroupLayout->tqsetAlignment( TQt::AlignTop );
+ numberingGroupLayout->setAlignment( TQt::AlignTop );
numberingGroupLayout->setSpacing( KDialog::spacingHint() );
numberingGroupLayout->setMargin( KDialog::marginHint() );
@@ -1773,7 +1773,7 @@ KoParagTabulatorsWidget::KoParagTabulatorsWidget( KoUnit::Unit unit, double fram
gPosition->tqlayout()->setSpacing( 0 );
gPosition->tqlayout()->setMargin( 0 );
TQVBoxLayout* GroupBox2Layout = new TQVBoxLayout( gPosition->tqlayout() );
- GroupBox2Layout->tqsetAlignment( TQt::AlignTop );
+ GroupBox2Layout->setAlignment( TQt::AlignTop );
GroupBox2Layout->setSpacing( KDialog::spacingHint() );
GroupBox2Layout->setMargin( KDialog::marginHint() );
@@ -1801,7 +1801,7 @@ KoParagTabulatorsWidget::KoParagTabulatorsWidget( KoUnit::Unit unit, double fram
bgAlign->tqlayout()->setSpacing( 0 );
bgAlign->tqlayout()->setMargin( 0 );
TQVBoxLayout* ButtonGroup1Layout = new TQVBoxLayout( bgAlign->tqlayout() );
- ButtonGroup1Layout->tqsetAlignment( TQt::AlignTop );
+ ButtonGroup1Layout->setAlignment( TQt::AlignTop );
ButtonGroup1Layout->setSpacing( KDialog::spacingHint() );
ButtonGroup1Layout->setMargin( KDialog::marginHint() );
@@ -1837,7 +1837,7 @@ KoParagTabulatorsWidget::KoParagTabulatorsWidget( KoUnit::Unit unit, double fram
gTabLeader = new TQGroupBox( this, "gTabLeader" );
gTabLeader->setTitle( i18n( "Tab Leader" ) );
TQVBoxLayout* GroupBox5Layout = new TQVBoxLayout( gTabLeader );
- GroupBox5Layout->tqsetAlignment( TQt::AlignTop );
+ GroupBox5Layout->setAlignment( TQt::AlignTop );
GroupBox5Layout->setSpacing( KDialog::spacingHint() );
GroupBox5Layout->setMargin( KDialog::marginHint() );
GroupBox5Layout->addSpacing( fontMetrics().height() / 2 ); // groupbox title
@@ -1850,7 +1850,7 @@ KoParagTabulatorsWidget::KoParagTabulatorsWidget( KoUnit::Unit unit, double fram
TQLabel* TextLabel2 = new TQLabel( gTabLeader);
TextLabel2->setText( i18n( "&Filling:" ) );
- TextLabel2->tqsetAlignment( AlignRight );
+ TextLabel2->setAlignment( AlignRight );
fillingGrid->addWidget( TextLabel2, 0, 0 );
cFilling = new TQComboBox( FALSE, gTabLeader);
@@ -1864,7 +1864,7 @@ KoParagTabulatorsWidget::KoParagTabulatorsWidget( KoUnit::Unit unit, double fram
fillingGrid->addWidget( cFilling, 0, 1 );
TQLabel * TextLabel3 = new TQLabel( i18n("&Width:"), gTabLeader );
- TextLabel3->tqsetAlignment( AlignRight );
+ TextLabel3->setAlignment( AlignRight );
fillingGrid->addWidget( TextLabel3, 1, 0 );
eWidth = new KoUnitDoubleSpinBox( gTabLeader );