Commit 91d11e52 authored by Alexandre Lision's avatar Alexandre Lision

includes: always use #import

import is an include which ensure unique inclusion
(ObjC feature)

Refs #67102

Change-Id: I16cd53c3ffcf1ab2d8f700025451c7951ed42dbf
parent e33b5acb
......@@ -29,7 +29,7 @@
*/
#import <Cocoa/Cocoa.h>
#include <account.h>
#import <account.h>
@interface AccAdvancedVC : NSViewController <NSTextFieldDelegate> {
......
......@@ -32,7 +32,7 @@
#import <Cocoa/Cocoa.h>
#include <account.h>
#import <account.h>
#import "QNSTreeController.h"
......
......@@ -34,10 +34,9 @@
#import "AccAudioVC.h"
#include <QSortFilterProxyModel>
#include <audio/codecmodel.h>
#include <accountmodel.h>
#import <QSortFilterProxyModel>
#import <audio/codecmodel.h>
#import <accountmodel.h>
@interface AccAudioVC ()
......
......@@ -32,7 +32,7 @@
#import <Cocoa/Cocoa.h>
#include <account.h>
#import <account.h>
@interface AccGeneralVC : NSViewController <NSTextFieldDelegate> {
......
......@@ -36,9 +36,9 @@
#import "AccGeneralVC.h"
#include <accountmodel.h>
#import <accountmodel.h>
#import <protocolmodel.h>
#include <qitemselectionmodel.h>
#import <qitemselectionmodel.h>
@interface AccGeneralVC ()
......
......@@ -32,7 +32,7 @@
#import <Cocoa/Cocoa.h>
#include <account.h>
#import <account.h>
@interface AccRingVC : NSViewController <NSTextFieldDelegate> {
......
......@@ -32,7 +32,7 @@
#import <Cocoa/Cocoa.h>
#include <account.h>
#import <account.h>
@interface AccSecurityVC : NSViewController<NSPathControlDelegate, NSOpenSavePanelDelegate> {
......
......@@ -32,7 +32,7 @@
#import <Cocoa/Cocoa.h>
#include <account.h>
#import <account.h>
@interface AccVideoVC : NSViewController <NSOutlineViewDelegate> {
......
......@@ -35,9 +35,8 @@
#import "AccVideoVC.h"
#include <QtCore/QSortFilterProxyModel>
#include <audio/codecmodel.h>
#include <accountmodel.h>
#import <audio/codecmodel.h>
#import <accountmodel.h>
#import "QNSTreeController.h"
......
......@@ -35,10 +35,11 @@
#import "AccountsVC.h"
// LibRingClient
#include <accountmodel.h>
#include <protocolmodel.h>
#include <QItemSelectionModel>
#include <account.h>
#import <QSortFilterProxyModel>
#import <accountmodel.h>
#import <protocolmodel.h>
#import <QItemSelectionModel>
#import <account.h>
#import "QNSTreeController.h"
#import "AccGeneralVC.h"
......
......@@ -16,21 +16,21 @@
* License along with this library; if not, write to the Free Software *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***********************************************************************************/
#include "minimalhistorybackend.h"
#import "minimalhistorybackend.h"
//Qt
#include <QtCore/QFile>
#include <QtCore/QDir>
#include <QtCore/QHash>
#include <QtWidgets/QApplication>
#include <QtCore/QStandardPaths>
#import <QtCore/QFile>
#import <QtCore/QDir>
#import <QtCore/QHash>
#import <QtWidgets/QApplication>
#import <QtCore/QStandardPaths>
//Ring
#include <call.h>
#include <account.h>
#include <person.h>
#include <contactmethod.h>
#include <categorizedhistorymodel.h>
#import <call.h>
#import <account.h>
#import <person.h>
#import <contactmethod.h>
#import <categorizedhistorymodel.h>
class MinimalHistoryEditor : public CollectionEditor<Call>
{
......
......@@ -31,7 +31,7 @@
#import <QuartzCore/QuartzCore.h>
#include <accountmodel.h>
#import <accountmodel.h>
#import "AccountsVC.h"
#import "GeneralPrefsVC.h"
......
......@@ -32,7 +32,7 @@
#import <accountmodel.h>
#import <callmodel.h>
#import <account.h>
#include <call.h>
#import <call.h>
@interface RingWindowController ()
......
......@@ -19,8 +19,8 @@
#ifndef MINIMALHISTORYBACKEND_H
#define MINIMALHISTORYBACKEND_H
#include <collectioninterface.h>
#include <collectioneditor.h>
#import <collectioninterface.h>
#import <collectioneditor.h>
class Call;
......
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