From e9be34de5fe62ce92c1d4cad63d03be76e9beb8d Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 17 Jun 2011 19:08:25 +0000 Subject: Fix kdevelop Qt3 compilation git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1237312 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- languages/cpp/pcsimporter/qt4importer/kdevqt4importer.cpp | 12 ++++++------ languages/cpp/pcsimporter/qt4importer/kdevqt4importer.h | 6 +++--- languages/cpp/pcsimporter/qtimporter/kdevqtimporter.cpp | 12 ++++++------ languages/cpp/pcsimporter/qtimporter/kdevqtimporter.h | 6 +++--- 4 files changed, 18 insertions(+), 18 deletions(-) (limited to 'languages/cpp/pcsimporter') diff --git a/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.cpp b/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.cpp index 5864659c..e26872e2 100644 --- a/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.cpp +++ b/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.cpp @@ -22,15 +22,15 @@ #include #include -K_EXPORT_COMPONENT_FACTORY( libkdevqt4importer, KGenericFactory( "kdevqt4importer" ) ) +K_EXPORT_COMPONENT_FACTORY( libkdevqt4importer, KGenericFactory( "kdevqt4importer" ) ) -KDevTQt4Importer::KDevTQt4Importer( TQObject * tqparent, const char * name, const TQStringList& ) +KDevQt4Importer::KDevQt4Importer( TQObject * tqparent, const char * name, const TQStringList& ) : KDevPCSImporter( tqparent, name ) { m_qtfile = 0; } -KDevTQt4Importer::~KDevTQt4Importer() +KDevQt4Importer::~KDevQt4Importer() { if (m_qtfile) delete m_qtfile; @@ -38,7 +38,7 @@ KDevTQt4Importer::~KDevTQt4Importer() m_qtfile = 0; } -TQStringList KDevTQt4Importer::fileList() +TQStringList KDevQt4Importer::fileList() { if( !m_settings ) return TQStringList(); @@ -86,7 +86,7 @@ TQStringList KDevTQt4Importer::fileList() return m_qtfile->name(); } -TQStringList KDevTQt4Importer::includePaths() +TQStringList KDevQt4Importer::includePaths() { if( !m_settings || !m_qtfile) return TQStringList(); @@ -99,7 +99,7 @@ TQStringList KDevTQt4Importer::includePaths() return includePaths; } -TQWidget * KDevTQt4Importer::createSettingsPage( TQWidget * tqparent, const char * name ) +TQWidget * KDevQt4Importer::createSettingsPage( TQWidget * tqparent, const char * name ) { m_settings = new SettingsDialog( tqparent, name ); return m_settings; diff --git a/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.h b/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.h index 5a365bf6..0da1185d 100644 --- a/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.h +++ b/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.h @@ -18,13 +18,13 @@ class SettingsDialog; class KTempFile; -class KDevTQt4Importer : public KDevPCSImporter +class KDevQt4Importer : public KDevPCSImporter { Q_OBJECT TQ_OBJECT public: - KDevTQt4Importer( TQObject* tqparent=0, const char* name=0, const TQStringList& args=TQStringList() ); - virtual ~KDevTQt4Importer(); + KDevQt4Importer( TQObject* tqparent=0, const char* name=0, const TQStringList& args=TQStringList() ); + virtual ~KDevQt4Importer(); virtual TQString dbName() const { return TQString::tqfromLatin1("TQt4"); } virtual TQStringList fileList(); diff --git a/languages/cpp/pcsimporter/qtimporter/kdevqtimporter.cpp b/languages/cpp/pcsimporter/qtimporter/kdevqtimporter.cpp index 25937879..ea9bfb52 100644 --- a/languages/cpp/pcsimporter/qtimporter/kdevqtimporter.cpp +++ b/languages/cpp/pcsimporter/qtimporter/kdevqtimporter.cpp @@ -18,16 +18,16 @@ #include #include -K_EXPORT_COMPONENT_FACTORY( libkdevqtimporter, KGenericFactory( "kdevqtimporter" ) ) +K_EXPORT_COMPONENT_FACTORY( libkdevqtimporter, KGenericFactory( "kdevqtimporter" ) ) -KDevTQtImporter::KDevTQtImporter( TQObject * tqparent, const char * name, const TQStringList& ) +KDevQtImporter::KDevQtImporter( TQObject * tqparent, const char * name, const TQStringList& ) : KDevPCSImporter( tqparent, name ) {} -KDevTQtImporter::~KDevTQtImporter() +KDevQtImporter::~KDevQtImporter() {} -TQStringList KDevTQtImporter::fileList() +TQStringList KDevQtImporter::fileList() { if ( !m_settings ) return TQStringList(); @@ -50,7 +50,7 @@ TQStringList KDevTQtImporter::fileList() return fileList; } -TQStringList KDevTQtImporter::includePaths() +TQStringList KDevQtImporter::includePaths() { if ( !m_settings ) return TQStringList(); @@ -64,7 +64,7 @@ TQStringList KDevTQtImporter::includePaths() return includePaths; } -TQWidget * KDevTQtImporter::createSettingsPage( TQWidget * tqparent, const char * name ) +TQWidget * KDevQtImporter::createSettingsPage( TQWidget * tqparent, const char * name ) { m_settings = new SettingsDialog( tqparent, name ); return m_settings; diff --git a/languages/cpp/pcsimporter/qtimporter/kdevqtimporter.h b/languages/cpp/pcsimporter/qtimporter/kdevqtimporter.h index 744a4b67..ebbc7ab4 100644 --- a/languages/cpp/pcsimporter/qtimporter/kdevqtimporter.h +++ b/languages/cpp/pcsimporter/qtimporter/kdevqtimporter.h @@ -17,13 +17,13 @@ class SettingsDialog; -class KDevTQtImporter : public KDevPCSImporter +class KDevQtImporter : public KDevPCSImporter { Q_OBJECT TQ_OBJECT public: - KDevTQtImporter( TQObject* tqparent=0, const char* name=0, const TQStringList& args=TQStringList() ); - virtual ~KDevTQtImporter(); + KDevQtImporter( TQObject* tqparent=0, const char* name=0, const TQStringList& args=TQStringList() ); + virtual ~KDevQtImporter(); virtual TQString dbName() const { return TQString::tqfromLatin1("TQt"); } virtual TQStringList fileList(); -- cgit v1.2.1