Commit aca7d500 authored by Àlex Fiestas's avatar Àlex Fiestas
Browse files

Copy the KConfigGroup, avoid problems.

parent 3d15523b
......@@ -37,7 +37,7 @@
using namespace Akonadi;
using namespace KGoogle;
CreateCalendar::CreateCalendar(KConfigGroup &group, QObject* parent)
CreateCalendar::CreateCalendar(KConfigGroup group, QObject* parent)
: KJob(parent)
, m_config(group)
{
......
......@@ -37,7 +37,7 @@ class CreateCalendar : public KJob
{
Q_OBJECT
public:
explicit CreateCalendar(KConfigGroup &group, QObject* parent = 0);
explicit CreateCalendar(KConfigGroup group, QObject* parent);
virtual ~CreateCalendar();
virtual void start();
......
......@@ -31,7 +31,7 @@
using namespace KWallet;
CreateChat::CreateChat(KConfigGroup& group, QObject* parent)
CreateChat::CreateChat(KConfigGroup group, QObject* parent)
: KJob(parent)
, m_config(group)
{
......
......@@ -32,7 +32,7 @@ class CreateChat : public KJob
Q_OBJECT
public:
explicit CreateChat(KConfigGroup &group, QObject* parent = 0);
explicit CreateChat(KConfigGroup group, QObject* parent);
virtual ~CreateChat();
virtual void start();
......
......@@ -35,7 +35,7 @@
using namespace KGoogle;
using namespace Akonadi;
CreateContact::CreateContact(KConfigGroup& group, QObject* parent)
CreateContact::CreateContact(KConfigGroup group, QObject* parent)
: KJob(parent)
, m_config(group)
{
......
......@@ -26,7 +26,7 @@ class CreateContact : public KJob
{
Q_OBJECT
public:
explicit CreateContact(KConfigGroup &group, QObject* parent = 0);
explicit CreateContact(KConfigGroup group, QObject* parent);
virtual ~CreateContact();
virtual void start();
......
......@@ -32,7 +32,7 @@
using namespace KWallet;
using namespace Akonadi;
CreateMail::CreateMail(KConfigGroup& group, QObject* parent)
CreateMail::CreateMail(KConfigGroup group, QObject* parent)
: KJob(parent)
, m_config(group)
{
......
......@@ -26,7 +26,7 @@ class CreateMail : public KJob
{
Q_OBJECT
public:
explicit CreateMail(KConfigGroup &group, QObject* parent = 0);
explicit CreateMail(KConfigGroup group, QObject* parent);
virtual ~CreateMail();
virtual void start();
......
......@@ -28,7 +28,7 @@
using namespace KGoogle;
CreateTask::CreateTask(KConfigGroup& group, QObject* parent) : CreateCalendar(group, parent)
CreateTask::CreateTask(KConfigGroup group, QObject* parent) : CreateCalendar(group, parent)
{
qRegisterMetaType< KGoogle::Services::Tasks >("Task");
}
......
......@@ -27,7 +27,7 @@ class CreateTask : public CreateCalendar
{
Q_OBJECT
public:
CreateTask(KConfigGroup &group, QObject* parent = 0);
CreateTask(KConfigGroup group, QObject* parent);
virtual ~CreateTask();
virtual void start();
......
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