From 94844816550ad672ccfcdc25659c625546239998 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:32:11 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- kpresenter/KPrConfig.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'kpresenter/KPrConfig.cpp') diff --git a/kpresenter/KPrConfig.cpp b/kpresenter/KPrConfig.cpp index 42a701e9..aea1d31c 100644 --- a/kpresenter/KPrConfig.cpp +++ b/kpresenter/KPrConfig.cpp @@ -40,7 +40,7 @@ #include #include #include -#include +#include #include #include #include @@ -365,13 +365,13 @@ void KPrConfigureColorBackground::apply() if( oldGridColor != _col ) { config->setGroup( "KPresenter Color" ); config->writeEntry( "GridColor", _col ); - doc->tqrepaint( false ); + doc->repaint( false ); doc->setGridColor( _col ); oldGridColor=_col; repaintNeeded = true; } if (repaintNeeded) - doc->tqrepaint( false ); + doc->repaint( false ); } void KPrConfigureColorBackground::slotDefault() @@ -419,9 +419,9 @@ KPrConfigureMiscPage::KPrConfigureMiscPage( KPrView *_view, TQWidget *parent, ch config = KPrFactory::global()->config(); TQGroupBox* tmpTQGroupBox = new TQGroupBox( 0, Qt::Vertical, i18n("Misc"), this, "GroupBox" ); - tmpTQGroupBox->tqlayout()->setSpacing(KDialog::spacingHint()); - tmpTQGroupBox->tqlayout()->setMargin(KDialog::marginHint()); - TQGridLayout *grid = new TQGridLayout( tmpTQGroupBox->tqlayout(), 8, 1 ); + tmpTQGroupBox->layout()->setSpacing(KDialog::spacingHint()); + tmpTQGroupBox->layout()->setMargin(KDialog::marginHint()); + TQGridLayout *grid = new TQGridLayout( tmpTQGroupBox->layout(), 8, 1 ); m_oldNbRedo=30; m_printNotes=true; @@ -469,9 +469,9 @@ KPrConfigureMiscPage::KPrConfigureMiscPage( KPrView *_view, TQWidget *parent, ch box->addWidget(tmpTQGroupBox); tmpTQGroupBox = new TQGroupBox( 0, Qt::Vertical, i18n("Grid"), this, "GroupBox" ); - tmpTQGroupBox->tqlayout()->setSpacing(KDialog::spacingHint()); - tmpTQGroupBox->tqlayout()->setMargin(KDialog::marginHint()); - grid = new TQGridLayout( tmpTQGroupBox->tqlayout(), 8, 1 ); + tmpTQGroupBox->layout()->setSpacing(KDialog::spacingHint()); + tmpTQGroupBox->layout()->setMargin(KDialog::marginHint()); + grid = new TQGridLayout( tmpTQGroupBox->layout(), 8, 1 ); KoRect rect = doc->masterPage()->getPageRect(); TQLabel *lab=new TQLabel(i18n("Horizontal grid size:"), tmpTQGroupBox); @@ -567,7 +567,7 @@ KCommand * KPrConfigureMiscPage::apply() doc->setGridValue( resolutionX->value(), resolutionY->value(), true); - doc->tqrepaint( false ); + doc->repaint( false ); config->sync(); -- cgit v1.2.1