mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
Clazy: fix "arguments needs to be fully qualified"
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
This commit is contained in:
parent
fbe1fc81f3
commit
285346208e
2
src/lib/3rdparty/fancytabwidget.cpp
vendored
2
src/lib/3rdparty/fancytabwidget.cpp
vendored
@ -598,7 +598,7 @@ void FancyTabWidget::AddBottomWidget(QWidget* widget)
|
|||||||
top_layout_->addWidget(widget);
|
top_layout_->addWidget(widget);
|
||||||
}
|
}
|
||||||
|
|
||||||
void FancyTabWidget::SetMode(Mode mode)
|
void FancyTabWidget::SetMode(FancyTabWidget::Mode mode)
|
||||||
{
|
{
|
||||||
// Remove previous tab bar
|
// Remove previous tab bar
|
||||||
delete tab_bar_;
|
delete tab_bar_;
|
||||||
|
2
src/lib/3rdparty/fancytabwidget.h
vendored
2
src/lib/3rdparty/fancytabwidget.h
vendored
@ -192,7 +192,7 @@ public:
|
|||||||
|
|
||||||
public Q_SLOTS:
|
public Q_SLOTS:
|
||||||
void SetCurrentIndex(int index);
|
void SetCurrentIndex(int index);
|
||||||
void SetMode(Mode mode);
|
void SetMode(FancyTabWidget::Mode mode);
|
||||||
void SetMode(int mode) { SetMode(Mode(mode)); }
|
void SetMode(int mode) { SetMode(Mode(mode)); }
|
||||||
|
|
||||||
Q_SIGNALS:
|
Q_SIGNALS:
|
||||||
|
@ -55,7 +55,7 @@ public:
|
|||||||
* @brief Fails the request with the error
|
* @brief Fails the request with the error
|
||||||
* @param error
|
* @param error
|
||||||
*/
|
*/
|
||||||
Q_INVOKABLE void fail(Error error);
|
Q_INVOKABLE void fail(QmlWebEngineUrlRequestJob::Error error);
|
||||||
/**
|
/**
|
||||||
* @brief Redirects the request to the url
|
* @brief Redirects the request to the url
|
||||||
* @param urlString, represents the url to which the request is to be redirected
|
* @param urlString, represents the url to which the request is to be redirected
|
||||||
|
@ -73,7 +73,7 @@ void SessionManager::sessionsDirectoryChanged()
|
|||||||
m_sessionsMetaDataList.clear();
|
m_sessionsMetaDataList.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
void SessionManager::openSession(QString sessionFilePath, SessionFlags flags)
|
void SessionManager::openSession(QString sessionFilePath, SessionManager::SessionFlags flags)
|
||||||
{
|
{
|
||||||
if (sessionFilePath.isEmpty()) {
|
if (sessionFilePath.isEmpty()) {
|
||||||
auto* action = qobject_cast<QAction*>(sender());
|
auto* action = qobject_cast<QAction*>(sender());
|
||||||
@ -112,7 +112,7 @@ void SessionManager::openSession(QString sessionFilePath, SessionFlags flags)
|
|||||||
mApp->openSession(window, sessionData);
|
mApp->openSession(window, sessionData);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SessionManager::renameSession(QString sessionFilePath, SessionFlags flags)
|
void SessionManager::renameSession(QString sessionFilePath, SessionManager::SessionFlags flags)
|
||||||
{
|
{
|
||||||
if (sessionFilePath.isEmpty()) {
|
if (sessionFilePath.isEmpty()) {
|
||||||
auto* action = qobject_cast<QAction*>(sender());
|
auto* action = qobject_cast<QAction*>(sender());
|
||||||
|
@ -66,8 +66,8 @@ public Q_SLOTS:
|
|||||||
private Q_SLOTS:
|
private Q_SLOTS:
|
||||||
void aboutToShowSessionsMenu();
|
void aboutToShowSessionsMenu();
|
||||||
void sessionsDirectoryChanged();
|
void sessionsDirectoryChanged();
|
||||||
void openSession(QString sessionFilePath = QString(), SessionFlags flags = {});
|
void openSession(QString sessionFilePath = QString(), SessionManager::SessionFlags flags = {});
|
||||||
void renameSession(QString sessionFilePath = QString(), SessionFlags flags = {});
|
void renameSession(QString sessionFilePath = QString(), SessionManager::SessionFlags flags = {});
|
||||||
void saveSession();
|
void saveSession();
|
||||||
|
|
||||||
void replaceSession(const QString &filePath);
|
void replaceSession(const QString &filePath);
|
||||||
@ -76,7 +76,7 @@ private Q_SLOTS:
|
|||||||
void deleteSession(const QString &filePath);
|
void deleteSession(const QString &filePath);
|
||||||
void newSession();
|
void newSession();
|
||||||
|
|
||||||
QList<SessionMetaData> sessionMetaData(bool withBackups = true);
|
QList<SessionManager::SessionMetaData> sessionMetaData(bool withBackups = true);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool isActive(const QString &filePath) const;
|
bool isActive(const QString &filePath) const;
|
||||||
|
@ -82,7 +82,7 @@ Q_SIGNALS:
|
|||||||
void iconChanged(const QIcon &icon);
|
void iconChanged(const QIcon &icon);
|
||||||
void badgeTextChanged(const QString &badgeText);
|
void badgeTextChanged(const QString &badgeText);
|
||||||
void webViewChanged(WebView *view);
|
void webViewChanged(WebView *view);
|
||||||
void clicked(ClickController *controller);
|
void clicked(AbstractButtonInterface::ClickController *controller);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool m_active = true;
|
bool m_active = true;
|
||||||
|
@ -79,7 +79,7 @@ public:
|
|||||||
Q_SIGNALS:
|
Q_SIGNALS:
|
||||||
void privacyChanged(bool status);
|
void privacyChanged(bool status);
|
||||||
void printRequested();
|
void printRequested();
|
||||||
void navigationRequestAccepted(const QUrl &url, NavigationType type, bool isMainFrame);
|
void navigationRequestAccepted(const QUrl &url, QWebEnginePage::NavigationType type, bool isMainFrame);
|
||||||
|
|
||||||
protected Q_SLOTS:
|
protected Q_SLOTS:
|
||||||
void progress(int prog);
|
void progress(int prog);
|
||||||
@ -91,10 +91,10 @@ private Q_SLOTS:
|
|||||||
void windowCloseRequested();
|
void windowCloseRequested();
|
||||||
void fullScreenRequested(QWebEngineFullScreenRequest fullScreenRequest);
|
void fullScreenRequested(QWebEngineFullScreenRequest fullScreenRequest);
|
||||||
void featurePermissionRequested(const QUrl &origin, const QWebEnginePage::Feature &feature);
|
void featurePermissionRequested(const QUrl &origin, const QWebEnginePage::Feature &feature);
|
||||||
void renderProcessTerminated(RenderProcessTerminationStatus terminationStatus, int exitCode);
|
void renderProcessTerminated(QWebEnginePage::RenderProcessTerminationStatus terminationStatus, int exitCode);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool acceptNavigationRequest(const QUrl &url, NavigationType type, bool isMainFrame) override;
|
bool acceptNavigationRequest(const QUrl &url, QWebEnginePage::NavigationType type, bool isMainFrame) override;
|
||||||
bool certificateError(const QWebEngineCertificateError &error) override;
|
bool certificateError(const QWebEngineCertificateError &error) override;
|
||||||
QStringList chooseFiles(FileSelectionMode mode, const QStringList &oldFiles, const QStringList &acceptedMimeTypes) override;
|
QStringList chooseFiles(FileSelectionMode mode, const QStringList &oldFiles, const QStringList &acceptedMimeTypes) override;
|
||||||
QWebEnginePage* createWindow(QWebEnginePage::WebWindowType type) override;
|
QWebEnginePage* createWindow(QWebEnginePage::WebWindowType type) override;
|
||||||
|
@ -64,7 +64,7 @@ public:
|
|||||||
QString styleSheet() const;
|
QString styleSheet() const;
|
||||||
|
|
||||||
Q_SIGNALS:
|
Q_SIGNALS:
|
||||||
void viewTypeChanged(ViewType type);
|
void viewTypeChanged(VerticalTabsPlugin::ViewType type);
|
||||||
void styleSheetChanged(const QString &styleSheet);
|
void styleSheetChanged(const QString &styleSheet);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Loading…
Reference in New Issue
Block a user