1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00

Fix various issues when generating Python bindings

This commit is contained in:
David Rosca 2018-02-26 13:56:43 +01:00
parent ec1e30314c
commit 2fb0da5547
No known key found for this signature in database
GPG Key ID: EBC3FC294452C6D8
5 changed files with 9 additions and 11 deletions

View File

@ -74,7 +74,7 @@ public:
void startExternalManager(const QUrl &url);
void setLastDownloadPath(const QString &lastPath) { m_lastDownloadPath = lastPath; }
void setLastDownloadOption(const DownloadOption &option) { m_lastDownloadOption = option; }
void setLastDownloadOption(DownloadOption option) { m_lastDownloadOption = option; }
public Q_SLOTS:
void show();

View File

@ -26,7 +26,7 @@
#include <QMenu>
QHash<QString, QPointer<SideBarInterface> > SideBarManager::s_sidebars;
QHash<QString, QPointer<SideBarInterface> > s_sidebars;
SideBar::SideBar(SideBarManager* manager, BrowserWindow* window)
: QWidget(window)

View File

@ -68,7 +68,6 @@ public:
void sideBarRemoved(const QString &id);
void closeSideBar();
static QHash<QString, QPointer<SideBarInterface> > s_sidebars;
static void addSidebar(const QString &id, SideBarInterface* interface);
static void removeSidebar(const QString &id);

View File

@ -122,7 +122,6 @@ public:
int pinnedTabsCount() const;
int normalTabsCount() const;
bool isPinned(int index) const;
void setMaxVisiblePinnedTab(int max);
void setFocusPolicy(Qt::FocusPolicy policy);
void setObjectName(const QString &name);

View File

@ -56,13 +56,13 @@ Q_SIGNALS:
void unloadTab(int index);
private Q_SLOTS:
void reloadTab() { emit reloadTab(m_clickedTab); }
void stopTab() { emit stopTab(m_clickedTab); }
void closeTab() { emit tabCloseRequested(m_clickedTab); }
void duplicateTab() { emit duplicateTab(m_clickedTab); }
void detachTab() { emit detachTab(m_clickedTab); }
void loadTab() { emit loadTab(m_clickedTab); }
void unloadTab() { emit unloadTab(m_clickedTab); }
void reloadTab() { Q_EMIT reloadTab(m_clickedTab); }
void stopTab() { Q_EMIT stopTab(m_clickedTab); }
void closeTab() { Q_EMIT tabCloseRequested(m_clickedTab); }
void duplicateTab() { Q_EMIT duplicateTab(m_clickedTab); }
void detachTab() { Q_EMIT detachTab(m_clickedTab); }
void loadTab() { Q_EMIT loadTab(m_clickedTab); }
void unloadTab() { Q_EMIT unloadTab(m_clickedTab); }
void pinTab();
void muteTab();