Commit 844f7e76 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

run git clang-format

parent 95c65a93
......@@ -13,20 +13,21 @@
#include <KAboutData>
#include <KConfigDialogManager>
#include <KPluginFactory>
#include <KLocalizedString>
#include <KPluginFactory>
Q_DECLARE_METATYPE(ContactActionsSettings::EnumDialPhoneNumberAction)
K_PLUGIN_FACTORY(KCMAkonadiContactActionsFactory, registerPlugin<KCMAkonadiContactActions>();
)
K_PLUGIN_FACTORY(KCMAkonadiContactActionsFactory, registerPlugin<KCMAkonadiContactActions>();)
KCMAkonadiContactActions::KCMAkonadiContactActions(QWidget *parent, const QVariantList &args)
: KCModule(parent, args)
{
KAboutData *about = new KAboutData(QStringLiteral("kcmakonadicontactactions"),
i18n("Contact Actions Settings"),
QString(), QString(), KAboutLicense::LGPL,
QString(),
QString(),
KAboutLicense::LGPL,
i18n("(c) 2009 Tobias Koenig"));
about->addAuthor(i18n("Tobias Koenig"), QString(), QStringLiteral("tokoe@kde.org"));
......@@ -59,7 +60,8 @@ KCMAkonadiContactActions::KCMAkonadiContactActions(QWidget *parent, const QVaria
void KCMAkonadiContactActions::slotShowAddressActionChanged(int value)
{
ContactActionsSettings::EnumShowAddressAction enumValue = static_cast<ContactActionsSettings::EnumShowAddressAction>(ui.ShowAddressAction->itemData(value).toInt());
ContactActionsSettings::EnumShowAddressAction enumValue =
static_cast<ContactActionsSettings::EnumShowAddressAction>(ui.ShowAddressAction->itemData(value).toInt());
if (enumValue == ContactActionsSettings::UseBrowser) {
ui.stackedWidget->setCurrentIndex(0);
} else if (enumValue == ContactActionsSettings::UseExternalAddressApplication) {
......@@ -83,7 +85,8 @@ void KCMAkonadiContactActions::slotSmsPhoneNumberActionChanged(int value)
void KCMAkonadiContactActions::slotDialPhoneNumberActionChanged(int value)
{
ContactActionsSettings::EnumDialPhoneNumberAction enumValue = static_cast<ContactActionsSettings::EnumDialPhoneNumberAction>(ui.DialPhoneNumberAction->itemData(value).toInt());
ContactActionsSettings::EnumDialPhoneNumberAction enumValue =
static_cast<ContactActionsSettings::EnumDialPhoneNumberAction>(ui.DialPhoneNumberAction->itemData(value).toInt());
if (enumValue == ContactActionsSettings::UseExternalPhoneApplication) {
ui.phoneDetailsStack->setCurrentIndex(1);
} else {
......@@ -112,15 +115,16 @@ void KCMAkonadiContactActions::load()
void KCMAkonadiContactActions::save()
{
mConfigManager->updateSettings();
ContactActionsSettings::EnumShowAddressAction enumValueAddress
= static_cast<ContactActionsSettings::EnumShowAddressAction>(ui.ShowAddressAction->itemData(ui.ShowAddressAction->currentIndex()).toInt());
ContactActionsSettings::EnumShowAddressAction enumValueAddress =
static_cast<ContactActionsSettings::EnumShowAddressAction>(ui.ShowAddressAction->itemData(ui.ShowAddressAction->currentIndex()).toInt());
ContactActionsSettings::self()->setShowAddressAction(enumValueAddress);
ContactActionsSettings::EnumDialPhoneNumberAction enumValue
= static_cast<ContactActionsSettings::EnumDialPhoneNumberAction>(ui.DialPhoneNumberAction->itemData(ui.DialPhoneNumberAction->currentIndex()).toInt());
ContactActionsSettings::EnumDialPhoneNumberAction enumValue =
static_cast<ContactActionsSettings::EnumDialPhoneNumberAction>(ui.DialPhoneNumberAction->itemData(ui.DialPhoneNumberAction->currentIndex()).toInt());
ContactActionsSettings::self()->setDialPhoneNumberAction(enumValue);
ContactActionsSettings::EnumSendSmsAction enumValueSms = static_cast<ContactActionsSettings::EnumSendSmsAction>(ui.SendSmsAction->itemData(ui.SendSmsAction->currentIndex()).toInt());
ContactActionsSettings::EnumSendSmsAction enumValueSms =
static_cast<ContactActionsSettings::EnumSendSmsAction>(ui.SendSmsAction->itemData(ui.SendSmsAction->currentIndex()).toInt());
ContactActionsSettings::self()->setSendSmsAction(enumValueSms);
ContactActionsSettings::self()->save();
}
......
......@@ -10,8 +10,8 @@
#ifndef KCMAKONADICONTACTACTIONS_H
#define KCMAKONADICONTACTACTIONS_H
#include <KCModule>
#include "ui_akonadicontactactions.h"
#include <KCModule>
class KConfigDialogManager;
......@@ -30,6 +30,7 @@ private Q_SLOTS:
void slotDialPhoneNumberActionChanged(int);
void slotSmsPhoneNumberActionChanged(int value);
void slotShowAddressActionChanged(int value);
private:
KConfigDialogManager *mConfigManager = nullptr;
Ui_AkonadiContactActions ui;
......
......@@ -9,9 +9,9 @@
#include <AkonadiCore/AbstractDifferencesReporter>
#include <AkonadiCore/Item>
#include "serializer_debug.h"
#include <KContacts/Addressee>
#include <KLocalizedString>
#include "serializer_debug.h"
using namespace Akonadi;
......@@ -128,34 +128,32 @@ static QString toString(const QString &value)
return value;
}
template<class T>
static void compareList(Akonadi::AbstractDifferencesReporter *reporter, const QString &id, const QList<T> &left, const QList<T> &right)
template<class T> static void compareList(Akonadi::AbstractDifferencesReporter *reporter, const QString &id, const QList<T> &left, const QList<T> &right)
{
for (int i = 0; i < left.count(); ++i) {
if (!right.contains(left[ i ])) {
reporter->addProperty(AbstractDifferencesReporter::AdditionalLeftMode, id, toString(left[ i ]), QString());
if (!right.contains(left[i])) {
reporter->addProperty(AbstractDifferencesReporter::AdditionalLeftMode, id, toString(left[i]), QString());
}
}
for (int i = 0; i < right.count(); ++i) {
if (!left.contains(right[ i ])) {
reporter->addProperty(AbstractDifferencesReporter::AdditionalRightMode, id, QString(), toString(right[ i ]));
if (!left.contains(right[i])) {
reporter->addProperty(AbstractDifferencesReporter::AdditionalRightMode, id, QString(), toString(right[i]));
}
}
}
template<class T>
static void compareVector(Akonadi::AbstractDifferencesReporter *reporter, const QString &id, const QVector<T> &left, const QVector<T> &right)
template<class T> static void compareVector(Akonadi::AbstractDifferencesReporter *reporter, const QString &id, const QVector<T> &left, const QVector<T> &right)
{
for (int i = 0; i < left.count(); ++i) {
if (!right.contains(left[ i ])) {
reporter->addProperty(AbstractDifferencesReporter::AdditionalLeftMode, id, toString(left[ i ]), QString());
if (!right.contains(left[i])) {
reporter->addProperty(AbstractDifferencesReporter::AdditionalLeftMode, id, toString(left[i]), QString());
}
}
for (int i = 0; i < right.count(); ++i) {
if (!left.contains(right[ i ])) {
reporter->addProperty(AbstractDifferencesReporter::AdditionalRightMode, id, QString(), toString(right[ i ]));
if (!left.contains(right[i])) {
reporter->addProperty(AbstractDifferencesReporter::AdditionalRightMode, id, QString(), toString(right[i]));
}
}
}
......@@ -173,115 +171,133 @@ void SerializerPluginAddressee::compare(Akonadi::AbstractDifferencesReporter *re
const KContacts::Addressee rightContact = rightItem.payload<KContacts::Addressee>();
if (!compareString(leftContact.uid(), rightContact.uid())) {
reporter->addProperty(AbstractDifferencesReporter::ConflictMode, KContacts::Addressee::uidLabel(),
leftContact.uid(), rightContact.uid());
reporter->addProperty(AbstractDifferencesReporter::ConflictMode, KContacts::Addressee::uidLabel(), leftContact.uid(), rightContact.uid());
}
if (!compareString(leftContact.name(), rightContact.name())) {
reporter->addProperty(AbstractDifferencesReporter::ConflictMode, KContacts::Addressee::nameLabel(),
leftContact.name(), rightContact.name());
reporter->addProperty(AbstractDifferencesReporter::ConflictMode, KContacts::Addressee::nameLabel(), leftContact.name(), rightContact.name());
}
if (!compareString(leftContact.formattedName(), rightContact.formattedName())) {
reporter->addProperty(AbstractDifferencesReporter::ConflictMode, KContacts::Addressee::formattedNameLabel(),
leftContact.formattedName(), rightContact.formattedName());
reporter->addProperty(AbstractDifferencesReporter::ConflictMode,
KContacts::Addressee::formattedNameLabel(),
leftContact.formattedName(),
rightContact.formattedName());
}
if (!compareString(leftContact.familyName(), rightContact.familyName())) {
reporter->addProperty(AbstractDifferencesReporter::ConflictMode, KContacts::Addressee::familyNameLabel(),
leftContact.familyName(), rightContact.familyName());
reporter->addProperty(AbstractDifferencesReporter::ConflictMode,
KContacts::Addressee::familyNameLabel(),
leftContact.familyName(),
rightContact.familyName());
}
if (!compareString(leftContact.givenName(), rightContact.givenName())) {
reporter->addProperty(AbstractDifferencesReporter::ConflictMode, KContacts::Addressee::givenNameLabel(),
leftContact.givenName(), rightContact.givenName());
reporter->addProperty(AbstractDifferencesReporter::ConflictMode,
KContacts::Addressee::givenNameLabel(),
leftContact.givenName(),
rightContact.givenName());
}
if (!compareString(leftContact.additionalName(), rightContact.additionalName())) {
reporter->addProperty(AbstractDifferencesReporter::ConflictMode, KContacts::Addressee::additionalNameLabel(),
leftContact.additionalName(), rightContact.additionalName());
reporter->addProperty(AbstractDifferencesReporter::ConflictMode,
KContacts::Addressee::additionalNameLabel(),
leftContact.additionalName(),
rightContact.additionalName());
}
if (!compareString(leftContact.prefix(), rightContact.prefix())) {
reporter->addProperty(AbstractDifferencesReporter::ConflictMode, KContacts::Addressee::prefixLabel(),
leftContact.prefix(), rightContact.prefix());
reporter->addProperty(AbstractDifferencesReporter::ConflictMode, KContacts::Addressee::prefixLabel(), leftContact.prefix(), rightContact.prefix());
}
if (!compareString(leftContact.suffix(), rightContact.suffix())) {
reporter->addProperty(AbstractDifferencesReporter::ConflictMode, KContacts::Addressee::suffixLabel(),
leftContact.suffix(), rightContact.suffix());
reporter->addProperty(AbstractDifferencesReporter::ConflictMode, KContacts::Addressee::suffixLabel(), leftContact.suffix(), rightContact.suffix());
}
if (!compareString(leftContact.nickName(), rightContact.nickName())) {
reporter->addProperty(AbstractDifferencesReporter::ConflictMode, KContacts::Addressee::nickNameLabel(),
leftContact.nickName(), rightContact.nickName());
reporter->addProperty(AbstractDifferencesReporter::ConflictMode,
KContacts::Addressee::nickNameLabel(),
leftContact.nickName(),
rightContact.nickName());
}
if (leftContact.birthday() != rightContact.birthday()) {
reporter->addProperty(AbstractDifferencesReporter::ConflictMode, KContacts::Addressee::birthdayLabel(),
leftContact.birthday().toString(), rightContact.birthday().toString());
reporter->addProperty(AbstractDifferencesReporter::ConflictMode,
KContacts::Addressee::birthdayLabel(),
leftContact.birthday().toString(),
rightContact.birthday().toString());
}
if (!compareString(leftContact.mailer(), rightContact.mailer())) {
reporter->addProperty(AbstractDifferencesReporter::ConflictMode, KContacts::Addressee::mailerLabel(),
leftContact.mailer(), rightContact.mailer());
reporter->addProperty(AbstractDifferencesReporter::ConflictMode, KContacts::Addressee::mailerLabel(), leftContact.mailer(), rightContact.mailer());
}
if (leftContact.timeZone() != rightContact.timeZone()) {
reporter->addProperty(AbstractDifferencesReporter::ConflictMode, KContacts::Addressee::timeZoneLabel(),
leftContact.timeZone().toString(), rightContact.timeZone().toString());
reporter->addProperty(AbstractDifferencesReporter::ConflictMode,
KContacts::Addressee::timeZoneLabel(),
leftContact.timeZone().toString(),
rightContact.timeZone().toString());
}
if (leftContact.geo() != rightContact.geo()) {
reporter->addProperty(AbstractDifferencesReporter::ConflictMode, KContacts::Addressee::geoLabel(),
leftContact.geo().toString(), rightContact.geo().toString());
reporter->addProperty(AbstractDifferencesReporter::ConflictMode,
KContacts::Addressee::geoLabel(),
leftContact.geo().toString(),
rightContact.geo().toString());
}
if (!compareString(leftContact.title(), rightContact.title())) {
reporter->addProperty(AbstractDifferencesReporter::ConflictMode, KContacts::Addressee::titleLabel(),
leftContact.title(), rightContact.title());
reporter->addProperty(AbstractDifferencesReporter::ConflictMode, KContacts::Addressee::titleLabel(), leftContact.title(), rightContact.title());
}
if (!compareString(leftContact.role(), rightContact.role())) {
reporter->addProperty(AbstractDifferencesReporter::ConflictMode, KContacts::Addressee::roleLabel(),
leftContact.role(), rightContact.role());
reporter->addProperty(AbstractDifferencesReporter::ConflictMode, KContacts::Addressee::roleLabel(), leftContact.role(), rightContact.role());
}
if (!compareString(leftContact.organization(), rightContact.organization())) {
reporter->addProperty(AbstractDifferencesReporter::ConflictMode, KContacts::Addressee::organizationLabel(),
leftContact.organization(), rightContact.organization());
reporter->addProperty(AbstractDifferencesReporter::ConflictMode,
KContacts::Addressee::organizationLabel(),
leftContact.organization(),
rightContact.organization());
}
if (!compareString(leftContact.note(), rightContact.note())) {
reporter->addProperty(AbstractDifferencesReporter::ConflictMode, KContacts::Addressee::noteLabel(),
leftContact.note(), rightContact.note());
reporter->addProperty(AbstractDifferencesReporter::ConflictMode, KContacts::Addressee::noteLabel(), leftContact.note(), rightContact.note());
}
if (!compareString(leftContact.productId(), rightContact.productId())) {
reporter->addProperty(AbstractDifferencesReporter::ConflictMode, KContacts::Addressee::productIdLabel(),
leftContact.productId(), rightContact.productId());
reporter->addProperty(AbstractDifferencesReporter::ConflictMode,
KContacts::Addressee::productIdLabel(),
leftContact.productId(),
rightContact.productId());
}
if (!compareString(leftContact.sortString(), rightContact.sortString())) {
reporter->addProperty(AbstractDifferencesReporter::ConflictMode, KContacts::Addressee::sortStringLabel(),
leftContact.sortString(), rightContact.sortString());
reporter->addProperty(AbstractDifferencesReporter::ConflictMode,
KContacts::Addressee::sortStringLabel(),
leftContact.sortString(),
rightContact.sortString());
}
if (leftContact.secrecy() != rightContact.secrecy()) {
reporter->addProperty(AbstractDifferencesReporter::ConflictMode, KContacts::Addressee::secrecyLabel(),
leftContact.secrecy().toString(), rightContact.secrecy().toString());
reporter->addProperty(AbstractDifferencesReporter::ConflictMode,
KContacts::Addressee::secrecyLabel(),
leftContact.secrecy().toString(),
rightContact.secrecy().toString());
}
if (leftContact.url() != rightContact.url()) {
reporter->addProperty(AbstractDifferencesReporter::ConflictMode, KContacts::Addressee::urlLabel(),
leftContact.url().url().toDisplayString(), rightContact.url().url().toDisplayString());
reporter->addProperty(AbstractDifferencesReporter::ConflictMode,
KContacts::Addressee::urlLabel(),
leftContact.url().url().toDisplayString(),
rightContact.url().url().toDisplayString());
}
compareList(reporter, i18n("Emails"), leftContact.emails(), rightContact.emails());
compareVector(reporter, i18n("Phone Numbers"), leftContact.phoneNumbers(), rightContact.phoneNumbers());
compareVector(reporter, i18n("Addresses"), leftContact.addresses(), rightContact.addresses());
//TODO: logo/photo/custom entries
// TODO: logo/photo/custom entries
}
//// GidExtractorInterface
......
......@@ -10,15 +10,13 @@
#include <QObject>
#include <AkonadiCore/differencesalgorithminterface.h>
#include <AkonadiCore/itemserializerplugin.h>
#include <AkonadiCore/gidextractorinterface.h>
#include <AkonadiCore/itemserializerplugin.h>
#include <kcontacts/vcardconverter.h>
namespace Akonadi {
class SerializerPluginAddressee : public QObject
, public ItemSerializerPlugin
, public DifferencesAlgorithmInterface
, public GidExtractorInterface
namespace Akonadi
{
class SerializerPluginAddressee : public QObject, public ItemSerializerPlugin, public DifferencesAlgorithmInterface, public GidExtractorInterface
{
Q_OBJECT
Q_INTERFACES(Akonadi::ItemSerializerPlugin)
......
......@@ -6,13 +6,13 @@
#include "akonadi_serializer_contactgroup.h"
#include <AkonadiCore/abstractdifferencesreporter.h>
#include <Akonadi/Contact/ContactGroupExpandJob>
#include <AkonadiCore/abstractdifferencesreporter.h>
#include <AkonadiCore/item.h>
#include <KLocalizedString>
#include <kcontacts/contactgroup.h>
#include <kcontacts/contactgrouptool.h>
#include <KLocalizedString>
#include <qplugin.h>
......@@ -65,18 +65,17 @@ static QString toString(const KContacts::Addressee &contact)
return contact.fullEmail();
}
template<class T>
static void compareVector(AbstractDifferencesReporter *reporter, const QString &id, const QVector<T> &left, const QVector<T> &right)
template<class T> static void compareVector(AbstractDifferencesReporter *reporter, const QString &id, const QVector<T> &left, const QVector<T> &right)
{
for (int i = 0; i < left.count(); ++i) {
if (!right.contains(left[ i ])) {
reporter->addProperty(AbstractDifferencesReporter::AdditionalLeftMode, id, toString(left[ i ]), QString());
if (!right.contains(left[i])) {
reporter->addProperty(AbstractDifferencesReporter::AdditionalLeftMode, id, toString(left[i]), QString());
}
}
for (int i = 0; i < right.count(); ++i) {
if (!left.contains(right[ i ])) {
reporter->addProperty(AbstractDifferencesReporter::AdditionalRightMode, id, QString(), toString(right[ i ]));
if (!left.contains(right[i])) {
reporter->addProperty(AbstractDifferencesReporter::AdditionalRightMode, id, QString(), toString(right[i]));
}
}
}
......@@ -94,8 +93,7 @@ void SerializerPluginContactGroup::compare(Akonadi::AbstractDifferencesReporter
const KContacts::ContactGroup rightContactGroup = rightItem.payload<KContacts::ContactGroup>();
if (!compareString(leftContactGroup.name(), rightContactGroup.name())) {
reporter->addProperty(AbstractDifferencesReporter::ConflictMode, i18n("Name"),
leftContactGroup.name(), rightContactGroup.name());
reporter->addProperty(AbstractDifferencesReporter::ConflictMode, i18n("Name"), leftContactGroup.name(), rightContactGroup.name());
}
// using job->exec() is ok here, not a hot path
......
......@@ -10,17 +10,15 @@
#include <QObject>
#include <AkonadiCore/differencesalgorithminterface.h>
#include <AkonadiCore/itemserializerplugin.h>
#include <AkonadiCore/gidextractorinterface.h>
#include <AkonadiCore/itemserializerplugin.h>
namespace Akonadi {
namespace Akonadi
{
/**
* @since 4.2
*/
class SerializerPluginContactGroup : public QObject
, public ItemSerializerPlugin
, public DifferencesAlgorithmInterface
, public GidExtractorInterface
class SerializerPluginContactGroup : public QObject, public ItemSerializerPlugin, public DifferencesAlgorithmInterface, public GidExtractorInterface
{
Q_OBJECT
Q_INTERFACES(Akonadi::ItemSerializerPlugin)
......
......@@ -5,8 +5,8 @@
*/
#include <AkonadiCore/Item>
#include <QTest>
#include <QObject>
#include <QTest>
#include "../akonadi_serializer_addressee.h"
......
......@@ -13,11 +13,13 @@
#include <QVariantMap>
namespace KContacts {
namespace KContacts
{
class Addressee;
}
namespace Akonadi {
namespace Akonadi
{
class Item;
/**
......@@ -37,8 +39,8 @@ public:
* Describes the form of the HTML that is created.
*/
enum HtmlForm {
SelfcontainedForm, ///< Creates a complete HTML document
EmbeddableForm, ///< Creates a div HTML element that can be embedded.
SelfcontainedForm, ///< Creates a complete HTML document
EmbeddableForm, ///< Creates a div HTML element that can be embedded.
UserForm = SelfcontainedForm + 42 ///< Point for extension
};
......
......@@ -13,11 +13,13 @@
#include <QVariant>
namespace KContacts {
namespace KContacts
{
class ContactGroup;
}
namespace Akonadi {
namespace Akonadi
{
class Item;
/**
......@@ -37,8 +39,8 @@ public:
* Describes the form of the HTML that is created.
*/
enum HtmlForm {
SelfcontainedForm, ///< Creates a complete HTML document
EmbeddableForm, ///< Creates a div HTML element that can be embedded.
SelfcontainedForm, ///< Creates a complete HTML document
EmbeddableForm, ///< Creates a div HTML element that can be embedded.
UserForm = SelfcontainedForm + 42 ///< Point for extension
};
......
......@@ -10,10 +10,8 @@ using namespace Akonadi;
AbstractEmailAddressSelectionDialog::AbstractEmailAddressSelectionDialog(QWidget *parent)
: QDialog(parent)
{
}
AbstractEmailAddressSelectionDialog::~AbstractEmailAddressSelectionDialog()
{
}
......@@ -11,9 +11,10 @@
#include "emailaddressselectionwidget.h"
#include <QDialog>
#include <KContacts/Addressee>
namespace Akonadi {
#include <QDialog>
namespace Akonadi
{
class AKONADI_CONTACT_EXPORT AbstractEmailAddressSelectionDialog : public QDialog
{
Q_OBJECT
......
......@@ -10,15 +10,15 @@
#include "contactactionssettings.h"
#include "qdialer.h"
#include "qekigadialer.h"
#include "qsflphonedialer.h"
#include "qskypedialer.h"
#include "qekigadialer.h"
#include <kcontacts/phonenumber.h>
#include <KLocalizedString>
#include <KMessageBox>
#include <KDialogJobUiDelegate>
#include <KIO/CommandLauncherJob>
#include <KLocalizedString>
#include <KMessageBox>
#include <kcontacts/phonenumber.h>
#include <QDesktopServices>
......@@ -70,5 +70,4 @@ void DialPhoneNumberAction::dialNumber(const KContacts::PhoneNumber &number)
auto *job = new KIO::CommandLauncherJob(command);
job->setUiDelegate(new KDialogJobUiDelegate(KJobUiDelegate::AutoHandlingEnabled, nullptr));
job->start();
}
......@@ -9,11 +9,13 @@
#ifndef AKONADI_DIALPHONENUMBERACTION_H
#define AKONADI_DIALPHONENUMBERACTION_H
namespace KContacts {
namespace KContacts
{
class PhoneNumber;
}
namespace Akonadi {
namespace Akonadi
{
/**
* @short An action to dial the phone number of a contact.
*
......
......@@ -9,11 +9,11 @@
#include <KLocalizedString>
#include <QProcess>
#include <QDBusConnection>
#include <QDBusConnectionInterface>
#include <QDBusInterface>
#include <QDBusReply>
#include <QProcess>
#if !defined(Q_OS_WIN)
#include <unistd.h>
......
......@@ -19,6 +19,7 @@ public:
Q_REQUIRED_RESULT bool dialNumber(const QString &number) override;
Q_REQUIRED_RESULT bool sendSms(const QString &number, const QString &text) override;
private:
bool initializeEkiga();
QDBusInterface *mInterface = nullptr;
......
......@@ -9,9 +9,9 @@
#include <KLocalizedString>
#include <QProcess>
#include <QDBusConnection>
#include <QDBusConnectionInterface>
#include <QProcess>
#if !defined(Q_OS_WIN)
#include <unistd.h>
......
......@@ -8,12 +8,12 @@
#include "qskypedialer.h"
#include <QProcess>