summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrConfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter/KPrConfig.cpp')
-rw-r--r--kpresenter/KPrConfig.cpp20
1 files changed, 10 insertions, 10 deletions
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 <tqgroupbox.h>
#include <tqvgroupbox.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqvbox.h>
#include <tqcheckbox.h>
#include <tqcombobox.h>
@@ -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();