* src/frontends/qt4/QDocument.cpp:

* src/frontends/qt4/QInclude.cpp:
* src/frontends/qt4/QListings.cpp:
	- add missing slot to "pass validation" checkbox togling signal.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18889 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2007-06-26 08:00:44 +00:00
parent 26b21574b2
commit 874f4b99fd
3 changed files with 4 additions and 0 deletions

View File

@ -224,6 +224,8 @@ QDocumentDialog::QDocumentDialog(QDocument * form)
this, SLOT(change_adaptor())); this, SLOT(change_adaptor()));
connect(textLayoutModule->bypassCB, SIGNAL(clicked()), connect(textLayoutModule->bypassCB, SIGNAL(clicked()),
this, SLOT(change_adaptor())); this, SLOT(change_adaptor()));
connect(textLayoutModule->bypassCB, SIGNAL(clicked()),
this, SLOT(validate_listings_params()));
connect(textLayoutModule->listingsED, SIGNAL(textChanged()), connect(textLayoutModule->listingsED, SIGNAL(textChanged()),
this, SLOT(validate_listings_params())); this, SLOT(validate_listings_params()));
textLayoutModule->listingsTB->setPlainText( textLayoutModule->listingsTB->setPlainText(

View File

@ -67,6 +67,7 @@ QIncludeDialog::QIncludeDialog(QInclude * form)
connect(listingsED, SIGNAL(textChanged()), this, SLOT(change_adaptor())); connect(listingsED, SIGNAL(textChanged()), this, SLOT(change_adaptor()));
connect(listingsED, SIGNAL(textChanged()), this, SLOT(validate_listings_params())); connect(listingsED, SIGNAL(textChanged()), this, SLOT(validate_listings_params()));
connect(bypassCB, SIGNAL(clicked()), this, SLOT(change_adaptor())); connect(bypassCB, SIGNAL(clicked()), this, SLOT(change_adaptor()));
connect(bypassCB, SIGNAL(clicked()), this, SLOT(validate_listings_params()));
filenameED->setValidator(new PathValidator(true, filenameED)); filenameED->setValidator(new PathValidator(true, filenameED));
setFocusProxy(filenameED); setFocusProxy(filenameED);

View File

@ -192,6 +192,7 @@ QListingsDialog::QListingsDialog(QListings * form)
connect(listingsED, SIGNAL(textChanged()), this, SLOT(change_adaptor())); connect(listingsED, SIGNAL(textChanged()), this, SLOT(change_adaptor()));
connect(listingsED, SIGNAL(textChanged()), this, SLOT(validate_listings_params())); connect(listingsED, SIGNAL(textChanged()), this, SLOT(validate_listings_params()));
connect(bypassCB, SIGNAL(clicked()), this, SLOT(change_adaptor())); connect(bypassCB, SIGNAL(clicked()), this, SLOT(change_adaptor()));
connect(bypassCB, SIGNAL(clicked()), this, SLOT(validate_listings_params()));
for (int n = 0; languages[n][0]; ++n) for (int n = 0; languages[n][0]; ++n)
languageCO->addItem(qt_(languages_gui[n])); languageCO->addItem(qt_(languages_gui[n]));