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 6a8e0fae..32a5474a 100644 --- a/kspread/dialogs/kspread_dlg_styles.cc +++ b/kspread/dialogs/kspread_dlg_styles.cc @@ -39,8 +39,8 @@ using namespace KSpread; -StyleWidget::StyleWidget( TQWidget * tqparent, const char * name, WFlags fl ) - : TQWidget( tqparent, name, fl ) +StyleWidget::StyleWidget( TQWidget * parent, const char * name, WFlags fl ) + : TQWidget( parent, name, fl ) { TQVBoxLayout * tqlayout = new TQVBoxLayout( this, 11, 6, "tqlayout"); @@ -68,12 +68,12 @@ StyleWidget::~StyleWidget() -StyleDlg::StyleDlg( View * tqparent, StyleManager * manager, +StyleDlg::StyleDlg( View * parent, StyleManager * manager, const char * name ) - : KDialogBase( tqparent, name, true, "", + : KDialogBase( parent, name, true, "", KDialogBase::Ok | KDialogBase::User1 | KDialogBase::User2 | KDialogBase::User3 | KDialogBase::Close, KDialogBase::Ok, false, KGuiItem( i18n( "&New..." ) ), KGuiItem( i18n( "&Modify..." ) ), KGuiItem( i18n( "&Delete" ) ) ), - m_view( tqparent ), + m_view( parent ), m_styleManager( manager ), m_dlg( new StyleWidget( this ) ) { @@ -113,11 +113,11 @@ void StyleDlg::fillComboBox() { if ( entries.find( iter.data() ) == entries.end() ) { - if ( iter.data()->tqparent() == 0 ) + if ( iter.data()->parent() == 0 ) entries[iter.data()] = new KListViewItem( m_dlg->m_styleList, iter.data()->name() ); else { - Map::const_iterator i = entries.find( iter.data()->tqparent() ); + Map::const_iterator i = entries.find( iter.data()->parent() ); if ( i != entries.end() ) entries[iter.data()] = new KListViewItem( i.data(), iter.data()->name() ); } |