Fix ftbfs on Fedora 34

error: reference to ‘data’ is ambiguous

Signed-off-by: François Andriot <francois.andriot@free.fr>
François Andriot 3 years ago
parent 34649195bf
commit 19db207817

@ -44,10 +44,10 @@
typedef KDevGenericFactory<AdaProjectPart> AdaProjectFactory;
static const KDevPluginInfo data("kdevadaproject");
K_EXPORT_COMPONENT_FACTORY( libkdevadaproject, AdaProjectFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevadaproject, AdaProjectFactory( ::data ) )
AdaProjectPart::AdaProjectPart(TQObject *parent, const char *name, const TQStringList& )
:KDevBuildTool(&data, parent, name ? name : "AdaProjectPart" )
:KDevBuildTool(&::data, parent, name ? name : "AdaProjectPart" )
{
setInstance(AdaProjectFactory::instance());
setXMLFile("kdevadaproject.rc");

@ -36,7 +36,7 @@
typedef KDevGenericFactory<AntProjectPart> AntProjectFactory;
static const KDevPluginInfo data("kdevantproject");
K_EXPORT_COMPONENT_FACTORY(libkdevantproject, AntProjectFactory( data ))
K_EXPORT_COMPONENT_FACTORY(libkdevantproject, AntProjectFactory( ::data ))
AntOptions::AntOptions()
@ -46,7 +46,7 @@ AntOptions::AntOptions()
AntProjectPart::AntProjectPart(TQObject *parent, const char *name, const TQStringList &)
: KDevBuildTool(&data, parent, name ? name : "AntProjectPart")
: KDevBuildTool(&::data, parent, name ? name : "AntProjectPart")
{
setInstance(AntProjectFactory::instance());

@ -64,10 +64,10 @@
static const KDevPluginInfo data("kdevautoproject");
K_EXPORT_COMPONENT_FACTORY( libkdevautoproject, AutoProjectFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevautoproject, AutoProjectFactory( ::data ) )
AutoProjectPart::AutoProjectPart(TQObject *parent, const char *name, const TQStringList &args)
: KDevBuildTool(&data, parent, name ? name : "AutoProjectPart")
: KDevBuildTool(&::data, parent, name ? name : "AutoProjectPart")
, m_lastCompilationFailed(false)
{
setInstance(AutoProjectFactory::instance());

@ -63,10 +63,10 @@
typedef KDevGenericFactory<CustomProjectPart> CustomProjectFactory;
static const KDevPluginInfo data( "kdevcustomproject" );
K_EXPORT_COMPONENT_FACTORY( libkdevcustomproject, CustomProjectFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevcustomproject, CustomProjectFactory( ::data ) )
CustomProjectPart::CustomProjectPart( TQObject *parent, const char *name, const TQStringList & )
: KDevBuildTool( &data, parent, name ? name : "CustomProjectPart" )
: KDevBuildTool( &::data, parent, name ? name : "CustomProjectPart" )
, m_lastCompilationFailed( false ), m_recursive( false ), m_first_recursive( false )
{
setInstance( CustomProjectFactory::instance() );

@ -50,10 +50,10 @@
typedef KDevGenericFactory<PascalProjectPart> PascalProjectFactory;
static const KDevPluginInfo data("kdevpascalproject");
K_EXPORT_COMPONENT_FACTORY( libkdevpascalproject, PascalProjectFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevpascalproject, PascalProjectFactory( ::data ) )
PascalProjectPart::PascalProjectPart(TQObject *parent, const char *name, const TQStringList& )
:KDevBuildTool(&data, parent, name ? name : "PascalProjectPart" )
:KDevBuildTool(&::data, parent, name ? name : "PascalProjectPart" )
{
setInstance(PascalProjectFactory::instance());
setXMLFile("kdevpascalproject.rc");

@ -58,10 +58,10 @@
typedef KDevGenericFactory<TrollProjectPart> TrollProjectFactory;
static const KDevPluginInfo data("kdevtrollproject");
K_EXPORT_COMPONENT_FACTORY( libkdevtrollproject, TrollProjectFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevtrollproject, TrollProjectFactory( ::data ) )
TrollProjectPart::TrollProjectPart(TQObject *parent, const char *name, const TQStringList& args )
: KDevBuildTool(&data, parent, name ? name : "TrollProjectPart")
: KDevBuildTool(&::data, parent, name ? name : "TrollProjectPart")
{
setInstance(TrollProjectFactory::instance());

@ -38,10 +38,10 @@
typedef KDevGenericFactory<ScriptProjectPart> ScriptProjectFactory;
static const KDevPluginInfo data("kdevscriptproject");
K_EXPORT_COMPONENT_FACTORY( libkdevscriptproject, ScriptProjectFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevscriptproject, ScriptProjectFactory( ::data ) )
ScriptProjectPart::ScriptProjectPart(TQObject *parent, const char *name, const TQStringList &)
: KDevBuildTool(&data, parent, name ? name : "ScriptProjectPart")
: KDevBuildTool(&::data, parent, name ? name : "ScriptProjectPart")
{
setInstance(ScriptProjectFactory::instance());

@ -14,10 +14,10 @@
typedef KDevGenericFactory<EditorChooserPart> EditorChooserFactory;
static const KDevPluginInfo data("kdeveditorchooser");
K_EXPORT_COMPONENT_FACTORY( libkdeveditorchooser, EditorChooserFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdeveditorchooser, EditorChooserFactory( ::data ) )
EditorChooserPart::EditorChooserPart(TQObject *parent, const char *name, const TQStringList &)
: KDevPlugin(&data, parent, name ? name : "EditorChooserPart")
: KDevPlugin(&::data, parent, name ? name : "EditorChooserPart")
{
setInstance(EditorChooserFactory::instance());

@ -21,10 +21,10 @@ using namespace VisualBoyAdvance;
typedef KDevGenericFactory<VisualBoyAdvancePart> VisualBoyAdvanceFactory;
static const KDevPluginInfo data("kdevvisualboyadvance");
K_EXPORT_COMPONENT_FACTORY( libkdevvisualboyadvance, VisualBoyAdvanceFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevvisualboyadvance, VisualBoyAdvanceFactory( ::data ) )
VisualBoyAdvancePart::VisualBoyAdvancePart(TQObject *parent, const char *name, const TQStringList &)
: KDevPlugin(&data, parent, name){
: KDevPlugin(&::data, parent, name){
setInstance(VisualBoyAdvanceFactory::instance());
setXMLFile("kdevpart_visualboyadvance.rc");

@ -41,7 +41,7 @@ enum { KDEV_PCS_VERSION = 6 };
typedef KDevGenericFactory<AdaSupportPart> AdaSupportPartFactory;
static const KDevPluginInfo data("kdevadasupport");
K_EXPORT_COMPONENT_FACTORY (libkdevadasupport, AdaSupportPartFactory (data))
K_EXPORT_COMPONENT_FACTORY (libkdevadasupport, AdaSupportPartFactory (::data))
struct AdaSupportPartData {
@ -51,7 +51,7 @@ struct AdaSupportPartData {
};
AdaSupportPart::AdaSupportPart (TQObject *parent, const char *name, const TQStringList &)
: KDevLanguageSupport (&data, parent, name ? name : "AdaSupportPart"), d (new AdaSupportPartData())
: KDevLanguageSupport (&::data, parent, name ? name : "AdaSupportPart"), d (new AdaSupportPartData())
{
setInstance (AdaSupportPartFactory::instance ());

@ -34,10 +34,10 @@
typedef KDevGenericFactory<BashSupportPart> BashSupportFactory;
static const KDevPluginInfo data("kdevbashsupport");
K_EXPORT_COMPONENT_FACTORY( libkdevbashsupport, BashSupportFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevbashsupport, BashSupportFactory( ::data ) )
BashSupportPart::BashSupportPart(TQObject *parent, const char *name, const TQStringList& )
: KDevLanguageSupport (&data, parent, name ? name : "BashSupportPart" )
: KDevLanguageSupport (&::data, parent, name ? name : "BashSupportPart" )
{
setInstance(BashSupportFactory::instance());
setXMLFile("kdevbashsupport.rc");

@ -23,13 +23,13 @@
typedef KDevGenericFactory<%{APPNAME}Part> %{APPNAME}Factory;
KDevPluginInfo data("kdev%{APPNAMELC}");
K_EXPORT_COMPONENT_FACTORY( libkdev%{APPNAMELC}, %{APPNAME}Factory( data ) );
K_EXPORT_COMPONENT_FACTORY( libkdev%{APPNAMELC}, %{APPNAME}Factory( ::data ) );
#define GLOBALDOC_OPTIONS 1
#define PROJECTDOC_OPTIONS 2
%{APPNAME}Part::%{APPNAME}Part(TQObject *parent, const char *name, const TQStringList &/*args*/)
: KDevPlugin(&data, parent, name ? name : "%{APPNAME}Part")
: KDevPlugin(&::data, parent, name ? name : "%{APPNAME}Part")
{
setInstance(%{APPNAME}Factory::instance());
setXMLFile("kdev%{APPNAMELC}.rc");

@ -23,13 +23,13 @@
typedef KDevGenericFactory<%{APPNAME}Part> %{APPNAME}Factory;
KDevPluginInfo data("kdev%{APPNAMELC}");
K_EXPORT_COMPONENT_FACTORY( libkdev%{APPNAMELC}, %{APPNAME}Factory( data ) );
K_EXPORT_COMPONENT_FACTORY( libkdev%{APPNAMELC}, %{APPNAME}Factory( ::data ) );
#define GLOBALDOC_OPTIONS 1
#define PROJECTDOC_OPTIONS 2
%{APPNAME}Part::%{APPNAME}Part(TQObject *parent, const char *name, const TQStringList &/*args*/)
: KDevPlugin(&data, parent, name ? name : "%{APPNAME}Part")
: KDevPlugin(&::data, parent, name ? name : "%{APPNAME}Part")
{
setInstance(%{APPNAME}Factory::instance());
setXMLFile("kdev%{APPNAMELC}.rc");

@ -19,7 +19,7 @@ K_EXPORT_COMPONENT_FACTORY( libkdevcppsupport, CppSupportFactory )
static const KDevPluginInfo data("kdevcppsupport");
CppSupportFactory::CppSupportFactory()
: KDevGenericFactory<CppSupportPart>( data )
: KDevGenericFactory<CppSupportPart>( ::data )
{
}
@ -35,5 +35,5 @@ TDEInstance *CppSupportFactory::createInstance()
const KDevPluginInfo * CppSupportFactory::info()
{
return &data;
return &::data;
}

@ -46,10 +46,10 @@
typedef KDevGenericFactory<CSharpSupportPart> CSharpSupportFactory;
static const KDevPluginInfo data("kdevcsharpsupport");
K_EXPORT_COMPONENT_FACTORY( libkdevcsharpsupport, CSharpSupportFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevcsharpsupport, CSharpSupportFactory( ::data ) )
CSharpSupportPart::CSharpSupportPart(TQObject *parent, const char *name, const TQStringList &)
: KDevLanguageSupport(&data, parent, name ? name : "CSharpSupportPart")
: KDevLanguageSupport(&::data, parent, name ? name : "CSharpSupportPart")
{
setInstance(CSharpSupportFactory::instance());

@ -46,10 +46,10 @@
typedef KDevGenericFactory<FortranSupportPart> FortranSupportFactory;
static const KDevPluginInfo data("kdevfortransupport");
K_EXPORT_COMPONENT_FACTORY( libkdevfortransupport, FortranSupportFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevfortransupport, FortranSupportFactory( ::data ) )
FortranSupportPart::FortranSupportPart(TQObject *parent, const char *name, const TQStringList &)
: KDevLanguageSupport(&data, parent, name ? name : "FortranSupportPart")
: KDevLanguageSupport(&::data, parent, name ? name : "FortranSupportPart")
{
setInstance(FortranSupportFactory::instance());

@ -18,7 +18,7 @@ static const KDevPluginInfo data("kdevjavasupport");
K_EXPORT_COMPONENT_FACTORY( libkdevjavasupport, JavaSupportFactory )
JavaSupportFactory::JavaSupportFactory()
: KDevGenericFactory<JavaSupportPart>( data )
: KDevGenericFactory<JavaSupportPart>( ::data )
{
}
@ -34,6 +34,6 @@ TDEInstance *JavaSupportFactory::createInstance()
const KDevPluginInfo *JavaSupportFactory::info()
{
return &data;
return &::data;
}

@ -51,7 +51,7 @@
typedef KDevGenericFactory<kjsSupportPart> kjsSupportFactory;
static const KDevPluginInfo data("kdevkjssupport");
K_EXPORT_COMPONENT_FACTORY( libkdevkjssupport, kjsSupportFactory( data ) );
K_EXPORT_COMPONENT_FACTORY( libkdevkjssupport, kjsSupportFactory( ::data ) );
class typeProperty
@ -63,7 +63,7 @@ class typeProperty
};
kjsSupportPart::kjsSupportPart(TQObject *parent, const char *name, const TQStringList& )
: KDevLanguageSupport(&data, parent, name ? name : "kjsSupportPart" )
: KDevLanguageSupport(&::data, parent, name ? name : "kjsSupportPart" )
{
setInstance(kjsSupportFactory::instance());
setXMLFile("kdevkjssupport.rc");

@ -45,10 +45,10 @@ struct PascalSupportPartData{
typedef KDevGenericFactory<PascalSupportPart> PascalSupportFactory;
static const KDevPluginInfo data("kdevpascalsupport");
K_EXPORT_COMPONENT_FACTORY( libkdevpascalsupport, PascalSupportFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevpascalsupport, PascalSupportFactory( ::data ) )
PascalSupportPart::PascalSupportPart(TQObject *parent, const char *name, const TQStringList &)
: KDevLanguageSupport(&data, parent, name ? name : "KDevPascalSupport" ),
: KDevLanguageSupport(&::data, parent, name ? name : "KDevPascalSupport" ),
d( new PascalSupportPartData() )
{
setInstance(PascalSupportFactory::instance());

@ -46,10 +46,10 @@
typedef KDevGenericFactory<PerlSupportPart> PerlSupportFactory;
static const KDevPluginInfo data("kdevperlsupport");
K_EXPORT_COMPONENT_FACTORY( libkdevperlsupport, PerlSupportFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevperlsupport, PerlSupportFactory( ::data ) )
PerlSupportPart::PerlSupportPart(TQObject *parent, const char *name, const TQStringList &)
: KDevLanguageSupport(&data, parent, name ? name : "PerlSupportPart")
: KDevLanguageSupport(&::data, parent, name ? name : "PerlSupportPart")
{
setInstance(PerlSupportFactory::instance());

@ -67,10 +67,10 @@
using namespace std;
static const KDevPluginInfo data("kdevphpsupport");
K_EXPORT_COMPONENT_FACTORY( libkdevphpsupport, PHPSupportFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevphpsupport, PHPSupportFactory( ::data ) )
PHPSupportPart::PHPSupportPart(TQObject *parent, const char *name, const TQStringList &)
: KDevLanguageSupport(&data, parent, name ? name : "PHPSupportPart")
: KDevLanguageSupport(&::data, parent, name ? name : "PHPSupportPart")
{
m_htmlView = 0;
m_parser = 0;

@ -40,10 +40,10 @@
typedef KDevGenericFactory<PythonSupportPart> PythonSupportFactory;
static const KDevPluginInfo data("kdevpythonsupport");
K_EXPORT_COMPONENT_FACTORY( libkdevpythonsupport, PythonSupportFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevpythonsupport, PythonSupportFactory( ::data ) )
PythonSupportPart::PythonSupportPart(TQObject *parent, const char *name, const TQStringList &)
: KDevLanguageSupport(&data, parent, name ? name : "PythonSupportPart")
: KDevLanguageSupport(&::data, parent, name ? name : "PythonSupportPart")
{
setInstance(PythonSupportFactory::instance());

@ -39,10 +39,10 @@
typedef KDevGenericFactory<RubySupportPart> RubySupportFactory;
static const KDevPluginInfo data("kdevrubysupport");
K_EXPORT_COMPONENT_FACTORY( libkdevrubysupport, RubySupportFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevrubysupport, RubySupportFactory( ::data ) )
RubySupportPart::RubySupportPart(TQObject *parent, const char *name, const TQStringList& )
: KDevLanguageSupport (&data, parent, name ? name : "RubySupportPart" )
: KDevLanguageSupport (&::data, parent, name ? name : "RubySupportPart" )
{
setInstance(RubySupportFactory::instance());
setXMLFile("kdevrubysupport.rc");

@ -31,10 +31,10 @@
typedef KDevGenericFactory<SQLSupportPart> SQLSupportFactory;
static const KDevPluginInfo data("kdevsqlsupport");
K_EXPORT_COMPONENT_FACTORY( libkdevsqlsupport, SQLSupportFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevsqlsupport, SQLSupportFactory( ::data ) )
SQLSupportPart::SQLSupportPart( TQObject *parent, const char *name, const TQStringList& )
: KDevLanguageSupport ( &data, parent, name ? name : "SQLSupportPart" )
: KDevLanguageSupport ( &::data, parent, name ? name : "SQLSupportPart" )
{
setInstance( SQLSupportFactory::instance() );
setXMLFile( "kdevsqlsupport.rc" );

@ -33,7 +33,7 @@ to create factories for TDevelop plugins. For example, for DummyPlugin
the factory can be created (in dummyplugin.cpp file) as:
@code
typedef KDevGenericFactory<DummyPlugin> DummyPluginFactory;
K_EXPORT_COMPONENT_FACTORY(libkdevdummyplugin, DummyPluginFactory( data ) )
K_EXPORT_COMPONENT_FACTORY(libkdevdummyplugin, DummyPluginFactory( ::data ) )
@endcode
Data should be a const static object. This way it complies with the requirements
for data objecs of KDevGenericFactory constructor.
@ -49,10 +49,10 @@ For example, dummyplugin.cpp file could contain:
static const KDevPluginInfo data("KDevDummyPlugin");
typedef KDevGenericFactory<DummyPlugin> DummyPluginFactory;
K_EXPORT_COMPONENT_FACTORY(libkdevdummyplugin, DummyPluginFactory( data ) )
K_EXPORT_COMPONENT_FACTORY(libkdevdummyplugin, DummyPluginFactory( ::data ) )
DummyPlugin::DummyPlugin(TQObject *parent, const char *name, const TQStringList & )
:KDevPlugin(&data, parent, name)
:KDevPlugin(&::data, parent, name)
{
}
@endcode

@ -1 +1 @@
Subproject commit 8c7e0d40de084fe5d54e173918756639e0d4d63e
Subproject commit 709ea75c2c6bc299ad0469b9f5e0fb27dd300f8f

@ -41,10 +41,10 @@ namespace {
typedef KDevGenericFactory<AStylePart> AStyleFactory;
K_EXPORT_COMPONENT_FACTORY( libkdevastyle, AStyleFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevastyle, AStyleFactory( ::data ) )
AStylePart::AStylePart(TQObject *parent, const char *name, const TQStringList &)
: KDevSourceFormatter(&data, parent, name ? name : "AStylePart")
: KDevSourceFormatter(&::data, parent, name ? name : "AStylePart")
{
setInstance(AStyleFactory::instance());

@ -42,10 +42,10 @@
typedef KDevGenericFactory<BookmarksPart> BookmarksFactory;
static const KDevPluginInfo data("kdevbookmarks");
K_EXPORT_COMPONENT_FACTORY( libkdevbookmarks, BookmarksFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevbookmarks, BookmarksFactory( ::data ) )
BookmarksPart::BookmarksPart(TQObject *parent, const char *name, const TQStringList& )
: KDevPlugin(&data, parent, name ? name : "BookmarksPart" )
: KDevPlugin(&::data, parent, name ? name : "BookmarksPart" )
{
setInstance(BookmarksFactory::instance());

@ -140,11 +140,11 @@ class FunctionCompletion : public CustomCompleter {
typedef KDevGenericFactory<ClassViewPart> ClassViewFactory;
static const KDevPluginInfo data("kdevclassview");
K_EXPORT_COMPONENT_FACTORY( libkdevclassview, ClassViewFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevclassview, ClassViewFactory( ::data ) )
ClassViewPart::ClassViewPart(TQObject *parent, const char *name, const TQStringList& )
:/// KDevPlugin( &data, parent, name ? name : "ClassViewPart" ),
KDevCodeBrowserFrontend( &data, parent, name ? name : "ClassViewPart" ),
:/// KDevPlugin( &::data, parent, name ? name : "ClassViewPart" ),
KDevCodeBrowserFrontend( &::data, parent, name ? name : "ClassViewPart" ),
m_activeDocument(0), m_activeView(0), m_activeSelection(0), m_activeEditor(0), m_activeViewCursor(0), m_hierarchyDlg(0)
{
setInstance(ClassViewFactory::instance());

@ -56,10 +56,10 @@ namespace ctags
typedef KDevGenericFactory<CTags2Part> CTags2Factory;
static const KDevPluginInfo data("kdevctags2");
K_EXPORT_COMPONENT_FACTORY( libkdevctags2, CTags2Factory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevctags2, CTags2Factory( ::data ) )
CTags2Part::CTags2Part(TQObject *parent, const char *name, const TQStringList& )
: KDevPlugin(&data, parent, name ? name : "ctags2Part" )
: KDevPlugin(&::data, parent, name ? name : "ctags2Part" )
{
setInstance(CTags2Factory::instance());
setXMLFile("kdevpart_ctags2.rc");

@ -39,10 +39,10 @@
static const KDevPluginInfo data("kdevdiff");
typedef KDevGenericFactory<DiffPart> DiffFactory;
K_EXPORT_COMPONENT_FACTORY( libkdevdiff, DiffFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevdiff, DiffFactory( ::data ) )
DiffPart::DiffPart(TQObject *parent, const char *name, const TQStringList &)
: KDevDiffFrontend(&data, parent, name ? name : "DiffPart"), proc(0)
: KDevDiffFrontend(&::data, parent, name ? name : "DiffPart"), proc(0)
{
setInstance(DiffFactory::instance());
setXMLFile("kdevdiff.rc");

@ -35,10 +35,10 @@
typedef KDevGenericFactory<DistpartPart> DistpartFactory;
static const KDevPluginInfo data("kdevdistpart");
K_EXPORT_COMPONENT_FACTORY( libkdevdistpart, DistpartFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevdistpart, DistpartFactory( ::data ) )
DistpartPart::DistpartPart(TQObject *parent, const char *name, const TQStringList &)
: KDevPlugin(&data, parent, name ? name : "DistpartPart") {
: KDevPlugin(&::data, parent, name ? name : "DistpartPart") {
kdDebug(9007) << "DistpartPart::DistpartPart()" << endl;
setInstance(DistpartFactory::instance());

@ -75,10 +75,10 @@
static const KDevPluginInfo data("kdevdocumentation");
typedef KDevGenericFactory<DocumentationPart> DocumentationFactory;
K_EXPORT_COMPONENT_FACTORY( libkdevdocumentation, DocumentationFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevdocumentation, DocumentationFactory( ::data ) )
DocumentationPart::DocumentationPart(TQObject *parent, const char *name, const TQStringList& )
:KDevPlugin(&data, parent, name ? name : "DocumentationPart" ),
:KDevPlugin(&::data, parent, name ? name : "DocumentationPart" ),
m_projectDocumentationPlugin(0), m_userManualPlugin(0), m_hasIndex(false)
{
setInstance(DocumentationFactory::instance());

@ -49,10 +49,10 @@
typedef KDevGenericFactory<DoxygenPart> DoxygenFactory;
static const KDevPluginInfo data("kdevdoxygen");
K_EXPORT_COMPONENT_FACTORY( libkdevdoxygen, DoxygenFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevdoxygen, DoxygenFactory( ::data ) )
DoxygenPart::DoxygenPart(TQObject *parent, const char *name, const TQStringList &)
: KDevPlugin(&data, parent, name ? name : "DoxygenPart"), m_activeEditor(0), m_cursor(0)
: KDevPlugin(&::data, parent, name ? name : "DoxygenPart"), m_activeEditor(0), m_cursor(0)
{
setInstance(DoxygenFactory::instance());
setXMLFile("kdevdoxygen.rc");

@ -57,13 +57,13 @@
static const KDevPluginInfo data("kdevfilecreate");
typedef KDevGenericFactory<FileCreatePart> FileCreateFactory;
K_EXPORT_COMPONENT_FACTORY( libkdevfilecreate, FileCreateFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevfilecreate, FileCreateFactory( ::data ) )
using namespace FileCreate;
FileCreatePart::FileCreatePart(TQObject *parent, const char *name, const TQStringList & )
// : KDevCreateFile(&data, parent, name ? name : "FileCreatePart"), m_selectedWidget(-1), m_useSideTab(true), m_subPopups(0)
: KDevCreateFile(&data, parent, name ? name : "FileCreatePart"), m_subPopups(0)
// : KDevCreateFile(&::data, parent, name ? name : "FileCreatePart"), m_selectedWidget(-1), m_useSideTab(true), m_subPopups(0)
: KDevCreateFile(&::data, parent, name ? name : "FileCreatePart"), m_subPopups(0)
{
setInstance(FileCreateFactory::instance());
setXMLFile("kdevpart_filecreate.rc");

@ -32,10 +32,10 @@
typedef KDevGenericFactory<FileSelectorPart> FileSelectorFactory;
static const KDevPluginInfo data("kdevfileselector");
K_EXPORT_COMPONENT_FACTORY( libkdevfileselector, FileSelectorFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevfileselector, FileSelectorFactory( ::data ) )
FileSelectorPart::FileSelectorPart(TQObject *parent, const char *name, const TQStringList &)
: KDevPlugin(&data, parent, name ? name : "FileSelectorPart")
: KDevPlugin(&::data, parent, name ? name : "FileSelectorPart")
{
setInstance(FileSelectorFactory::instance());

@ -34,10 +34,10 @@
typedef KDevGenericFactory<FileGroupsPart> FileGroupsFactory;
static const KDevPluginInfo data("kdevfilegroups");
K_EXPORT_COMPONENT_FACTORY( libkdevfilegroups, FileGroupsFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevfilegroups, FileGroupsFactory( ::data ) )
FileGroupsPart::FileGroupsPart(TQObject *parent, const char *name, const TQStringList &)
: KDevPlugin(&data, parent, name ? name : "FileGroupsPart")
: KDevPlugin(&::data, parent, name ? name : "FileGroupsPart")
{
deleteRequested = false;
setInstance(FileGroupsFactory::instance());

@ -51,14 +51,14 @@ VCSColors FileViewPart::vcsColors;
typedef KDevGenericFactory<FileViewPart> FileViewFactory;
static const KDevPluginInfo data("kdevfileview");
K_EXPORT_COMPONENT_FACTORY( libkdevfileview, FileViewFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevfileview, FileViewFactory( ::data ) )
///////////////////////////////////////////////////////////////////////////////
// class FileTreeWidget
///////////////////////////////////////////////////////////////////////////////
FileViewPart::FileViewPart(TQObject *parent, const char *name, const TQStringList &)
: KDevPlugin(&data, parent, name ? name : "FileViewPart"),
: KDevPlugin(&::data, parent, name ? name : "FileViewPart"),
m_widget( 0 )
{
setInstance( FileViewFactory::instance() );

@ -27,10 +27,10 @@
#include "kdevfilterIface.h"
static const KDevPluginInfo data("kdevfilter");
K_EXPORT_COMPONENT_FACTORY( libkdevfilter, FilterFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevfilter, FilterFactory( ::data ) )
FilterPart::FilterPart(TQObject *parent, const char *name, const TQStringList &)
: KDevPlugin(&data, parent, name ? name : "FilterPart")
: KDevPlugin(&::data, parent, name ? name : "FilterPart")
{
setInstance(FilterFactory::instance());
setXMLFile("kdevfilter.rc");

@ -25,10 +25,10 @@
static const KDevPluginInfo data("kdevfullscreen");
typedef KDevGenericFactory<FullScreenPart> FullScreenFactory;
K_EXPORT_COMPONENT_FACTORY( libkdevfullscreen, FullScreenFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevfullscreen, FullScreenFactory( ::data ) )
FullScreenPart::FullScreenPart(TQObject *parent, const char *name, const TQStringList& )
: KDevPlugin(&data, parent, name ? name : "FullScreenPart" )
: KDevPlugin(&::data, parent, name ? name : "FullScreenPart" )
{
setInstance(FullScreenFactory::instance());
// const TDEAboutData &abdata1 = *(info());

@ -31,10 +31,10 @@
static const KDevPluginInfo data("kdevappoutputview");
typedef KDevGenericFactory< AppOutputViewPart > AppViewFactory;
K_EXPORT_COMPONENT_FACTORY( libkdevappview, AppViewFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevappview, AppViewFactory( ::data ) )
AppOutputViewPart::AppOutputViewPart(TQObject *parent, const char *name, const TQStringList &)
: KDevAppFrontend(&data, parent, name ? name : "AppOutputViewPart")
: KDevAppFrontend(&::data, parent, name ? name : "AppOutputViewPart")
{
setInstance(AppViewFactory::instance());

@ -28,10 +28,10 @@
static const KDevPluginInfo data("kdevmakeview");
typedef KDevGenericFactory< MakeViewPart > MakeViewFactory;
K_EXPORT_COMPONENT_FACTORY( libkdevmakeview, MakeViewFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevmakeview, MakeViewFactory( ::data ) )
MakeViewPart::MakeViewPart(TQObject *parent, const char *name, const TQStringList &)
: KDevMakeFrontend(&data, parent, name)
: KDevMakeFrontend(&::data, parent, name)
{
setInstance(MakeViewFactory::instance());

@ -26,10 +26,10 @@
static const KDevPluginInfo data("kdevpartexplorer");
typedef KDevGenericFactory<PartExplorerPlugin> PartExplorerPluginFactory;
K_EXPORT_COMPONENT_FACTORY( libkdevpartexplorer, PartExplorerPluginFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevpartexplorer, PartExplorerPluginFactory( ::data ) )
PartExplorerPlugin::PartExplorerPlugin( TQObject *parent, const char *name, const TQStringList & )
: KDevPlugin( &data, parent, name ? name : "PartExplorerPlugin" )
: KDevPlugin( &::data, parent, name ? name : "PartExplorerPlugin" )
{
// we need an instance
setInstance( PartExplorerPluginFactory::instance() );

@ -45,12 +45,12 @@
typedef KDevGenericFactory<QuickOpenPart> QuickOpenFactory;
static const KDevPluginInfo data("kdevquickopen");
K_EXPORT_COMPONENT_FACTORY( libkdevquickopen, QuickOpenFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevquickopen, QuickOpenFactory( ::data ) )
using namespace KTextEditor;
QuickOpenPart::QuickOpenPart(TQObject *parent, const char *name, const TQStringList& )
: KDevQuickOpen(&data, parent, name ? name : "QuickOpenPart" )
: KDevQuickOpen(&::data, parent, name ? name : "QuickOpenPart" )
{
setInstance(QuickOpenFactory::instance());
setXMLFile("kdevpart_quickopen.rc");

@ -22,10 +22,10 @@
static const KDevPluginInfo data("kdevregexptest");
typedef KDevGenericFactory<RegexpTestPart> RegexpTestFactory;
K_EXPORT_COMPONENT_FACTORY( libkdevregexptest, RegexpTestFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevregexptest, RegexpTestFactory( ::data ) )
RegexpTestPart::RegexpTestPart(TQObject *parent, const char *name, const TQStringList &)
: KDevPlugin(&data, parent, name ? name : "RegexpTestPart")
: KDevPlugin(&::data, parent, name ? name : "RegexpTestPart")
{
setInstance(RegexpTestFactory::instance());
setXMLFile("kdevregexptest.rc");

@ -42,13 +42,13 @@
typedef KDevGenericFactory<scriptingPart> scriptingFactory;
KDevPluginInfo data("kdevscripting");
K_EXPORT_COMPONENT_FACTORY( libkdevscripting, scriptingFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevscripting, scriptingFactory( ::data ) )
#define GLOBALDOC_OPTIONS 1
#define PROJECTDOC_OPTIONS 2
scriptingPart::scriptingPart(TQObject *parent, const char *name, const TQStringList &/*args*/)
: KDevPlugin(&data, parent, name ? name : "scriptingPart"), m_scripts(0L)
: KDevPlugin(&::data, parent, name ? name : "scriptingPart"), m_scripts(0L)
{
setInstance(scriptingFactory::instance());
setXMLFile("kdevscripting.rc");

@ -35,10 +35,10 @@
static const KDevPluginInfo data("kdevsnippet");
typedef KDevGenericFactory<SnippetPart> snippetFactory;
K_EXPORT_COMPONENT_FACTORY( libkdevsnippet, snippetFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevsnippet, snippetFactory( ::data ) )
SnippetPart::SnippetPart(TQObject *parent, const char *name, const TQStringList& )
: KDevPlugin(&data, parent, name ? name : "SnippetPart" )
: KDevPlugin(&::data, parent, name ? name : "SnippetPart" )
{
setInstance(snippetFactory::instance());
setXMLFile("kdevpart_snippet.rc");

@ -26,10 +26,10 @@
typedef KDevGenericFactory<TextToolsPart> TextToolsFactory;
static const KDevPluginInfo data("kdevtexttools");
K_EXPORT_COMPONENT_FACTORY( libkdevtexttools, TextToolsFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevtexttools, TextToolsFactory( ::data ) )
TextToolsPart::TextToolsPart(TQObject *parent, const char *name, const TQStringList &)
: KDevPlugin(&data, parent, name ? name : "TextToolsPart")
: KDevPlugin(&::data, parent, name ? name : "TextToolsPart")
{
setInstance(TextToolsFactory::instance());
// setXMLFile("kdevfileview.rc");

@ -22,10 +22,10 @@
static const KDevPluginInfo data("kdevtipofday");
typedef KDevGenericFactory<TipOfDayPart> TipOfDayFactory;
K_EXPORT_COMPONENT_FACTORY( libkdevtipofday, TipOfDayFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevtipofday, TipOfDayFactory( ::data ) )
TipOfDayPart::TipOfDayPart(TQObject *parent, const char *name, const TQStringList &)
: KDevPlugin(&data, parent, name ? name : "TipOfDayPart")
: KDevPlugin(&::data, parent, name ? name : "TipOfDayPart")
{
setInstance(TipOfDayFactory::instance());

@ -35,12 +35,12 @@
#define EXTRATOOLSSETTINGS 2
static const KDevPluginInfo data("kdevtools");
K_EXPORT_COMPONENT_FACTORY( libkdevtools, ToolsFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevtools, ToolsFactory( ::data ) )
TQMap<int, TQString> externalToolMenuEntries;
ToolsPart::ToolsPart(TQObject *parent, const char *name, const TQStringList &)
: KDevPlugin( &data, parent, name ? name : "ToolsPart")
: KDevPlugin( &::data, parent, name ? name : "ToolsPart")
{
setInstance(ToolsFactory::instance());

@ -16,10 +16,10 @@
typedef KDevGenericFactory<UIChooserPart> UIChooserFactory;
static const KDevPluginInfo data("kdevuichooser");
K_EXPORT_COMPONENT_FACTORY( libkdevuichooser, UIChooserFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevuichooser, UIChooserFactory( ::data ) )
UIChooserPart::UIChooserPart(TQObject *parent, const char *name, const TQStringList &)
: KDevPlugin( &data, parent, name ? name : "UIChooserPart")
: KDevPlugin( &::data, parent, name ? name : "UIChooserPart")
{
setInstance(UIChooserFactory::instance());

@ -24,10 +24,10 @@
typedef KDevGenericFactory<ValgrindPart> ValgrindFactory;
static const KDevPluginInfo data("kdevvalgrind");
K_EXPORT_COMPONENT_FACTORY( libkdevvalgrind, ValgrindFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevvalgrind, ValgrindFactory( ::data ) )
ValgrindPart::ValgrindPart( TQObject *parent, const char *name, const TQStringList& )
: KDevPlugin( &data, parent, name ? name : "ValgrindPart" )
: KDevPlugin( &::data, parent, name ? name : "ValgrindPart" )
{
setInstance( ValgrindFactory::instance() );
setXMLFile( "kdevpart_valgrind.rc" );

@ -43,13 +43,13 @@
typedef KDevGenericFactory<VCSManagerPart> VCSManagerFactory;
KDevPluginInfo data("kdevvcsmanager");
K_EXPORT_COMPONENT_FACTORY( libkdevvcsmanager, VCSManagerFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevvcsmanager, VCSManagerFactory( ::data ) )
#define GLOBALDOC_OPTIONS 1
#define PROJECTDOC_OPTIONS 2
VCSManagerPart::VCSManagerPart(TQObject *parent, const char *name, const TQStringList &/*args*/)
: KDevPlugin(&data, parent, name ? name : "VCSManagerPart")
: KDevPlugin(&::data, parent, name ? name : "VCSManagerPart")
{
kdDebug() << " ********** VCSManagerPart::VCSManagerPart() ************** " << endl;

@ -40,10 +40,10 @@
static const KDevPluginInfo data("kdevclearcase");
typedef KDevGenericFactory<ClearcasePart> ClearcaseFactory;
K_EXPORT_COMPONENT_FACTORY( libkdevclearcase, ClearcaseFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevclearcase, ClearcaseFactory( ::data ) )
ClearcasePart::ClearcasePart( TQObject *parent, const char *name, const TQStringList & )
: KDevVersionControl( &data, parent, name ? name : "ClearcasePart" ),
: KDevVersionControl( &::data, parent, name ? name : "ClearcasePart" ),
default_checkin(""),
default_checkout(""),
default_uncheckout("-rm"),

@ -74,14 +74,14 @@ bool g_projectWasJustCreated = false;
static const KDevPluginInfo data("kdevcvsservice");
typedef KDevGenericFactory<CvsServicePart> CvsFactory;
K_EXPORT_COMPONENT_FACTORY( libkdevcvsservice, CvsFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevcvsservice, CvsFactory( ::data ) )
///////////////////////////////////////////////////////////////////////////////
// class CvsServicePart
///////////////////////////////////////////////////////////////////////////////
CvsServicePart::CvsServicePart( TQObject *parent, const char *name, const TQStringList & )
: KDevVersionControl( &data, parent,
: KDevVersionControl( &::data, parent,
name ? name : "CvsService" ),
actionCommit( 0 ), actionDiff( 0 ), actionLog( 0 ), actionAnnotate(0), actionAdd( 0 ),
actionAddBinary( 0 ), actionRemove( 0 ), actionUpdate( 0 ),

@ -36,10 +36,10 @@
static const KDevPluginInfo data("kdevperforce");
typedef KDevGenericFactory<PerforcePart> PerforceFactory;
K_EXPORT_COMPONENT_FACTORY( libkdevperforce, PerforceFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevperforce, PerforceFactory( ::data ) )
PerforcePart::PerforcePart( TQObject *parent, const char *name, const TQStringList & )
: KDevVersionControl( &data, parent, name ? name : "PerforcePart" )
: KDevVersionControl( &::data, parent, name ? name : "PerforcePart" )
{
setInstance(PerforceFactory::instance());
setupActions();

@ -59,12 +59,12 @@ using namespace SvnGlobal;
static const KDevPluginInfo data("kdevsubversion");
typedef KDevGenericFactory<subversionPart> subversionFactory;
K_EXPORT_COMPONENT_FACTORY( libkdevsubversion, subversionFactory( data ) )
K_EXPORT_COMPONENT_FACTORY( libkdevsubversion, subversionFactory( ::data ) )
//bool g_projectWasJustCreated = false;
subversionPart::subversionPart(TQObject *parent, const char *name, const TQStringList& )
: KDevVersionControl(&data, parent, name ? name : "Subversion" ) {
: KDevVersionControl(&::data, parent, name ? name : "Subversion" ) {
setInstance(subversionFactory::instance());
m_projWidget = 0;

Loading…
Cancel
Save