Commit b697bfc1 authored by David Jarvie's avatar David Jarvie
Browse files

Formatting

parent 866e15bf
......@@ -92,7 +92,8 @@ void AkonadiResourceCreator::getAgentType()
return;
}
AgentInstanceCreateJob* job = new AgentInstanceCreateJob(mAgentType, mParent);
connect(job, &AgentInstanceCreateJob::result, this, &AkonadiResourceCreator::agentInstanceCreated);
connect(job, &AgentInstanceCreateJob::result,
this, &AkonadiResourceCreator::agentInstanceCreated);
job->start();
}
......@@ -132,8 +133,10 @@ void AkonadiResourceCreator::agentInstanceCreated(KJob* j)
}
else
{
connect(agentControlIface, &org::freedesktop::Akonadi::Agent::Control::configurationDialogAccepted, this, &AkonadiResourceCreator::configurationDialogAccepted);
connect(agentControlIface, &org::freedesktop::Akonadi::Agent::Control::configurationDialogRejected, this, &AkonadiResourceCreator::exitWithError);
connect(agentControlIface, &org::freedesktop::Akonadi::Agent::Control::configurationDialogAccepted,
this, &AkonadiResourceCreator::configurationDialogAccepted);
connect(agentControlIface, &org::freedesktop::Akonadi::Agent::Control::configurationDialogRejected,
this, &AkonadiResourceCreator::exitWithError);
}
mAgentInstance.configure(mParent);
......
......@@ -256,8 +256,10 @@ RecurrenceEdit::RecurrenceEdit(bool readOnly, QWidget* parent)
mRepeatCountEntry->setSelectOnStep(false);
mRepeatCountEntry->setReadOnly(mReadOnly);
mRepeatCountEntry->setWhatsThis(i18nc("@info:whatsthis", "Enter the total number of times to trigger the alarm"));
connect(mRepeatCountEntry, static_cast<void (SpinBox::*)(int)>(&SpinBox::valueChanged), this, &RecurrenceEdit::repeatCountChanged);
connect(mRepeatCountEntry, static_cast<void (SpinBox::*)(int)>(&SpinBox::valueChanged), this, &RecurrenceEdit::contentsChanged);
connect(mRepeatCountEntry, static_cast<void (SpinBox::*)(int)>(&SpinBox::valueChanged),
this, &RecurrenceEdit::repeatCountChanged);
connect(mRepeatCountEntry, static_cast<void (SpinBox::*)(int)>(&SpinBox::valueChanged),
this, &RecurrenceEdit::contentsChanged);
mRepeatCountButton->setFocusWidget(mRepeatCountEntry);
mRepeatCountLabel = new QLabel(i18nc("@label", "occurrence(s)"), mRangeButtonBox);
mRepeatCountLabel->setFixedSize(mRepeatCountLabel->sizeHint());
......
......@@ -66,7 +66,8 @@ Reminder::Reminder(const QString& reminderWhatsThis, const QString& valueWhatsTh
mTime->setFixedSize(mTime->sizeHint());
connect(mTime, &TimeSelector::toggled, this, &Reminder::slotReminderToggled);
connect(mTime, &TimeSelector::valueChanged, this, &Reminder::changed);
connect(mTimeSignCombo, static_cast<void (ComboBox::*)(int)>(&ComboBox::currentIndexChanged), this, &Reminder::changed);
connect(mTimeSignCombo, static_cast<void (ComboBox::*)(int)>(&ComboBox::currentIndexChanged),
this, &Reminder::changed);
topLayout->addWidget(mTime, 0, Qt::AlignLeft);
if (showOnceOnly)
......
......@@ -126,7 +126,8 @@ ResourceSelector::ResourceSelector(QWidget* parent)
connect(AkonadiModel::instance(), SIGNAL(collectionAdded(Akonadi::Collection)),
SLOT(slotCollectionAdded(Akonadi::Collection)));
connect(mAlarmType, static_cast<void (KComboBox::*)(int)>(&KComboBox::activated), this, &ResourceSelector::alarmTypeSelected);
connect(mAlarmType, static_cast<void (KComboBox::*)(int)>(&KComboBox::activated),
this, &ResourceSelector::alarmTypeSelected);
QTimer::singleShot(0, this, SLOT(alarmTypeSelected()));
Preferences::connect(SIGNAL(archivedKeepDaysChanged(int)), this, SLOT(archiveDaysChanged(int)));
......
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