summaryrefslogtreecommitdiffstats
path: root/languages/cpp/createpcsdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/createpcsdialog.cpp')
-rw-r--r--languages/cpp/createpcsdialog.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/languages/cpp/createpcsdialog.cpp b/languages/cpp/createpcsdialog.cpp
index d716bcc2..cb5b25c1 100644
--- a/languages/cpp/createpcsdialog.cpp
+++ b/languages/cpp/createpcsdialog.cpp
@@ -102,7 +102,7 @@ public:
TQString gccLibPath = SetupHelper::getGccIncludePath(&ok);
if (!ok)
return;
- gccLibPath = gccLibPath.replace( TQRegExp( "[\r\n]" ), "" );
+ gccLibPath = gccLibPath.tqreplace( TQRegExp( "[\r\n]" ), "" );
addIncludePath( gccLibPath );
//addIncludePath( "/usr/include/g++-3" );
//addIncludePath( "/usr/include/g++" );
@@ -116,8 +116,8 @@ public:
addMacro( Macro( lst[1], lst[2] ) );
}
addMacro( Macro( "__cplusplus", "1" ) );
- addMacro( Macro( "Q_SIGNALS", "signals" ) );
- addMacro( Macro( "Q_SLOTS", "slots" ) );
+ addMacro( Macro( "signals", "signals" ) );
+ addMacro( Macro( "slots", "slots" ) );
}
private:
@@ -132,13 +132,13 @@ private:
class PCSListViewItem: public KListViewItem
{
public:
- PCSListViewItem( KService::Ptr ptr, KDevPCSImporter* importer, TQListViewItem* parent )
- : KListViewItem( parent ), m_importer( importer )
+ PCSListViewItem( KService::Ptr ptr, KDevPCSImporter* importer, TQListViewItem* tqparent )
+ : KListViewItem( tqparent ), m_importer( importer )
{
init( ptr );
}
- PCSListViewItem( KService::Ptr ptr, KDevPCSImporter* importer, TQListView* parent )
- : KListViewItem( parent ), m_importer( importer )
+ PCSListViewItem( KService::Ptr ptr, KDevPCSImporter* importer, TQListView* tqparent )
+ : KListViewItem( tqparent ), m_importer( importer )
{
init( ptr );
}
@@ -196,8 +196,8 @@ public:
-CreatePCSDialog::CreatePCSDialog( CppSupportPart* part, TQWidget* parent, const char* name, bool modal, WFlags fl )
- : CreatePCSDialogBase( parent, name, modal, fl ), m_part( part ), m_jobData( 0 )
+CreatePCSDialog::CreatePCSDialog( CppSupportPart* part, TQWidget* tqparent, const char* name, bool modal, WFlags fl )
+ : CreatePCSDialogBase( tqparent, name, modal, fl ), m_part( part ), m_jobData( 0 )
{
helpButton()->hide();
@@ -212,7 +212,7 @@ CreatePCSDialog::CreatePCSDialog( CppSupportPart* part, TQWidget* parent, const
KService::Ptr ptr = *it;
int error = 0;
- KDevPCSImporter* importer = KParts::ComponentFactory::createInstanceFromService<KDevPCSImporter>( ptr, this, ptr->name().latin1(), TQStringList(), &error );
+ KDevPCSImporter* importer = KParts::ComponentFactory::createInstanceFromService<KDevPCSImporter>( ptr, TQT_TQOBJECT(this), ptr->name().latin1(), TQStringList(), &error );
if ( importer )
{
new PCSListViewItem( ptr, importer, importerListView );