small changes to enable compilation once again of the kde frontend.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1611 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2001-02-23 16:15:51 +00:00
parent e07f7bcc50
commit 02f23c0f37
9 changed files with 16 additions and 7 deletions

View File

@ -1,3 +1,7 @@
2001-02-22 Angus Leeming <a.leeming@ic.ac.uk>
* <various>: small changes to enable compilation once again.
2001-02-12 John Levon <moz@compsoc.man.ac.uk> 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
* <various>: move to house style * <various>: move to house style

View File

@ -45,7 +45,7 @@ void FormCitation::showCitation(InsetCommand * const inset)
inset_ = inset; inset_ = inset;
readonly = lv_->buffer()->isReadonly(); readonly = lv_->buffer()->isReadonly();
ih_ = inset_->hide.connect(slot(this,&FormCitation::hide)); ih_ = inset_->hideDialog.connect(slot(this,&FormCitation::hide));
params = inset->params(); params = inset->params();
show(); show();

View File

@ -38,7 +38,7 @@ void FormIndex::showIndex(InsetCommand * const inset)
inset_ = inset; inset_ = inset;
readonly = lv_->buffer()->isReadonly(); readonly = lv_->buffer()->isReadonly();
ih_ = inset_->hide.connect(slot(this,&FormIndex::hide)); ih_ = inset_->hideDialog.connect(slot(this,&FormIndex::hide));
params = inset->params(); params = inset->params();
show(); show();

View File

@ -179,7 +179,10 @@ void FormParagraph::apply()
dialog_->getHfillBetween(), dialog_->getHfillBetween(),
dialog_->getStartNewMinipage()); dialog_->getStartNewMinipage());
lv_->view()->update(BufferView::SELECT | BufferView::FITCUR | BufferView::CHANGE); lv_->view()->update(lv_->view()->text,
BufferView::SELECT |
BufferView::FITCUR |
BufferView::CHANGE);
lv_->buffer()->markDirty(); lv_->buffer()->markDirty();
setMinibuffer(lv_, _("Paragraph layout set")); setMinibuffer(lv_, _("Paragraph layout set"));
} }

View File

@ -45,7 +45,7 @@ void FormRef::showRef(InsetCommand * const inset)
inset_ = inset; inset_ = inset;
readonly = lv_->buffer()->isReadonly(); readonly = lv_->buffer()->isReadonly();
ih_ = inset_->hide.connect(slot(this,&FormRef::hide)); ih_ = inset_->hideDialog.connect(slot(this,&FormRef::hide));
params = inset->params(); params = inset->params();
show(); show();

View File

@ -53,7 +53,7 @@ void FormToc::showTOC(InsetCommand * const inset)
return; return;
inset_ = inset; inset_ = inset;
ih_ = inset_->hide.connect(slot(this,&FormToc::hide)); ih_ = inset_->hideDialog.connect(slot(this,&FormToc::hide));
params = inset->params(); params = inset->params();
show(); show();

View File

@ -38,7 +38,7 @@ void FormUrl::showUrl(InsetCommand * const inset)
inset_ = inset; inset_ = inset;
readonly = lv_->buffer()->isReadonly(); readonly = lv_->buffer()->isReadonly();
ih_ = inset_->hide.connect(slot(this,&FormUrl::hide)); ih_ = inset_->hideDialog.connect(slot(this,&FormUrl::hide));
params = inset->params(); params = inset->params();
show(); show();

View File

@ -27,6 +27,8 @@ libkde_la_OBJADD = \
../xforms/FormInclude.lo \ ../xforms/FormInclude.lo \
../xforms/form_include.lo \ ../xforms/form_include.lo \
../xforms/FormInset.lo \ ../xforms/FormInset.lo \
../xforms/FormPreamble.lo \
../xforms/form_preamble.lo \
../xforms/FormPreferences.lo \ ../xforms/FormPreferences.lo \
../xforms/form_preferences.lo \ ../xforms/form_preferences.lo \
../xforms/FormSplash.lo \ ../xforms/FormSplash.lo \

View File

@ -446,7 +446,7 @@ bool DocDialog::updateParams(BufferParams & params)
break; break;
} }
if (tmpskip != params.getDefSkip()) { if (!(tmpskip == params.getDefSkip())) {
redo = true; redo = true;
params.setDefSkip(tmpskip); params.setDefSkip(tmpskip);
} }