mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +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);
|
||||
}
|
||||
|
||||
void FancyTabWidget::SetMode(Mode mode)
|
||||
void FancyTabWidget::SetMode(FancyTabWidget::Mode mode)
|
||||
{
|
||||
// Remove previous 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:
|
||||
void SetCurrentIndex(int index);
|
||||
void SetMode(Mode mode);
|
||||
void SetMode(FancyTabWidget::Mode mode);
|
||||
void SetMode(int mode) { SetMode(Mode(mode)); }
|
||||
|
||||
Q_SIGNALS:
|
||||
|
@ -55,7 +55,7 @@ public:
|
||||
* @brief Fails the request with the error
|
||||
* @param error
|
||||
*/
|
||||
Q_INVOKABLE void fail(Error error);
|
||||
Q_INVOKABLE void fail(QmlWebEngineUrlRequestJob::Error error);
|
||||
/**
|
||||
* @brief Redirects the request to the url
|
||||
* @param urlString, represents the url to which the request is to be redirected
|
||||
|
@ -73,7 +73,7 @@ void SessionManager::sessionsDirectoryChanged()
|
||||
m_sessionsMetaDataList.clear();
|
||||
}
|
||||
|
||||
void SessionManager::openSession(QString sessionFilePath, SessionFlags flags)
|
||||
void SessionManager::openSession(QString sessionFilePath, SessionManager::SessionFlags flags)
|
||||
{
|
||||
if (sessionFilePath.isEmpty()) {
|
||||
auto* action = qobject_cast<QAction*>(sender());
|
||||
@ -112,7 +112,7 @@ void SessionManager::openSession(QString sessionFilePath, SessionFlags flags)
|
||||
mApp->openSession(window, sessionData);
|
||||
}
|
||||
|
||||
void SessionManager::renameSession(QString sessionFilePath, SessionFlags flags)
|
||||
void SessionManager::renameSession(QString sessionFilePath, SessionManager::SessionFlags flags)
|
||||
{
|
||||
if (sessionFilePath.isEmpty()) {
|
||||
auto* action = qobject_cast<QAction*>(sender());
|
||||
|
@ -66,8 +66,8 @@ public Q_SLOTS:
|
||||
private Q_SLOTS:
|
||||
void aboutToShowSessionsMenu();
|
||||
void sessionsDirectoryChanged();
|
||||
void openSession(QString sessionFilePath = QString(), SessionFlags flags = {});
|
||||
void renameSession(QString sessionFilePath = QString(), SessionFlags flags = {});
|
||||
void openSession(QString sessionFilePath = QString(), SessionManager::SessionFlags flags = {});
|
||||
void renameSession(QString sessionFilePath = QString(), SessionManager::SessionFlags flags = {});
|
||||
void saveSession();
|
||||
|
||||
void replaceSession(const QString &filePath);
|
||||
@ -76,7 +76,7 @@ private Q_SLOTS:
|
||||
void deleteSession(const QString &filePath);
|
||||
void newSession();
|
||||
|
||||
QList<SessionMetaData> sessionMetaData(bool withBackups = true);
|
||||
QList<SessionManager::SessionMetaData> sessionMetaData(bool withBackups = true);
|
||||
|
||||
private:
|
||||
bool isActive(const QString &filePath) const;
|
||||
|
@ -82,7 +82,7 @@ Q_SIGNALS:
|
||||
void iconChanged(const QIcon &icon);
|
||||
void badgeTextChanged(const QString &badgeText);
|
||||
void webViewChanged(WebView *view);
|
||||
void clicked(ClickController *controller);
|
||||
void clicked(AbstractButtonInterface::ClickController *controller);
|
||||
|
||||
private:
|
||||
bool m_active = true;
|
||||
|
@ -79,7 +79,7 @@ public:
|
||||
Q_SIGNALS:
|
||||
void privacyChanged(bool status);
|
||||
void printRequested();
|
||||
void navigationRequestAccepted(const QUrl &url, NavigationType type, bool isMainFrame);
|
||||
void navigationRequestAccepted(const QUrl &url, QWebEnginePage::NavigationType type, bool isMainFrame);
|
||||
|
||||
protected Q_SLOTS:
|
||||
void progress(int prog);
|
||||
@ -91,10 +91,10 @@ private Q_SLOTS:
|
||||
void windowCloseRequested();
|
||||
void fullScreenRequested(QWebEngineFullScreenRequest fullScreenRequest);
|
||||
void featurePermissionRequested(const QUrl &origin, const QWebEnginePage::Feature &feature);
|
||||
void renderProcessTerminated(RenderProcessTerminationStatus terminationStatus, int exitCode);
|
||||
void renderProcessTerminated(QWebEnginePage::RenderProcessTerminationStatus terminationStatus, int exitCode);
|
||||
|
||||
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;
|
||||
QStringList chooseFiles(FileSelectionMode mode, const QStringList &oldFiles, const QStringList &acceptedMimeTypes) override;
|
||||
QWebEnginePage* createWindow(QWebEnginePage::WebWindowType type) override;
|
||||
|
@ -64,7 +64,7 @@ public:
|
||||
QString styleSheet() const;
|
||||
|
||||
Q_SIGNALS:
|
||||
void viewTypeChanged(ViewType type);
|
||||
void viewTypeChanged(VerticalTabsPlugin::ViewType type);
|
||||
void styleSheetChanged(const QString &styleSheet);
|
||||
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user