From 03ef2aadde52b3cdc2aefac7ded1b0939ab30e62 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Wed, 2 Apr 2014 16:22:29 +0200 Subject: [PATCH] Remove undeeded includes And don't use 'using namespace' in headers --- src/owncloudcmd/simplesslerrorhandler.cpp | 6 +----- src/owncloudcmd/simplesslerrorhandler.h | 11 ++--------- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/src/owncloudcmd/simplesslerrorhandler.cpp b/src/owncloudcmd/simplesslerrorhandler.cpp index 10d06e70af..8a52266f75 100644 --- a/src/owncloudcmd/simplesslerrorhandler.cpp +++ b/src/owncloudcmd/simplesslerrorhandler.cpp @@ -15,11 +15,7 @@ #include "mirall/account.h" #include "simplesslerrorhandler.h" -#include -#include - - -bool SimpleSslErrorHandler::handleErrors(QList errors, QList *certs, Account *account) +bool SimpleSslErrorHandler::handleErrors(QList errors, QList *certs, Mirall::Account *account) { (void) account; diff --git a/src/owncloudcmd/simplesslerrorhandler.h b/src/owncloudcmd/simplesslerrorhandler.h index 4add72d145..0a6bfd7020 100644 --- a/src/owncloudcmd/simplesslerrorhandler.h +++ b/src/owncloudcmd/simplesslerrorhandler.h @@ -13,21 +13,14 @@ #ifndef SIMPLESSLERRORHANDLER_H #define SIMPLESSLERRORHANDLER_H -#include -#include -#include -#include - #include "mirall/account.h" class QSslError; class QSslCertificate; -using namespace Mirall; - -class SimpleSslErrorHandler : public AbstractSslErrorHandler { +class SimpleSslErrorHandler : public Mirall::AbstractSslErrorHandler { public: - bool handleErrors(QList errors, QList *certs, Account*); + bool handleErrors(QList errors, QList *certs, Mirall::Account*); }; #endif // SIMPLESSLERRORHANDLER_H