From aacc4bcb4a487871daae6717f77605aaba444341 Mon Sep 17 00:00:00 2001 From: Marc Deop Date: Sat, 2 Mar 2019 12:26:57 +0100 Subject: style: apply .clang-format to all .cpp and .h files --- lib/networkaccessmanager.h | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) (limited to 'lib/networkaccessmanager.h') diff --git a/lib/networkaccessmanager.h b/lib/networkaccessmanager.h index ae847582..ebaaa5b2 100644 --- a/lib/networkaccessmanager.h +++ b/lib/networkaccessmanager.h @@ -13,7 +13,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #pragma once @@ -22,28 +22,27 @@ #include -namespace QMatrixClient -{ +namespace QMatrixClient { class NetworkAccessManager : public QNetworkAccessManager { - Q_OBJECT + Q_OBJECT public: - NetworkAccessManager(QObject* parent = nullptr); - ~NetworkAccessManager() override; + NetworkAccessManager(QObject* parent = nullptr); + ~NetworkAccessManager() override; - QList ignoredSslErrors() const; - void addIgnoredSslError(const QSslError& error); - void clearIgnoredSslErrors(); + QList ignoredSslErrors() const; + void addIgnoredSslError(const QSslError& error); + void clearIgnoredSslErrors(); - /** Get a pointer to the singleton */ - static NetworkAccessManager* instance(); + /** Get a pointer to the singleton */ + static NetworkAccessManager* instance(); private: - QNetworkReply * createRequest(Operation op, - const QNetworkRequest &request, - QIODevice *outgoingData = Q_NULLPTR) override; + QNetworkReply* + createRequest(Operation op, const QNetworkRequest& request, + QIODevice* outgoingData = Q_NULLPTR) override; - class Private; - std::unique_ptr d; + class Private; + std::unique_ptr d; }; } // namespace QMatrixClient -- cgit v1.2.3