Commit 7beb2d61 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Astyle kdelibs

parent 4f612674
......@@ -24,11 +24,13 @@
#include <QWidget>
namespace KContacts {
namespace KContacts
{
class Addressee;
}
namespace Akonadi {
namespace Akonadi
{
class ContactMetaData;
......
......@@ -26,11 +26,13 @@
#include <QtCore/QVariantMap>
namespace KContacts {
namespace KContacts
{
class Addressee;
}
namespace Akonadi {
namespace Akonadi
{
class Item;
/**
......
......@@ -26,11 +26,13 @@
#include <QtCore/QVariant>
namespace KContacts {
namespace KContacts
{
class ContactGroup;
}
namespace Akonadi {
namespace Akonadi
{
class Item;
/**
......
......@@ -22,11 +22,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.
......
......@@ -22,7 +22,8 @@
#ifndef SENDSMSACTION_H
#define SENDSMSACTION_H
namespace KContacts {
namespace KContacts
{
class PhoneNumber;
}
......
......@@ -22,11 +22,13 @@
#ifndef AKONADI_SHOWADDRESSACTION_H
#define AKONADI_SHOWADDRESSACTION_H
namespace KContacts {
namespace KContacts
{
class Address;
}
namespace Akonadi {
namespace Akonadi
{
/**
* @short A contact action to show the address of a contact on a map.
......
......@@ -28,7 +28,8 @@ class QLabel;
class KTextEdit;
namespace KContacts {
namespace KContacts
{
class PhoneNumber;
}
......
......@@ -20,4 +20,3 @@
#include "akonadi_contact_debug.h"
Q_LOGGING_CATEGORY(AKONADICONTACT_LOG, "log_akonadi_contact")
......@@ -23,5 +23,5 @@
#include <QLoggingCategory>
Q_DECLARE_LOGGING_CATEGORY(AKONADICONTACT_LOG)
#endif
#endif
......@@ -23,7 +23,8 @@
#include <attributefactory.h>
namespace {
namespace
{
// Anonymous namespace; function is invisible outside this file.
bool dummy()
......
......@@ -24,7 +24,8 @@
#include <entitytreemodel.h>
namespace Akonadi {
namespace Akonadi
{
class ContactCompletionModel : public EntityTreeModel
{
......
......@@ -28,12 +28,14 @@
class QUrl;
namespace KContacts {
namespace KContacts
{
class Address;
class PhoneNumber;
}
namespace Akonadi {
namespace Akonadi
{
/**
* @short A convenience class that handles different contact related actions.
......
......@@ -26,11 +26,13 @@
#include <QWidget>
namespace KContacts {
namespace KContacts
{
class Addressee;
}
namespace Akonadi {
namespace Akonadi
{
class AbstractContactEditorWidget;
class Collection;
......
......@@ -26,7 +26,8 @@
#include <QDialog>
namespace Akonadi {
namespace Akonadi
{
class AbstractContactEditorWidget;
class ContactEditor;
......
......@@ -24,11 +24,13 @@
#include <QWidget>
namespace KContacts {
namespace KContacts
{
class Addressee;
}
namespace Akonadi {
namespace Akonadi
{
/**
* @short The base class for custom ContactEditor page plugins.
......
......@@ -26,11 +26,13 @@
#include <QWidget>
namespace KContacts {
namespace KContacts
{
class ContactGroup;
}
namespace Akonadi {
namespace Akonadi
{
class Collection;
class Item;
......
......@@ -31,7 +31,8 @@
class KJob;
namespace Akonadi {
namespace Akonadi
{
class ContactGroupModel;
class Monitor;
......
......@@ -139,7 +139,7 @@ ContactGroupEditorDelegate::~ContactGroupEditorDelegate()
}
QWidget *ContactGroupEditorDelegate::createEditor(QWidget *parent, const QStyleOptionViewItem &option,
const QModelIndex &index) const
const QModelIndex &index) const
{
Q_UNUSED(option)
if (index.column() == 0) {
......
......@@ -28,7 +28,8 @@
#include <item.h>
namespace Akonadi {
namespace Akonadi
{
class ContactLineEdit : public QLineEdit
{
......
......@@ -107,8 +107,8 @@ ContactGroupEditorDialog::ContactGroupEditorDialog(Mode mode, QWidget *parent)
QGridLayout *layout = new QGridLayout(mainWidget);
d->mEditor = new Akonadi::ContactGroupEditor(mode == CreateMode ?
Akonadi::ContactGroupEditor::CreateMode : Akonadi::ContactGroupEditor::EditMode,
this);
Akonadi::ContactGroupEditor::CreateMode : Akonadi::ContactGroupEditor::EditMode,
this);
if (mode == CreateMode) {
QLabel *label = new QLabel(i18n("Add to:"), mainWidget);
......
Supports Markdown
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