From 18e07ec393b295d907059731143d78053652abe4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Sun, 12 Nov 2006 11:25:20 +0000 Subject: [PATCH] * src/frontends/qt4/QBoxDialog.C: * src/frontends/qt4/QExternalDialog.C: * src/frontends/qt4/QVSpaceDialog.C: - fix signal/slot connection git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15879 a592a061-630c-0410-9148-cb99ea01b6c8 --- Status.15x | 19 ++++++++++--------- src/frontends/qt4/QBoxDialog.C | 4 ++-- src/frontends/qt4/QExternalDialog.C | 2 +- src/frontends/qt4/QVSpaceDialog.C | 2 +- 4 files changed, 14 insertions(+), 13 deletions(-) diff --git a/Status.15x b/Status.15x index c83eab0da8..2b0f9fc87f 100644 --- a/Status.15x +++ b/Status.15x @@ -57,15 +57,15 @@ TABLE OF CONTENTS self-explaining. Why don't we group them in two pairs: Section Up/Down, Level Up/Down? The arrangement of the buttons may also give some hint to the user. -- The correct list is not selected when right-clicking on a LOF or +* The correct list is not selected when right-clicking on a LOF or LOT inset. -- When selecting a type which *is* already selected, the content in the +* When selecting a type which *is* already selected, the content in the browser window vanishes -- The items in the treeview are editable +* The items in the treeview are editable -- When content (sections/captions) is changed, the toc/lof/lot is not properly +* When content (sections/captions) is changed, the toc/lof/lot is not properly updated. @@ -74,11 +74,6 @@ DIALOGS * when opening an already opened document (or a document with newer backup), the mouse pointer turns into a clock, although it waits for confirmation -* broken signal/slot connection: - Object::connect: No such signal LengthCombo::selectionChanged(LyXLength::UNIT) - Object::connect: (sender name: 'unitCO') - Object::connect: (receiver name: 'QVSpaceUi') - MATH CONTROL PANEL @@ -353,3 +348,9 @@ CREDITS: * Special handling of [[...]] in text messages is disabled in messages.C FIXED (Georg 2006-11-12) + +* broken signal/slot connection: + Object::connect: No such signal LengthCombo::selectionChanged(LyXLength::UNIT) + Object::connect: (sender name: 'unitCO') + Object::connect: (receiver name: 'QVSpaceUi') + FIXED (JSpitzm 2006-11-12) diff --git a/src/frontends/qt4/QBoxDialog.C b/src/frontends/qt4/QBoxDialog.C index 43cdfce588..1510455ff6 100644 --- a/src/frontends/qt4/QBoxDialog.C +++ b/src/frontends/qt4/QBoxDialog.C @@ -39,10 +39,10 @@ QBoxDialog::QBoxDialog(QBox * form) form, SLOT(slotClose())); connect( widthED, SIGNAL( textChanged(const QString&) ), this, SLOT( change_adaptor() ) ); - connect( widthUnitsLC, SIGNAL( selectionChanged(LyXLength::UNIT) ), this, SLOT( change_adaptor() ) ); + connect( widthUnitsLC, SIGNAL( selectionChanged(lyx::LyXLength::UNIT) ), this, SLOT( change_adaptor() ) ); connect( valignCO, SIGNAL( highlighted(const QString&) ), this, SLOT( change_adaptor() ) ); connect( heightED, SIGNAL( textChanged(const QString&) ), this, SLOT( change_adaptor() ) ); - connect( heightUnitsLC, SIGNAL( selectionChanged(LyXLength::UNIT) ), this, SLOT( change_adaptor() ) ); + connect( heightUnitsLC, SIGNAL( selectionChanged(lyx::LyXLength::UNIT) ), this, SLOT( change_adaptor() ) ); connect( restorePB, SIGNAL( clicked() ), this, SLOT( restoreClicked() ) ); connect( typeCO, SIGNAL( activated(int) ), this, SLOT( change_adaptor() ) ); connect( typeCO, SIGNAL( activated(int) ), this, SLOT( typeChanged(int) ) ); diff --git a/src/frontends/qt4/QExternalDialog.C b/src/frontends/qt4/QExternalDialog.C index 7c1b8e9cf5..f197066d5c 100644 --- a/src/frontends/qt4/QExternalDialog.C +++ b/src/frontends/qt4/QExternalDialog.C @@ -65,7 +65,7 @@ QExternalDialog::QExternalDialog(QExternal * form) connect( extraED, SIGNAL( textChanged(const QString&) ), this, SLOT( extraChanged(const QString&) ) ); connect( extraFormatCO, SIGNAL( activated(const QString&) ), this, SLOT( formatChanged(const QString&) ) ); connect( widthUnitCO, SIGNAL( activated(int) ), this, SLOT( widthUnitChanged() ) ); - connect( heightUnitCO, SIGNAL( selectionChanged(LyXLength::UNIT) ), this, SLOT( change_adaptor() ) ); + connect( heightUnitCO, SIGNAL( selectionChanged(lyx::LyXLength::UNIT) ), this, SLOT( change_adaptor() ) ); connect( displayCB, SIGNAL( stateChanged(int) ), this, SLOT( change_adaptor() ) ); connect( displayscaleED, SIGNAL( textChanged(const QString&) ), this, SLOT( change_adaptor() ) ); connect( angleED, SIGNAL( textChanged(const QString&) ), this, SLOT( change_adaptor() ) ); diff --git a/src/frontends/qt4/QVSpaceDialog.C b/src/frontends/qt4/QVSpaceDialog.C index 1187c41c8c..77cd26dffa 100644 --- a/src/frontends/qt4/QVSpaceDialog.C +++ b/src/frontends/qt4/QVSpaceDialog.C @@ -46,7 +46,7 @@ QVSpaceDialog::QVSpaceDialog(QVSpace * form) connect( valueLE, SIGNAL( textChanged(const QString&) ), this, SLOT( change_adaptor() ) ); connect( spacingCO, SIGNAL( activated(int) ), this, SLOT( enableCustom(int) ) ); connect( keepCB, SIGNAL( clicked() ), this, SLOT( change_adaptor() ) ); - connect( unitCO, SIGNAL( selectionChanged(LyXLength::UNIT) ), this, SLOT( change_adaptor() ) ); + connect( unitCO, SIGNAL( selectionChanged(lyx::LyXLength::UNIT) ), this, SLOT( change_adaptor() ) ); valueLE->setValidator(unsignedLengthValidator(valueLE)); } -- 2.39.2