diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2014-04-02 18:22:29 +0400 |
---|---|---|
committer | Olivier Goffart <ogoffart@woboq.com> | 2014-04-02 18:23:57 +0400 |
commit | 03ef2aadde52b3cdc2aefac7ded1b0939ab30e62 (patch) | |
tree | d7e86079ce75fc2828ccc7711d5adc809e283dc5 /src/owncloudcmd | |
parent | f09076180d0aff86cf6fcb32cade8d2409230c75 (diff) |
Remove undeeded includes
And don't use 'using namespace' in headers
Diffstat (limited to 'src/owncloudcmd')
-rw-r--r-- | src/owncloudcmd/simplesslerrorhandler.cpp | 6 | ||||
-rw-r--r-- | 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 10d06e70a..8a52266f7 100644 --- a/src/owncloudcmd/simplesslerrorhandler.cpp +++ b/src/owncloudcmd/simplesslerrorhandler.cpp @@ -15,11 +15,7 @@ #include "mirall/account.h" #include "simplesslerrorhandler.h" -#include <QtGui> -#include <QtNetwork> - - -bool SimpleSslErrorHandler::handleErrors(QList<QSslError> errors, QList<QSslCertificate> *certs, Account *account) +bool SimpleSslErrorHandler::handleErrors(QList<QSslError> errors, QList<QSslCertificate> *certs, Mirall::Account *account) { (void) account; diff --git a/src/owncloudcmd/simplesslerrorhandler.h b/src/owncloudcmd/simplesslerrorhandler.h index 4add72d14..0a6bfd702 100644 --- a/src/owncloudcmd/simplesslerrorhandler.h +++ b/src/owncloudcmd/simplesslerrorhandler.h @@ -13,21 +13,14 @@ #ifndef SIMPLESSLERRORHANDLER_H #define SIMPLESSLERRORHANDLER_H -#include <QtCore> -#include <QDialog> -#include <QSslCertificate> -#include <QList> - #include "mirall/account.h" class QSslError; class QSslCertificate; -using namespace Mirall; - -class SimpleSslErrorHandler : public AbstractSslErrorHandler { +class SimpleSslErrorHandler : public Mirall::AbstractSslErrorHandler { public: - bool handleErrors(QList<QSslError> errors, QList<QSslCertificate> *certs, Account*); + bool handleErrors(QList<QSslError> errors, QList<QSslCertificate> *certs, Mirall::Account*); }; #endif // SIMPLESSLERRORHANDLER_H |