diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 04766b207afba7961d4d802313e426f5a2fbef63 (patch) | |
tree | c888ea1027c793e2d0386a7e5a1a0cd077b03cb3 /kpresenter/KPrConfig.cpp | |
parent | b6edfe41c9395f2e20784cbf0e630af6426950a3 (diff) | |
download | koffice-04766b207afba7961d4d802313e426f5a2fbef63.tar.gz koffice-04766b207afba7961d4d802313e426f5a2fbef63.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpresenter/KPrConfig.cpp')
-rw-r--r-- | kpresenter/KPrConfig.cpp | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/kpresenter/KPrConfig.cpp b/kpresenter/KPrConfig.cpp index da37a08e..e93977aa 100644 --- a/kpresenter/KPrConfig.cpp +++ b/kpresenter/KPrConfig.cpp @@ -79,47 +79,47 @@ #include <kspell2/broker.h> using namespace KSpell2; -KPrConfig::KPrConfig( KPrView* tqparent ) +KPrConfig::KPrConfig( KPrView* parent ) : KDialogBase(KDialogBase::IconList,i18n("Configure KPresenter") , KDialogBase::Ok | KDialogBase::Apply | KDialogBase::Cancel| KDialogBase::Default, - KDialogBase::Ok, tqparent) + KDialogBase::Ok, parent) { - m_doc = tqparent->kPresenterDoc(); + m_doc = parent->kPresenterDoc(); TQVBox *page = addVBoxPage( i18n("Interface"), i18n("Interface"), BarIcon("misc", KIcon::SizeMedium) ); - _interfacePage=new KPrConfigureInterfacePage( tqparent, page ); + _interfacePage=new KPrConfigureInterfacePage( parent, page ); page = addVBoxPage( i18n("Color"), i18n("Color"), BarIcon("colorize", KIcon::SizeMedium) ); - _colorBackground = new KPrConfigureColorBackground( tqparent, page ); + _colorBackground = new KPrConfigureColorBackground( parent, page ); page = addVBoxPage( i18n("Spelling"), i18n("Spellchecker Behavior"), BarIcon("spellcheck", KIcon::SizeMedium) ); - _spellPage=new KPrConfigureSpellPage(tqparent, page); + _spellPage=new KPrConfigureSpellPage(parent, page); page = addVBoxPage( i18n("Misc"), i18n("Misc"), BarIcon("misc", KIcon::SizeMedium) ); - _miscPage=new KPrConfigureMiscPage(tqparent, page); + _miscPage=new KPrConfigureMiscPage(parent, page); page = addVBoxPage( i18n("Document"), i18n("Document Settings"), BarIcon("kpresenter_kpr", KIcon::SizeMedium) ); - _defaultDocPage=new KPrConfigureDefaultDocPage(tqparent, page); + _defaultDocPage=new KPrConfigureDefaultDocPage(parent, page); page = addVBoxPage( i18n("Tools"), i18n("Default Tools Settings"), BarIcon("configure", KIcon::SizeMedium) ); - _toolsPage=new KPrConfigureToolsPage(tqparent, page); + _toolsPage=new KPrConfigureToolsPage(parent, page); page = addVBoxPage( i18n("Paths"), i18n("Path Settings"), BarIcon("path") ); - m_pathPage=new KPrConfigurePathPage(tqparent, page); + m_pathPage=new KPrConfigurePathPage(parent, page); if (KoSpeaker::isKttsdInstalled()) { page = addVBoxPage( i18n("Abbreviation for Text-to-Speech", "TTS"), i18n("Text-to-Speech Settings"), BarIcon("access", KIcon::SizeMedium) ); - m_ttsPage=new KPrConfigureTTSPage(tqparent, page); + m_ttsPage=new KPrConfigureTTSPage(parent, page); } else m_ttsPage = 0; connect( this, TQT_SIGNAL( okClicked() ),this, TQT_SLOT( slotApply() ) ); @@ -203,8 +203,8 @@ void KPrConfig::slotDefault() } } -KPrConfigureInterfacePage::KPrConfigureInterfacePage( KPrView *_view, TQWidget *tqparent , char *name ) - :TQWidget ( tqparent,name ) +KPrConfigureInterfacePage::KPrConfigureInterfacePage( KPrView *_view, TQWidget *parent , char *name ) + :TQWidget ( parent,name ) { TQVBoxLayout *box = new TQVBoxLayout( this, 0, 0 ); @@ -312,8 +312,8 @@ void KPrConfigureInterfacePage::slotDefault() showStatusBar->setChecked(true); } -KPrConfigureColorBackground::KPrConfigureColorBackground( KPrView* _view, TQWidget *tqparent , char *name ) - :TQWidget ( tqparent,name ) +KPrConfigureColorBackground::KPrConfigureColorBackground( KPrView* _view, TQWidget *parent , char *name ) + :TQWidget ( parent,name ) { m_pView = _view; config = KPrFactory::global()->config(); @@ -382,12 +382,12 @@ void KPrConfigureColorBackground::slotDefault() -KPrConfigureSpellPage::KPrConfigureSpellPage( KPrView *_view, TQWidget *tqparent, char *name ) - : TQWidget( tqparent, name ) +KPrConfigureSpellPage::KPrConfigureSpellPage( KPrView *_view, TQWidget *parent, char *name ) + : TQWidget( parent, name ) { m_pView=_view; config = KPrFactory::global()->config(); - m_spellConfigWidget = new ConfigWidget( _view->broker(), tqparent ); + m_spellConfigWidget = new ConfigWidget( _view->broker(), parent ); m_spellConfigWidget->setBackgroundCheckingButtonShown( true ); } @@ -410,8 +410,8 @@ void KPrConfigureSpellPage::slotDefault() m_spellConfigWidget->slotDefault(); } -KPrConfigureMiscPage::KPrConfigureMiscPage( KPrView *_view, TQWidget *tqparent, char *name ) - : TQWidget( tqparent, name ) +KPrConfigureMiscPage::KPrConfigureMiscPage( KPrView *_view, TQWidget *parent, char *name ) + : TQWidget( parent, name ) { TQVBoxLayout *box = new TQVBoxLayout( this, 0, 0 ); @@ -588,8 +588,8 @@ void KPrConfigureMiscPage::slotDefault() resolutionX->setValue( MM_TO_POINT( 5.0 )); } -KPrConfigureDefaultDocPage::KPrConfigureDefaultDocPage(KPrView *_view, TQWidget *tqparent, char *name ) - : TQWidget( tqparent, name ) +KPrConfigureDefaultDocPage::KPrConfigureDefaultDocPage(KPrView *_view, TQWidget *parent, char *name ) + : TQWidget( parent, name ) { TQVBoxLayout *box = new TQVBoxLayout( this, 0, 0 ); @@ -811,8 +811,8 @@ void KPrConfigureDefaultDocPage::selectNewDefaultFont() { } } -KPrConfigureToolsPage::KPrConfigureToolsPage( KPrView *_view, TQWidget *tqparent, char *name ) - : TQWidget( tqparent, name ) +KPrConfigureToolsPage::KPrConfigureToolsPage( KPrView *_view, TQWidget *parent, char *name ) + : TQWidget( parent, name ) { TQVBoxLayout *box = new TQVBoxLayout( this, 0, 0 ); @@ -930,8 +930,8 @@ void KPrConfigureToolsPage::slotDefault() pieValues.pieLength = 270 * 16; } -KPrConfigurePathPage::KPrConfigurePathPage( KPrView *_view, TQWidget *tqparent, char *name ) - : TQWidget( tqparent, name ) +KPrConfigurePathPage::KPrConfigurePathPage( KPrView *_view, TQWidget *parent, char *name ) + : TQWidget( parent, name ) { TQVBoxLayout *box = new TQVBoxLayout( this, 0, 0 ); @@ -1036,8 +1036,8 @@ void KPrConfigurePathPage::apply() //// -KPrConfigureTTSPage::KPrConfigureTTSPage( KPrView *_view, TQWidget *tqparent, char *name ) - : TQWidget( tqparent, name ) +KPrConfigureTTSPage::KPrConfigureTTSPage( KPrView *_view, TQWidget *parent, char *name ) + : TQWidget( parent, name ) { Q_UNUSED(_view); |