From 0464bef7be1a435310fdf6775cb758b0c59c7cca Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Tue, 24 Oct 2000 15:15:25 +0000 Subject: [PATCH] idiot-patch from Angus, new latvian keymap git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1149 a592a061-630c-0410-9148-cb99ea01b6c8 --- ChangeLog | 8 ++++++++ lib/kbd/latvian.kmap | 15 +++++++++++++++ src/frontends/xforms/FormInset.C | 10 ++++++++++ src/frontends/xforms/FormInset.h | 2 ++ 4 files changed, 35 insertions(+) create mode 100644 lib/kbd/latvian.kmap diff --git a/ChangeLog b/ChangeLog index 3975594503..491f7fdf2b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2000-10-24 Angus Leeming + + * src/frontends/xforms/FormInset.[Ch]: Aieeeeee! Ok, I'm an idiot. + +2000-10-24 Jean-Marc Lasgouttes + + * lib/kbd/latvian.kmap: new file from Janne Pänkälä (epa@iki.fi) + 2000-10-24 John Levon * src/frontends/kde/*data.[Ch]: _("") is not diff --git a/lib/kbd/latvian.kmap b/lib/kbd/latvian.kmap new file mode 100644 index 0000000000..cae401b6d0 --- /dev/null +++ b/lib/kbd/latvian.kmap @@ -0,0 +1,15 @@ +# +# latvian.kmap +# +# this is for Latvian, with US Keyboard. +# 2000 By Janne Pänkälä (epa@iki.fi) +# +# Characters that are (afaik ;/ ) needed are +# g k n l with , underneath +# c s z with v above +# a e i u with - above + +\kmod ^ caron cszCSZ +\kmod - macron aeiuAEIU +\kmod \, cedilla gknlGKNL + diff --git a/src/frontends/xforms/FormInset.C b/src/frontends/xforms/FormInset.C index d45f507768..07d498302d 100644 --- a/src/frontends/xforms/FormInset.C +++ b/src/frontends/xforms/FormInset.C @@ -29,6 +29,16 @@ FormInset::FormInset(LyXView * lv, Dialogs * d, string const & t, {} +void FormInset::connect() +{ + u_ = d_->updateBufferDependent. + connect(slot(this, &FormInset::updateSlot)); + h_ = d_->hideBufferDependent. + connect(slot(this, &FormInset::hide)); + FormBase::connect(); +} + + void FormInset::disconnect() { ih_.disconnect(); diff --git a/src/frontends/xforms/FormInset.h b/src/frontends/xforms/FormInset.h index f523336ae3..40cedb8056 100644 --- a/src/frontends/xforms/FormInset.h +++ b/src/frontends/xforms/FormInset.h @@ -30,6 +30,8 @@ protected: char const * close = N_("Close"), char const * cancel = N_("Cancel")); + /// Connect signals. Also perform any necessary initialisation. + virtual void connect(); /// Disconnect signals. Also perform any necessary housekeeping. virtual void disconnect(); -- 2.39.5