diff options
Diffstat (limited to 'lib/kotext/KoParagDia.cpp')
| -rw-r--r-- | lib/kotext/KoParagDia.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/kotext/KoParagDia.cpp b/lib/kotext/KoParagDia.cpp index 02949bb08..65cc1f2ea 100644 --- a/lib/kotext/KoParagDia.cpp +++ b/lib/kotext/KoParagDia.cpp @@ -173,7 +173,7 @@ KoCounterStyleWidget::KoCounterStyleWidget( bool displayDepth, bool onlyStyleTyp connect( spnStart, TQT_SIGNAL( valueChanged (int) ), this, TQT_SLOT( startChanged(int) ) ); connect( spnDepth, TQT_SIGNAL( valueChanged (int) ), this, TQT_SLOT( depthChanged(int) ) ); connect( spnDisplayLevels, TQT_SIGNAL( valueChanged (int) ), this, TQT_SLOT( displayLevelsChanged(int) ) ); - connect( cbAlignment, TQT_SIGNAL( activated (const TQString&) ), this, TQT_SLOT( tqalignmentChanged(const TQString&) ) ); + connect( cbAlignment, TQT_SIGNAL( activated (const TQString&) ), this, TQT_SLOT( alignmentChanged(const TQString&) ) ); noSignals = false; if ( disableAll ) { @@ -192,7 +192,7 @@ KoCounterStyleWidget::KoCounterStyleWidget( bool displayDepth, bool onlyStyleTyp } } -void KoCounterStyleWidget::tqalignmentChanged(const TQString& s) +void KoCounterStyleWidget::alignmentChanged(const TQString& s) { int a; if(s==i18n("Align Left")) @@ -206,7 +206,7 @@ void KoCounterStyleWidget::tqalignmentChanged(const TQString& s) return; } m_counter.tqsetAlignment(a); - emit sig_tqalignmentChanged(a); + emit sig_alignmentChanged(a); } void KoCounterStyleWidget::setCounter( const KoParagCounter& counter ) @@ -866,7 +866,7 @@ KoIndentSpacingWidget::KoIndentSpacingWidget( KoUnit::Unit unit, double _frameW TQString unitName = KoUnit::unitName( m_unit ); TQGridLayout *mainGrid = new TQGridLayout( this, 3, 2, KDialog::marginHint(), KDialog::spacingHint() ); - // mainGrid gives equal space to each groupbox, aptqparently + // mainGrid gives equal space to each groupbox, apparently // I tried setRowStretch but the result is awful (much space between them and not equal!) // Any other way (in order to make the 2nd, the one with a single checkbox, a bit // smaller than the other 3) ? (DF) @@ -1639,7 +1639,7 @@ KoParagCounterWidget::KoParagCounterWidget( bool disableAll, TQWidget * tqparent connect( m_styleWidget, TQT_SIGNAL( sig_restartChanged(bool) ), this, TQT_SLOT( restartChanged(bool) ) ); connect( m_styleWidget, TQT_SIGNAL( sig_depthChanged (int) ), this, TQT_SLOT( depthChanged(int) ) ); connect( m_styleWidget, TQT_SIGNAL( sig_displayLevelsChanged (int) ), this, TQT_SLOT( displayLevelsChanged(int) ) ); - connect( m_styleWidget, TQT_SIGNAL( sig_tqalignmentChanged (int) ), this, TQT_SLOT( tqalignmentChanged(int) ) ); + connect( m_styleWidget, TQT_SIGNAL( sig_alignmentChanged (int) ), this, TQT_SLOT( alignmentChanged(int) ) ); connect( m_styleWidget, TQT_SIGNAL( changeCustomBullet( const TQString & , TQChar ) ), this, TQT_SLOT( slotChangeCustomBullet( const TQString & , TQChar ) ) ); connect( m_styleWidget, TQT_SIGNAL( sig_numTypeChanged( int ) ), this, TQT_SLOT( numTypeChanged(int ) ) ); @@ -2210,19 +2210,19 @@ void KoParagDia::setCurrentPage( int page ) switch( page ) { case PD_SPACING: - showPage( pageIndex( m_indentSpacingWidget->tqparentWidget() ) ); + showPage( pageIndex( m_indentSpacingWidget->parentWidget() ) ); break; case PD_ALIGN: - showPage( pageIndex( m_alignWidget->tqparentWidget() ) ); + showPage( pageIndex( m_alignWidget->parentWidget() ) ); break; case PD_DECORATION: - showPage( pageIndex( m_decorationsWidget->tqparentWidget() ) ); + showPage( pageIndex( m_decorationsWidget->parentWidget() ) ); break; case PD_NUMBERING: - showPage( pageIndex( m_counterWidget->tqparentWidget() ) ); + showPage( pageIndex( m_counterWidget->parentWidget() ) ); break; case PD_TABS: - showPage( pageIndex( m_tabulatorsWidget->tqparentWidget() ) ); + showPage( pageIndex( m_tabulatorsWidget->parentWidget() ) ); break; default: break; |
