Commit efda6e4b authored by Laurent Montel's avatar Laurent Montel 😁

Forward signal

parent 41e9929f
cmake_minimum_required(VERSION 3.5)
set(PIM_VERSION "5.10.44")
set(PIM_VERSION "5.10.45")
project(Akonadi VERSION ${PIM_VERSION})
if (MSVC)
......
......@@ -158,6 +158,9 @@ protected:
*/
void setKAboutData(const KAboutData &aboutData);
Q_SIGNALS:
void enableOkButton(bool enabled);
private:
class Private;
friend class Private;
......
......@@ -103,6 +103,7 @@ AgentConfigurationWidget::AgentConfigurationWidget(const AgentInstance &instance
QVBoxLayout *layout = new QVBoxLayout(this);
layout->setMargin(0);
d->plugin = d->factory->create(config, this, { instance.identifier() });
connect(d->plugin.data(), &AgentConfigurationBase::enableOkButton, this, &AgentConfigurationWidget::enableOkButton);
} else {
// Hide this dialog and fallback to calling the out-of-process configuration
if (auto dlg = qobject_cast<AgentConfigurationDialog*>(parent)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment