diff options
Diffstat (limited to 'kspread/dialogs/kspread_dlg_preference.cc')
-rw-r--r-- | kspread/dialogs/kspread_dlg_preference.cc | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kspread/dialogs/kspread_dlg_preference.cc b/kspread/dialogs/kspread_dlg_preference.cc index 2b13cbdf..3d470ecf 100644 --- a/kspread/dialogs/kspread_dlg_preference.cc +++ b/kspread/dialogs/kspread_dlg_preference.cc @@ -55,39 +55,39 @@ using namespace KSpread; -PreferenceDialog::PreferenceDialog( View* tqparent, const char* /*name*/) +PreferenceDialog::PreferenceDialog( View* parent, const char* /*name*/) : KDialogBase(KDialogBase::IconList,i18n("Configure KSpread") , KDialogBase::Ok | KDialogBase::Cancel| KDialogBase::Default, KDialogBase::Ok) { - m_pView=tqparent; + m_pView=parent; connect(this, TQT_SIGNAL(okClicked()),this,TQT_SLOT(slotApply())); TQVBox *page2=addVBoxPage(i18n("Locale Settings"), TQString(),BarIcon("gohome",KIcon::SizeMedium)); - _localePage=new parameterLocale(tqparent,page2 ); + _localePage=new parameterLocale(parent,page2 ); TQVBox *page3=addVBoxPage(i18n("Interface"), TQString(),BarIcon("signature", KIcon::SizeMedium) ); - _configure = new configure(tqparent,page3 ); + _configure = new configure(parent,page3 ); TQVBox * page4=addVBoxPage(i18n("Misc"), TQString(),BarIcon("misc",KIcon::SizeMedium) ); - _miscParameter = new miscParameters(tqparent,page4 ); + _miscParameter = new miscParameters(parent,page4 ); TQVBox *page5=addVBoxPage(i18n("Color"), TQString(),BarIcon("colorize",KIcon::SizeMedium) ); - _colorParameter=new colorParameters(tqparent,page5 ); + _colorParameter=new colorParameters(parent,page5 ); TQVBox *page6=addVBoxPage(i18n("Page Layout"), TQString(),BarIcon("edit",KIcon::SizeMedium) ); - _layoutPage=new configureLayoutPage(tqparent,page6 ); + _layoutPage=new configureLayoutPage(parent,page6 ); TQVBox *page7 = addVBoxPage( i18n("Spelling"), i18n("Spell Checker Behavior"), BarIcon("spellcheck", KIcon::SizeMedium) ); - _spellPage=new configureSpellPage(tqparent,page7); + _spellPage=new configureSpellPage(parent,page7); if (KoSpeaker::isKttsdInstalled()) { TQVBox *page8 = addVBoxPage( i18n("Abbreviation for Text-to-Speech", "TTS"), i18n("Text-to-Speech Settings"), BarIcon("access", KIcon::SizeMedium) ); - _ttsPage=new configureTTSPage(tqparent, page8); + _ttsPage=new configureTTSPage(parent, page8); } else _ttsPage = 0; } @@ -151,7 +151,7 @@ void PreferenceDialog::slotDefault() parameterLocale::parameterLocale( View* _view, TQVBox *box , char *name ) - :TQObject ( box->tqparent(),name) + :TQObject ( box->parent(),name) { m_pView = _view; m_bUpdateLocale=false; @@ -201,7 +201,7 @@ void parameterLocale::updateToMatchLocale(KLocale* locale) } configure::configure( View* _view, TQVBox *box , char *name ) - :TQObject ( box->tqparent(),name) + :TQObject ( box->parent(),name) { m_pView = _view; @@ -406,7 +406,7 @@ void configure::apply() miscParameters::miscParameters( View* _view,TQVBox *box, char *name ) - :TQObject ( box->tqparent(),name) + :TQObject ( box->parent(),name) { m_pView = _view; @@ -717,7 +717,7 @@ void miscParameters::apply() colorParameters::colorParameters( View* _view,TQVBox *box , char *name ) - :TQObject ( box->tqparent(),name) + :TQObject ( box->parent(),name) { m_pView = _view; config = Factory::global()->config(); @@ -785,7 +785,7 @@ void colorParameters::slotDefault() configureLayoutPage::configureLayoutPage( View* _view,TQVBox *box , char *name ) - :TQObject ( box->tqparent(),name) + :TQObject ( box->parent(),name) { m_pView = _view; @@ -891,7 +891,7 @@ void configureLayoutPage::apply() } configureSpellPage::configureSpellPage( View* _view,TQVBox *box , char *name ) - :TQObject ( box->tqparent(),name) + :TQObject ( box->parent(),name) { m_pView = _view; @@ -956,7 +956,7 @@ void configureSpellPage::slotDefault() //// configureTTSPage::configureTTSPage( View *_view, TQVBox *box, char *name ) - : TQObject( box->tqparent(), name ) + : TQObject( box->parent(), name ) { Q_UNUSED(_view); |