diff options
Diffstat (limited to 'kspread/dialogs/kspread_dlg_styles.cc')
-rw-r--r-- | kspread/dialogs/kspread_dlg_styles.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kspread/dialogs/kspread_dlg_styles.cc b/kspread/dialogs/kspread_dlg_styles.cc index 071aae69..32a5474a 100644 --- a/kspread/dialogs/kspread_dlg_styles.cc +++ b/kspread/dialogs/kspread_dlg_styles.cc @@ -19,7 +19,7 @@ */ #include <tqheader.h> -#include <layout.h> +#include <tqlayout.h> #include <tqmap.h> #include <kcombobox.h> @@ -42,15 +42,15 @@ using namespace KSpread; StyleWidget::StyleWidget( TQWidget * parent, const char * name, WFlags fl ) : TQWidget( parent, name, fl ) { - TQVBoxLayout * layout = new TQVBoxLayout( this, 11, 6, "layout"); + TQVBoxLayout * tqlayout = new TQVBoxLayout( this, 11, 6, "tqlayout"); m_styleList = new KListView( this, "m_styleList" ); m_styleList->addColumn( i18n( "Styles" ) ); m_styleList->setResizeMode( KListView::AllColumns ); - layout->addWidget( m_styleList ); + tqlayout->addWidget( m_styleList ); m_displayBox = new KComboBox( FALSE, this, "m_displayBox" ); - layout->addWidget( m_displayBox ); + tqlayout->addWidget( m_displayBox ); m_styleList->header()->setLabel( 0, i18n( "Styles" ) ); m_displayBox->clear(); @@ -59,7 +59,7 @@ StyleWidget::StyleWidget( TQWidget * parent, const char * name, WFlags fl ) m_displayBox->insertItem( i18n( "Custom Styles" ) ); m_displayBox->insertItem( i18n( "Hierarchical" ) ); connect( m_styleList, TQT_SIGNAL(doubleClicked ( TQListViewItem *)),this, TQT_SIGNAL( modifyStyle())); - resize( TQSize(446, 384).expandedTo(minimumSizeHint()) ); + resize( TQSize(446, 384).expandedTo(tqminimumSizeHint()) ); } StyleWidget::~StyleWidget() @@ -232,11 +232,11 @@ void StyleDlg::slotUser1() s = m_styleManager->defaultStyle(); int i = 1; - TQString newName( i18n( "style%1" ).arg( m_styleManager->count() + i ) ); + TQString newName( i18n( "style%1" ).tqarg( m_styleManager->count() + i ) ); while ( m_styleManager->style( newName ) != 0 ) { ++i; - newName = i18n( "style%1" ).arg( m_styleManager->count() + i ); + newName = i18n( "style%1" ).tqarg( m_styleManager->count() + i ); } CustomStyle * style = new CustomStyle( newName, s ); |