diff options
Diffstat (limited to 'karbon/tools/vtexttool.cc')
-rw-r--r-- | karbon/tools/vtexttool.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/karbon/tools/vtexttool.cc b/karbon/tools/vtexttool.cc index a08b7f3c..ca3ba1ea 100644 --- a/karbon/tools/vtexttool.cc +++ b/karbon/tools/vtexttool.cc @@ -332,11 +332,11 @@ VTextOptionsWidget::VTextOptionsWidget( VTextTool* tool, TQWidget *parent ) TQGridLayout* textLayout = new TQGridLayout( textWidget ); TQStringList list; - KFontChooser::getFontList( list, KFontChooser::SmoothScalableFonts ); + TDEFontChooser::getFontList( list, TDEFontChooser::SmoothScalableFonts ); textLayout->setMargin( 3 ); textLayout->setSpacing( 2 ); - textLayout->addMultiCellWidget( m_fontCombo = new KFontCombo( list, textWidget ), 0, 0, 0, 2 ); + textLayout->addMultiCellWidget( m_fontCombo = new TDEFontCombo( list, textWidget ), 0, 0, 0, 2 ); textLayout->addWidget( m_fontSize = new KIntNumInput( textWidget ), 1, 0 ); textLayout->addWidget( m_boldCheck = new TQCheckBox( i18n( "Bold" ), textWidget ), 1, 1 ); textLayout->addWidget( m_italicCheck = new TQCheckBox( i18n( "Italic" ), textWidget ), 1, 2 ); @@ -1142,13 +1142,13 @@ VTextTool::mouseDragShiftReleased() } void -VTextTool::setup( KActionCollection *collection ) +VTextTool::setup( TDEActionCollection *collection ) { - m_action = static_cast<KRadioAction *>(collection -> action( name() ) ); + m_action = static_cast<TDERadioAction *>(collection -> action( name() ) ); if( m_action == 0 ) { - m_action = new KRadioAction( i18n( "Text Tool" ), "14_text", TQt::SHIFT+TQt::Key_T, this, TQT_SLOT( activate() ), collection, name() ); + m_action = new TDERadioAction( i18n( "Text Tool" ), "14_text", TQt::SHIFT+TQt::Key_T, this, TQT_SLOT( activate() ), collection, name() ); m_action->setToolTip( i18n( "Text Tool" ) ); m_action->setExclusiveGroup( "misc" ); //m_ownAction = true; |