Commit ede5d3e8 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Remove unneeded Q_DECLARE_METATYPE calls for pointers to QObject subclasses

GIT_SILENT
parent 6ed6cb31
......@@ -72,7 +72,5 @@ Q_SIGNALS:
}
Q_DECLARE_METATYPE( KDevelop::ISession* )
#endif
......@@ -248,6 +248,5 @@ private:
}
Q_DECLARE_OPERATORS_FOR_FLAGS(KDevelop::ParseJob::SequentialProcessingFlags)
Q_DECLARE_METATYPE(KDevelop::ParseJob*)
#endif
......@@ -42,8 +42,6 @@
#include <array>
Q_DECLARE_METATYPE(KDevelop::IProject*)
using namespace KDevelop;
ProjectChangesModel::ProjectChangesModel(QObject* parent)
......
......@@ -85,7 +85,6 @@ private:
}
Q_DECLARE_METATYPE( KDevelop::Session* )
Q_DECLARE_TYPEINFO(KDevelop::SessionInfo, Q_MOVABLE_TYPE);
#endif
......
......@@ -39,8 +39,6 @@
using namespace KDevelop;
Q_DECLARE_METATYPE(KDevelop::IProject*)
namespace {
class DialogProviderFake : public IProjectDialogProvider
......
......@@ -119,7 +119,5 @@ private:
}
Q_DECLARE_METATYPE(Sublime::View*)
#endif
......@@ -79,8 +79,6 @@
#include <makefileresolver/makefileresolver.h>
#include <sublime/message.h>
Q_DECLARE_METATYPE(KDevelop::IProject*)
using namespace KDevelop;
K_PLUGIN_FACTORY_WITH_JSON(CMakeSupportFactory, "kdevcmakemanager.json", registerPlugin<CMakeManager>(); )
......
......@@ -42,8 +42,6 @@
#include <QLineEdit>
class la;
Q_DECLARE_METATYPE(KDevelop::IProject*)
QIcon PlasmoidExecutionConfig::icon() const
{
return QIcon::fromTheme(QStringLiteral("system-run"));
......
......@@ -44,8 +44,6 @@
QTEST_MAIN(TestProjectLoad)
Q_DECLARE_METATYPE(KDevelop::IProject*)
using namespace KDevelop;
namespace {
......
......@@ -73,8 +73,6 @@ namespace
const int maximumFilesToOpenDirectly = 15;
}
Q_DECLARE_METATYPE( const Diff2::DiffModel* )
void PatchReviewPlugin::seekHunk( bool forwards, const QUrl& fileName ) {
try {
qCDebug(PLUGIN_PATCHREVIEW) << forwards << fileName << fileName.isEmpty();
......
......@@ -50,8 +50,6 @@
#include "toolviewdata.h"
#include <debug.h>
Q_DECLARE_METATYPE(QTreeView*)
OutputWidget::OutputWidget(QWidget* parent, const ToolViewData* tvdata)
: QWidget( parent )
, m_tabwidget(nullptr)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment