Remove undeeded includes

And don't use 'using namespace' in headers
This commit is contained in:
Olivier Goffart 2014-04-02 16:22:29 +02:00
parent f09076180d
commit 03ef2aadde
2 changed files with 3 additions and 14 deletions

View file

@ -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;

View file

@ -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