1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00

Fix lupdate warnings

Summary:
Class 'XXX' lacks Q_OBJECT macro

If you use tr() in a class it needs Q_OBJECT

Test Plan: It builds

Reviewers: drosca

Reviewed By: drosca

Subscribers: falkon

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D25911
This commit is contained in:
Albert Astals Cid 2019-12-14 00:32:01 +01:00
parent bfb9420cbb
commit 29f96b7504
4 changed files with 8 additions and 0 deletions

View File

@ -24,6 +24,7 @@
class FALKON_EXPORT LocationCompleterDelegate : public QStyledItemDelegate
{
Q_OBJECT
public:
explicit LocationCompleterDelegate(QObject *parent = 0);

View File

@ -43,6 +43,7 @@ const int refreshInterval = 60 * 1000;
class FCM_Button : public AbstractButtonInterface
{
Q_OBJECT
public:
explicit FCM_Button(QObject *parent = nullptr)
: AbstractButtonInterface(parent)
@ -462,3 +463,5 @@ QString FCM_Plugin::extractOriginFrom(const QString &path)
return origin;
}
#include "fcm_plugin.moc"

View File

@ -34,6 +34,7 @@
class TabManagerButton : public AbstractButtonInterface
{
Q_OBJECT
public:
explicit TabManagerButton(QObject *parent = nullptr)
: AbstractButtonInterface(parent)
@ -236,3 +237,5 @@ void TabManagerWidgetController::emitRefreshTree()
{
emit requestRefreshTree();
}
#include "tabmanagerwidgetcontroller.moc"

View File

@ -21,6 +21,7 @@
class VerticalTabsSchemeHandler : public ExtensionSchemeHandler
{
Q_OBJECT
public:
explicit VerticalTabsSchemeHandler(QObject *parent = nullptr);