cmake: avoid de-duplication of user's CXXFLAGS
[quassel.git] / src / client / clienttransfer.h
index 9b27666..c5a247f 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-2018 by the Quassel Project                        *
+ *   Copyright (C) 2005-2022 by the Quassel Project                        *
  *   devel@quassel-irc.org                                                 *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
@@ -31,7 +31,7 @@ class ClientTransfer : public Transfer
     Q_OBJECT
 
 public:
-    ClientTransfer(const QUuid &uuid, QObject *parent = nullptr);
+    ClientTransfer(const QUuid& uuid, QObject* parent = nullptr);
 
     QString savePath() const;
 
@@ -39,11 +39,11 @@ public:
 
 public slots:
     // called on the client side
-    void accept(const QString &savePath) const override;
+    void accept(const QStringsavePath) const override;
     void reject() const override;
 
 private slots:
-    void dataReceived(PeerPtr peer, const QByteArray &data) override;
+    void dataReceived(PeerPtr peer, const QByteArraydata) override;
     void onStatusChanged(Transfer::Status status);
 
 private:
@@ -51,5 +51,5 @@ private:
 
     mutable QString _savePath;
 
-    QFile *_file;
+    QFile_file;
 };