diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2017-09-29 12:44:39 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-09-29 12:44:39 -0700 |
commit | c8c9a5dc65c184f0c0acdc19411b4e7efc39fb99 (patch) | |
tree | 3fe44f498df179125f07933157e909197e6ddbbe /desktop-widgets/plugins | |
parent | f6ac79296e3ce2be8eaed039673d1ad0aecd3fde (diff) | |
download | subsurface-c8c9a5dc65c184f0c0acdc19411b4e7efc39fb99.tar.gz |
[Facebook] conversion to new connect syntax
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/plugins')
-rw-r--r-- | desktop-widgets/plugins/facebook/facebookconnectwidget.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp b/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp index f53786a2f..6ed02832b 100644 --- a/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp +++ b/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp @@ -282,13 +282,13 @@ SocialNetworkDialog::SocialNetworkDialog(QWidget *parent) : { ui->setupUi(this); ui->buttonBox->button(QDialogButtonBox::Ok)->setEnabled(false); - connect(ui->date, SIGNAL(clicked()), this, SLOT(selectionChanged())); - connect(ui->duration, SIGNAL(clicked()), this, SLOT(selectionChanged())); - connect(ui->Buddy, SIGNAL(clicked()), this, SLOT(selectionChanged())); - connect(ui->Divemaster, SIGNAL(clicked()), this, SLOT(selectionChanged())); - connect(ui->Location, SIGNAL(clicked()), this, SLOT(selectionChanged())); - connect(ui->Notes, SIGNAL(clicked()), this, SLOT(selectionChanged())); - connect(ui->album, SIGNAL(textChanged(QString)), this, SLOT(albumChanged())); + connect(ui->date, &QCheckBox::clicked, this, &SocialNetworkDialog::selectionChanged); + connect(ui->duration, &QCheckBox::clicked, this, &SocialNetworkDialog::selectionChanged); + connect(ui->Buddy, &QCheckBox::clicked, this, &SocialNetworkDialog::selectionChanged); + connect(ui->Divemaster, &QCheckBox::clicked, this, &SocialNetworkDialog::selectionChanged); + connect(ui->Location, &QCheckBox::clicked, this, &SocialNetworkDialog::selectionChanged); + connect(ui->Notes, &QCheckBox::clicked, this, &SocialNetworkDialog::selectionChanged); + connect(ui->album, &QLineEdit::editingFinished, this, &SocialNetworkDialog::albumChanged); } void SocialNetworkDialog::albumChanged() |