Fix argument name differ in definition & declaration

This commit is contained in:
Chocobo1
2017-05-09 13:55:24 +08:00
parent 3739bcc270
commit 42c17ea5ce
10 changed files with 16 additions and 16 deletions

View File

@@ -41,7 +41,7 @@ public:
ICOHandler();
bool canRead() const;
bool read(QImage *image);
bool read(QImage *outImage);
bool write(const QImage &image);
QByteArray name() const;

View File

@@ -199,7 +199,7 @@ private:
void dragEnterEvent(QDragEnterEvent *event) override;
void closeEvent(QCloseEvent *) override;
void showEvent(QShowEvent *) override;
bool event(QEvent *event) override;
bool event(QEvent *e) override;
void displayRSSTab(bool enable);
void displaySearchTab(bool enable);

View File

@@ -82,7 +82,7 @@ public slots:
void showConnectionTab();
private slots:
void enableProxy(int comboIndex);
void enableProxy(int index);
void on_buttonBox_accepted();
void closeEvent(QCloseEvent *e);
void on_buttonBox_rejected();
@@ -107,7 +107,7 @@ private slots:
void on_btnWebUiCrt_clicked();
void on_btnWebUiKey_clicked();
void on_registerDNSBtn_clicked();
void setLocale(const QString &locale);
void setLocale(const QString &localeStr);
private:
// Methods

View File

@@ -40,9 +40,9 @@ SearchSortModel::SearchSortModel(QObject *parent)
{
}
void SearchSortModel::enableNameFilter(bool enable)
void SearchSortModel::enableNameFilter(bool enabled)
{
m_isNameFilterEnabled = enable;
m_isNameFilterEnabled = enabled;
}
void SearchSortModel::setNameFilter(const QString &searchTerm)

View File

@@ -111,7 +111,7 @@ public slots:
private slots:
void handleFavicoDownload(const QString &url, const QString &filePath);
void handleFavicoFailure(const QString &url, const QString &reason);
void handleFavicoFailure(const QString &url, const QString &error);
private:
// These 4 methods are virtual slots in the base class.