From 02f23c0f370d5dd9e2896ad9e0eb7f918909bd8d Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Fri, 23 Feb 2001 16:15:51 +0000 Subject: [PATCH] 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 --- src/frontends/kde/ChangeLog | 4 ++++ src/frontends/kde/FormCitation.C | 2 +- src/frontends/kde/FormIndex.C | 2 +- src/frontends/kde/FormParagraph.C | 5 ++++- src/frontends/kde/FormRef.C | 2 +- src/frontends/kde/FormToc.C | 2 +- src/frontends/kde/FormUrl.C | 2 +- src/frontends/kde/Makefile.am | 2 ++ src/frontends/kde/docdlg.C | 2 +- 9 files changed, 16 insertions(+), 7 deletions(-) diff --git a/src/frontends/kde/ChangeLog b/src/frontends/kde/ChangeLog index 3540d4989a..9bb607a9be 100644 --- a/src/frontends/kde/ChangeLog +++ b/src/frontends/kde/ChangeLog @@ -1,3 +1,7 @@ +2001-02-22 Angus Leeming + + * : small changes to enable compilation once again. + 2001-02-12 John Levon * : move to house style diff --git a/src/frontends/kde/FormCitation.C b/src/frontends/kde/FormCitation.C index 0a5d88d732..98e7a1c70f 100644 --- a/src/frontends/kde/FormCitation.C +++ b/src/frontends/kde/FormCitation.C @@ -45,7 +45,7 @@ void FormCitation::showCitation(InsetCommand * const inset) inset_ = inset; readonly = lv_->buffer()->isReadonly(); - ih_ = inset_->hide.connect(slot(this,&FormCitation::hide)); + ih_ = inset_->hideDialog.connect(slot(this,&FormCitation::hide)); params = inset->params(); show(); diff --git a/src/frontends/kde/FormIndex.C b/src/frontends/kde/FormIndex.C index daac49f01b..c8ee2573dc 100644 --- a/src/frontends/kde/FormIndex.C +++ b/src/frontends/kde/FormIndex.C @@ -38,7 +38,7 @@ void FormIndex::showIndex(InsetCommand * const inset) inset_ = inset; readonly = lv_->buffer()->isReadonly(); - ih_ = inset_->hide.connect(slot(this,&FormIndex::hide)); + ih_ = inset_->hideDialog.connect(slot(this,&FormIndex::hide)); params = inset->params(); show(); diff --git a/src/frontends/kde/FormParagraph.C b/src/frontends/kde/FormParagraph.C index 879aeecb74..7bfa3b6ff1 100644 --- a/src/frontends/kde/FormParagraph.C +++ b/src/frontends/kde/FormParagraph.C @@ -179,7 +179,10 @@ void FormParagraph::apply() dialog_->getHfillBetween(), 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(); setMinibuffer(lv_, _("Paragraph layout set")); } diff --git a/src/frontends/kde/FormRef.C b/src/frontends/kde/FormRef.C index 3a2f2cc4d8..47dbf981a7 100644 --- a/src/frontends/kde/FormRef.C +++ b/src/frontends/kde/FormRef.C @@ -45,7 +45,7 @@ void FormRef::showRef(InsetCommand * const inset) inset_ = inset; readonly = lv_->buffer()->isReadonly(); - ih_ = inset_->hide.connect(slot(this,&FormRef::hide)); + ih_ = inset_->hideDialog.connect(slot(this,&FormRef::hide)); params = inset->params(); show(); diff --git a/src/frontends/kde/FormToc.C b/src/frontends/kde/FormToc.C index d4c229655d..adadb1a13f 100644 --- a/src/frontends/kde/FormToc.C +++ b/src/frontends/kde/FormToc.C @@ -53,7 +53,7 @@ void FormToc::showTOC(InsetCommand * const inset) return; inset_ = inset; - ih_ = inset_->hide.connect(slot(this,&FormToc::hide)); + ih_ = inset_->hideDialog.connect(slot(this,&FormToc::hide)); params = inset->params(); show(); diff --git a/src/frontends/kde/FormUrl.C b/src/frontends/kde/FormUrl.C index eb421eb40f..93eb9f8528 100644 --- a/src/frontends/kde/FormUrl.C +++ b/src/frontends/kde/FormUrl.C @@ -38,7 +38,7 @@ void FormUrl::showUrl(InsetCommand * const inset) inset_ = inset; readonly = lv_->buffer()->isReadonly(); - ih_ = inset_->hide.connect(slot(this,&FormUrl::hide)); + ih_ = inset_->hideDialog.connect(slot(this,&FormUrl::hide)); params = inset->params(); show(); diff --git a/src/frontends/kde/Makefile.am b/src/frontends/kde/Makefile.am index d46953e75e..35adde245c 100644 --- a/src/frontends/kde/Makefile.am +++ b/src/frontends/kde/Makefile.am @@ -27,6 +27,8 @@ libkde_la_OBJADD = \ ../xforms/FormInclude.lo \ ../xforms/form_include.lo \ ../xforms/FormInset.lo \ + ../xforms/FormPreamble.lo \ + ../xforms/form_preamble.lo \ ../xforms/FormPreferences.lo \ ../xforms/form_preferences.lo \ ../xforms/FormSplash.lo \ diff --git a/src/frontends/kde/docdlg.C b/src/frontends/kde/docdlg.C index 1a1ea8b3da..5d4d0278e4 100644 --- a/src/frontends/kde/docdlg.C +++ b/src/frontends/kde/docdlg.C @@ -446,7 +446,7 @@ bool DocDialog::updateParams(BufferParams & params) break; } - if (tmpskip != params.getDefSkip()) { + if (!(tmpskip == params.getDefSkip())) { redo = true; params.setDefSkip(tmpskip); }