summaryrefslogtreecommitdiffstats
path: root/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/pcsimporter/qt4importer/kdevqt4importer.cpp')
-rw-r--r--languages/cpp/pcsimporter/qt4importer/kdevqt4importer.cpp42
1 files changed, 21 insertions, 21 deletions
diff --git a/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.cpp b/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.cpp
index d4635ba4..5864659c 100644
--- a/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.cpp
+++ b/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.cpp
@@ -22,15 +22,15 @@
#include <tqlabel.h>
#include <tqdir.h>
-K_EXPORT_COMPONENT_FACTORY( libkdevqt4importer, KGenericFactory<KDevQt4Importer>( "kdevqt4importer" ) )
+K_EXPORT_COMPONENT_FACTORY( libkdevqt4importer, KGenericFactory<KDevTQt4Importer>( "kdevqt4importer" ) )
-KDevQt4Importer::KDevQt4Importer( TQObject * parent, const char * name, const TQStringList& )
- : KDevPCSImporter( parent, name )
+KDevTQt4Importer::KDevTQt4Importer( TQObject * tqparent, const char * name, const TQStringList& )
+ : KDevPCSImporter( tqparent, name )
{
m_qtfile = 0;
}
-KDevQt4Importer::~KDevQt4Importer()
+KDevTQt4Importer::~KDevTQt4Importer()
{
if (m_qtfile)
delete m_qtfile;
@@ -38,7 +38,7 @@ KDevQt4Importer::~KDevQt4Importer()
m_qtfile = 0;
}
-TQStringList KDevQt4Importer::fileList()
+TQStringList KDevTQt4Importer::fileList()
{
if( !m_settings )
return TQStringList();
@@ -49,18 +49,18 @@ TQStringList KDevQt4Importer::fileList()
KTempFile ifile;
TQTextStream &is = *ifile.textStream();
- is << "#include <QtCore/qobjectdefs.h>\n"
- << "#undef Q_SLOTS\n#undef Q_SIGNALS\n#undef slots\n#undef signals"
- << "#define Q_SLOTS slots\n"
- << "#define Q_SIGNALS signals\n"
- << "#include <QtCore/QtCore>\n"
- << "#include <QtGui/QtGui>\n"
- << "#include <QtNetwork/QtNetwork>\n"
- << "#include <QtXml/QtXml>\n"
- << "#include <Qt3Support/Qt3Support>\n"
- << "#include <QtSql/QtSql>\n"
- << "#include <QtTest/QtTest>\n"
- << "#include <QtOpenGL/QtOpenGL>\n";
+ is << "#include <TQtCore/tqobjectdefs.h>\n"
+ << "#undef slots\n#undef signals\n#undef slots\n#undef signals"
+ << "#define slots slots\n"
+ << "#define signals signals\n"
+ << "#include <TQtCore/TQtCore>\n"
+ << "#include <TQtGui/TQtGui>\n"
+ << "#include <TQtNetwork/TQtNetwork>\n"
+ << "#include <TQtXml/TQtXml>\n"
+ << "#include <TQt3Support/TQt3Support>\n"
+ << "#include <TQtSql/TQtSql>\n"
+ << "#include <TQtTest/TQtTest>\n"
+ << "#include <TQtOpenGL/TQtOpenGL>\n";
@@ -86,22 +86,22 @@ TQStringList KDevQt4Importer::fileList()
return m_qtfile->name();
}
-TQStringList KDevQt4Importer::includePaths()
+TQStringList KDevTQt4Importer::includePaths()
{
if( !m_settings || !m_qtfile)
return TQStringList();
TQStringList includePaths;
includePaths.push_back( m_settings->qtDir() );
- includePaths.push_back( m_settings->qtDir() + "/Qt" );
+ includePaths.push_back( m_settings->qtDir() + "/TQt" );
/// @todo add mkspec
return includePaths;
}
-TQWidget * KDevQt4Importer::createSettingsPage( TQWidget * parent, const char * name )
+TQWidget * KDevTQt4Importer::createSettingsPage( TQWidget * tqparent, const char * name )
{
- m_settings = new SettingsDialog( parent, name );
+ m_settings = new SettingsDialog( tqparent, name );
return m_settings;
}