mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Fix signals
This commit is contained in:
parent
548c5ba92d
commit
31a197d88c
@ -100,12 +100,12 @@ GuiExternal::GuiExternal(GuiView & lv)
|
|||||||
this, SLOT(change_adaptor()));
|
this, SLOT(change_adaptor()));
|
||||||
connect(browsePB, SIGNAL(clicked()),
|
connect(browsePB, SIGNAL(clicked()),
|
||||||
this, SLOT(browseClicked()));
|
this, SLOT(browseClicked()));
|
||||||
connect(externalCO, SIGNAL(activated(QString)),
|
connect(externalCO, SIGNAL(activated(int)),
|
||||||
this, SLOT(templateChanged()));
|
this, SLOT(templateChanged()));
|
||||||
connect(extraED, SIGNAL(textChanged(QString)),
|
connect(extraED, SIGNAL(textChanged(QString)),
|
||||||
this, SLOT(extraChanged(QString)));
|
this, SLOT(extraChanged(QString)));
|
||||||
connect(extraFormatCO, SIGNAL(activated(QString)),
|
connect(extraFormatCO, SIGNAL(activated(int)),
|
||||||
this, SLOT(formatChanged(QString)));
|
this, SLOT(formatChanged(int)));
|
||||||
connect(widthUnitCO, SIGNAL(activated(int)),
|
connect(widthUnitCO, SIGNAL(activated(int)),
|
||||||
this, SLOT(widthUnitChanged()));
|
this, SLOT(widthUnitChanged()));
|
||||||
connect(heightUnitCO, SIGNAL(selectionChanged(lyx::Length::UNIT)),
|
connect(heightUnitCO, SIGNAL(selectionChanged(lyx::Length::UNIT)),
|
||||||
@ -315,9 +315,9 @@ void GuiExternal::extraChanged(const QString & text)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void GuiExternal::formatChanged(const QString & format)
|
void GuiExternal::formatChanged(int const i)
|
||||||
{
|
{
|
||||||
extraED->setText(extra_[format]);
|
extraED->setText(extra_[extraFormatCO->itemText(i)]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ private Q_SLOTS:
|
|||||||
void browseClicked();
|
void browseClicked();
|
||||||
void change_adaptor();
|
void change_adaptor();
|
||||||
void extraChanged(const QString &);
|
void extraChanged(const QString &);
|
||||||
void formatChanged(const QString &);
|
void formatChanged(int const);
|
||||||
void getbbClicked();
|
void getbbClicked();
|
||||||
void sizeChanged();
|
void sizeChanged();
|
||||||
void templateChanged();
|
void templateChanged();
|
||||||
|
Loading…
Reference in New Issue
Block a user