Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 70756d8e authored by Laurent Montel's avatar Laurent Montel 😁

Port to new connect api

parent e85f8a7f
......@@ -56,7 +56,7 @@ public:
Q_SIGNALS:
void attachmentCountChanged(int newCount);
private Q_SLOTS:
private:
void addAttachment();
void copyToClipboard(); /// Copies selected items to clip board
void cutToClipboard(); /// Copies selected items to clipboard and removes them from the list
......
......@@ -49,12 +49,10 @@ public:
private:
void createMissingCategories();
private Q_SLOTS:
void onSelectionChanged(const Akonadi::Tag::List &);
void onTagsFetched(KJob *);
void onMissingTagCreated(KJob *);
private:
Ui::EventOrTodoDesktop *mUi = nullptr;
/**
......
......@@ -70,7 +70,7 @@ IncidenceCompletionPriority::IncidenceCompletionPriority(Ui::EventOrTodoDesktop
d->mUi->mCompletedLabel->setMinimumWidth(metrics.width(QStringLiteral("100%")));
d->mUi->mTaskSeparator->hide();
connect(d->mUi->mCompletionSlider, SIGNAL(valueChanged(int)), SLOT(sliderValueChanged(int)));
connect(d->mUi->mCompletionSlider, QOverload<int>::of(&QSlider::valueChanged), this, [this](int val) { d->sliderValueChanged(val);});
connect(d->mUi->mPriorityCombo, QOverload< int>::of(&KComboBox::currentIndexChanged), this, &IncidenceCompletionPriority::checkDirtyStatus);
}
......
......@@ -45,8 +45,6 @@ public:
private:
class Private;
Private *const d;
Q_PRIVATE_SLOT(d, void sliderValueChanged(int))
};
}
......
......@@ -117,7 +117,7 @@ private:
*/
KLDAP::LdapClient mLdapClient;
private Q_SLOTS:
private:
/* Answer of the LdapServer for the given dn
*
*/
......
......@@ -64,7 +64,7 @@ private:
QItemSelectionModel *selectionModel = nullptr;
private Q_SLOTS:
private:
/* A new searchString is entered
*
*/
......
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