Commit 9f90428a authored by Laurent Montel's avatar Laurent Montel 😁

Astyle kdelibs

parent f5ffa539
......@@ -47,7 +47,6 @@ AutomaticAddContactsWidget::AutomaticAddContactsWidget(QWidget *parent, QAbstrac
lab->setObjectName(QStringLiteral("labelfolder"));
hlay->addWidget(lab);
mCollectionCombobox = new Akonadi::CollectionComboBox(model);
mCollectionCombobox->setAccessRightsFilter(Akonadi::Collection::CanCreateItem);
mCollectionCombobox->setMinimumWidth(250);
......@@ -60,7 +59,6 @@ AutomaticAddContactsWidget::AutomaticAddContactsWidget(QWidget *parent, QAbstrac
connect(mCollectionCombobox, static_cast<void (Akonadi::CollectionComboBox::*)(int)>(&Akonadi::CollectionComboBox::activated),
this, &AutomaticAddContactsWidget::configureChanged);
mainLayout->addStretch(1);
}
......
......@@ -24,7 +24,8 @@
#include <MessageComposer/PluginEditorCheckBeforeSendConfigureWidget>
class QCheckBox;
namespace Akonadi {
namespace Akonadi
{
class CollectionComboBox;
}
class QAbstractItemModel;
......
......@@ -37,7 +37,6 @@
//#define IMPLEMENTATION_DONE 1
AutomaticAddContactsJob::AutomaticAddContactsJob(QObject *parent)
: QObject(parent),
mCurrentIndex(-1)
......@@ -99,7 +98,6 @@ void AutomaticAddContactsJob::slotSelectedCollectionFetched(KJob *job)
addNextContact();
}
void AutomaticAddContactsJob::slotFetchAllCollections(KJob *job)
{
if (job->error()) {
......@@ -180,7 +178,6 @@ void AutomaticAddContactsJob::slotFetchAllCollections(KJob *job)
addNextContact();
}
void AutomaticAddContactsJob::slotResourceCreationDone(KJob *job)
{
if (job->error()) {
......
......@@ -82,7 +82,6 @@ void AutomaticAddContactsWidgetTest::shouldHaveDefaultValue()
QVERIFY(lab);
QVERIFY(!lab->text().isEmpty());
Akonadi::CollectionComboBox *mCollectionCombobox = w->findChild<Akonadi::CollectionComboBox *>(QStringLiteral("akonadicombobox"));
QVERIFY(mCollectionCombobox);
delete w;
......
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