Don't use lower-case Qt macros
This commit is contained in:
parent
1ac4d7511d
commit
07c7ec08b1
|
@ -19,11 +19,11 @@ class CliDownloadInteraction : public QObject {
|
|||
public:
|
||||
explicit CliDownloadInteraction(QObject *parent = nullptr);
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void connectDownload(Network::Download *download);
|
||||
void disconnectDownload(Network::Download *download);
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void downloadRequiresOutputDevice(Network::Download *download, size_t optionIndex);
|
||||
void downloadRequiresOutputDevice(Network::Download *download, size_t optionIndex, bool forceFileDialog);
|
||||
void downloadRequriesOverwritePermission(Network::Download *download, size_t optionIndex, const QString &file);
|
||||
|
|
|
@ -30,7 +30,7 @@ public:
|
|||
signals:
|
||||
void addDownloadClicked();
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void textChanged(const QString &text);
|
||||
void adjustDetectedDownloadType();
|
||||
void setLastUrl();
|
||||
|
|
|
@ -78,7 +78,7 @@ public:
|
|||
Network::DownloadFinder *finder() const;
|
||||
QList<Network::Download *> results() const;
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void finderHasResults(const QList<Network::Download *> &newResults);
|
||||
void finderFinished(bool success, const QString &reason = QString());
|
||||
void selectionChanged(const QItemSelection &, const QItemSelection &);
|
||||
|
|
|
@ -19,11 +19,11 @@ public:
|
|||
explicit DownloadInteraction(QObject *parent = nullptr);
|
||||
explicit DownloadInteraction(QWidget *parent = nullptr);
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void connectDownload(Network::Download *download);
|
||||
void disconnectDownload(Network::Download *download);
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void downloadRequiresOutputDevice(Network::Download *download, size_t optionIndex);
|
||||
void downloadRequiresOutputDevice(Network::Download *download, size_t optionIndex, bool forceFileDialog);
|
||||
void downloadRequriesOverwritePermission(Network::Download *download, size_t optionIndex, const QString &file);
|
||||
|
|
|
@ -49,7 +49,7 @@ public:
|
|||
protected:
|
||||
void closeEvent(QCloseEvent *);
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void downloadChangedStatus(Network::Download *download);
|
||||
void downloadChangedProgress(Network::Download *download);
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ public:
|
|||
explicit SetRangeDialog(Network::DownloadRange &range, QWidget *parent = nullptr);
|
||||
~SetRangeDialog();
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void confirm();
|
||||
|
||||
private:
|
||||
|
|
|
@ -34,7 +34,7 @@ public:
|
|||
static constexpr int idColumn();
|
||||
static constexpr int lastColumn();
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void downloadChangedStatus(Network::Download *download);
|
||||
|
||||
private:
|
||||
|
|
|
@ -43,7 +43,7 @@ public:
|
|||
static constexpr int progressColumn();
|
||||
static constexpr int lastColumn();
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void downloadChangedStatus(Network::Download *download);
|
||||
void downloadProgressChanged(Network::Download *download);
|
||||
void downloadInfoChanged(Network::Download *download);
|
||||
|
|
|
@ -40,7 +40,7 @@ class Download : public QObject {
|
|||
public:
|
||||
virtual ~Download();
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
// public slots to control the download
|
||||
void init();
|
||||
void start();
|
||||
|
@ -158,7 +158,7 @@ protected:
|
|||
bool success, const QString &reasonIfNot = QString(), const QNetworkReply::NetworkError &networkError = QNetworkReply::NoError);
|
||||
void reportFinalDownloadStatus(std::size_t optionIndex, bool success, const QString &statusDescription = QString(),
|
||||
QNetworkReply::NetworkError networkError = QNetworkReply::NoError);
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
void reportDownloadInterrupted(std::size_t optionIndex);
|
||||
void reportNewDataToBeWritten(std::size_t optionIndex, QIODevice *inputDevice);
|
||||
void reportRedirectionAvailable(std::size_t originalOptionIndex);
|
||||
|
|
|
@ -29,7 +29,7 @@ public:
|
|||
Download *downloadByInitialUrl(const QUrl &url) const;
|
||||
bool hasDownloadUrl(const QUrl &url) const;
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
bool start();
|
||||
void stop();
|
||||
void setContinueAutomatically(bool continueAutomatically);
|
||||
|
@ -59,7 +59,7 @@ protected:
|
|||
void reportCollectionTitle(const QString &title);
|
||||
void reportResult(Download *result);
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void downloadChangedStatus(Download *download);
|
||||
void downloadRequiresOutputDevice(Download *download, size_t option);
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ public:
|
|||
protected:
|
||||
Download *createRequest(QString &reasonForFail);
|
||||
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
ParsingResult parseResults(const QByteArray &data, QString &reasonForFail);
|
||||
|
||||
private:
|
||||
|
|
|
@ -15,7 +15,7 @@ public:
|
|||
protected:
|
||||
Download *createRequest(QString &);
|
||||
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
ParsingResult parseResults(const QByteArray &data, QString &);
|
||||
|
||||
private:
|
||||
|
|
|
@ -14,7 +14,7 @@ public:
|
|||
protected:
|
||||
Download *createRequest(QString &reasonForFail);
|
||||
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
ParsingResult parseResults(const QByteArray &data, QString &reasonForFail);
|
||||
|
||||
private:
|
||||
|
|
|
@ -100,7 +100,7 @@ public:
|
|||
QString typeName() const;
|
||||
//bool isPending(QNetworkReply *reply) const;
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void slotFinished();
|
||||
void slotReadyRead();
|
||||
void slotDownloadProgress(qint64 bytesReceived, qint64 bytesToReceive);
|
||||
|
|
|
@ -25,7 +25,7 @@ public:
|
|||
protected:
|
||||
virtual void evalVideoInformation(Download *, QBuffer *) = 0;
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void infoRequestChangedStatus(Download *download);
|
||||
|
||||
private:
|
||||
|
|
|
@ -21,7 +21,7 @@ protected:
|
|||
void doInit();
|
||||
void checkStatusAndClear(size_t);
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void tick();
|
||||
|
||||
private:
|
||||
|
|
Loading…
Reference in New Issue