Commit 233c966a authored by Laurent Montel's avatar Laurent Montel 😁

Port to ControlGui

parent 967987c4
......@@ -35,7 +35,7 @@
#include "soundpicker.h"
#include "specialactions.h"
#include <AkonadiCore/control.h>
#include <AkonadiWidgets/controlgui.h>
#include <AkonadiCore/entitymimetypefiltermodel.h>
#include <KLocalizedString>
......@@ -117,7 +117,7 @@ BirthdayDlg::BirthdayDlg(QWidget* parent)
layout->setMargin(0);
// Start Akonadi server as we need it for the birthday model to access contacts information
Akonadi::Control::start();
Akonadi::ControlGui::start();
BirthdayModel* model = BirthdayModel::instance();
connect(model, &BirthdayModel::dataChanged, this, &BirthdayDlg::resizeViewColumns);
......
......@@ -48,7 +48,7 @@
#include <kmime/kmime_content.h>
#include <KCalCore/MemoryCalendar>
#include <KCalUtils/kcalutils/icaldrag.h>
#include <AkonadiCore/control.h>
#include <AkonadiWidgets/controlgui.h>
using namespace KCalCore;
using namespace KCalUtils;
#include <KLocale>
......@@ -159,7 +159,7 @@ MainWindow::MainWindow(bool restored)
setCentralWidget(mSplitter);
// Create the calendar resource selector widget
Akonadi::Control::widgetNeedsAkonadi(this);
Akonadi::ControlGui::widgetNeedsAkonadi(this);
mResourceSelector = new ResourceSelector(mSplitter);
mSplitter->setStretchFactor(0, 0); // don't resize resource selector when window is resized
mSplitter->setStretchFactor(1, 1);
......
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