init
Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Close stale issues and PRs / stale (push) Successful in 13s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Close stale issues and PRs / stale (push) Successful in 13s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
This commit is contained in:
27
Telegram/ThirdParty/kcoreaddons/autotests/versionedplugin.cpp
vendored
Normal file
27
Telegram/ThirdParty/kcoreaddons/autotests/versionedplugin.cpp
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
SPDX-FileCopyrightText: 2013 Sebastian Kügler <sebas@kde.org>
|
||||
SPDX-FileCopyrightText: 2014 Alex Merry <alexmerry@kde.org>
|
||||
|
||||
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||
*/
|
||||
|
||||
#include "versionedplugin.h"
|
||||
#include "kcoreaddons_debug.h"
|
||||
#include <QDebug>
|
||||
#include <kexportplugin.h>
|
||||
#include <kpluginfactory.h>
|
||||
|
||||
VersionedPlugin::VersionedPlugin(QObject *parent, const QVariantList &args)
|
||||
: QObject(parent)
|
||||
{
|
||||
qCDebug(KCOREADDONS_DEBUG) << "Created VersionedPlugin with args" << args;
|
||||
}
|
||||
|
||||
K_PLUGIN_FACTORY(VersionedPluginFactory, registerPlugin<VersionedPlugin>();)
|
||||
#if KCOREADDONS_BUILD_DEPRECATED_SINCE(5, 84)
|
||||
K_EXPORT_PLUGIN_VERSION(5)
|
||||
#endif
|
||||
|
||||
#include "versionedplugin.moc"
|
||||
|
||||
#include "moc_versionedplugin.cpp"
|
||||
Reference in New Issue
Block a user