Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2014-04-02 18:22:29 +0400
committerOlivier Goffart <ogoffart@woboq.com>2014-04-02 18:23:57 +0400
commit03ef2aadde52b3cdc2aefac7ded1b0939ab30e62 (patch)
treed7e86079ce75fc2828ccc7711d5adc809e283dc5 /src/owncloudcmd
parentf09076180d0aff86cf6fcb32cade8d2409230c75 (diff)
Remove undeeded includes
And don't use 'using namespace' in headers
Diffstat (limited to 'src/owncloudcmd')
-rw-r--r--src/owncloudcmd/simplesslerrorhandler.cpp6
-rw-r--r--src/owncloudcmd/simplesslerrorhandler.h11
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