summaryrefslogtreecommitdiffstats
path: root/languages/cpp/compiler
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit32b67ac0690de411b26b1d5e715b188c27442248 (patch)
tree43167816a3df6b3a877d71c9a7963ed270dcc8c9 /languages/cpp/compiler
parent330c33ab6f97b279737bf9527c9add7bb1475450 (diff)
downloadtdevelop-32b67ac0690de411b26b1d5e715b188c27442248.tar.gz
tdevelop-32b67ac0690de411b26b1d5e715b188c27442248.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'languages/cpp/compiler')
-rw-r--r--languages/cpp/compiler/gccoptions/gccoptionsplugin.cpp42
-rw-r--r--languages/cpp/compiler/gccoptions/gccoptionsplugin.h6
2 files changed, 24 insertions, 24 deletions
diff --git a/languages/cpp/compiler/gccoptions/gccoptionsplugin.cpp b/languages/cpp/compiler/gccoptions/gccoptionsplugin.cpp
index 533f6ad7..4add5992 100644
--- a/languages/cpp/compiler/gccoptions/gccoptionsplugin.cpp
+++ b/languages/cpp/compiler/gccoptions/gccoptionsplugin.cpp
@@ -29,7 +29,7 @@ K_EXPORT_COMPONENT_FACTORY( libkdevgccoptions, KGenericFactory<GccOptionsPlugin>
class GeneralTab : public TQWidget
{
public:
- GeneralTab( GccOptionsPlugin::Type type, TQWidget *tqparent = 0, const char *name = 0 );
+ GeneralTab( GccOptionsPlugin::Type type, TQWidget *parent = 0, const char *name = 0 );
~GeneralTab();
void readFlags( TQStringList *str );
@@ -43,7 +43,7 @@ private:
class OptimizationTab : public TQWidget
{
public:
- OptimizationTab( GccOptionsPlugin::Type type, TQWidget *tqparent = 0, const char *name = 0 );
+ OptimizationTab( GccOptionsPlugin::Type type, TQWidget *parent = 0, const char *name = 0 );
~OptimizationTab();
void readFlags( TQStringList *str );
@@ -58,7 +58,7 @@ private:
class G77Tab : public TQWidget
{
public:
- G77Tab( TQWidget *tqparent = 0, const char *name = 0 );
+ G77Tab( TQWidget *parent = 0, const char *name = 0 );
~G77Tab();
void readFlags( TQStringList *str );
@@ -72,7 +72,7 @@ private:
class Warnings1Tab : public TQWidget
{
public:
- Warnings1Tab( GccOptionsPlugin::Type type, TQWidget *tqparent = 0, const char *name = 0 );
+ Warnings1Tab( GccOptionsPlugin::Type type, TQWidget *parent = 0, const char *name = 0 );
~Warnings1Tab();
void readFlags( TQStringList *str );
@@ -87,7 +87,7 @@ private:
class Warnings2Tab : public TQWidget
{
public:
- Warnings2Tab( GccOptionsPlugin::Type type, TQWidget *tqparent = 0, const char *name = 0 );
+ Warnings2Tab( GccOptionsPlugin::Type type, TQWidget *parent = 0, const char *name = 0 );
~Warnings2Tab();
void readFlags( TQStringList *str );
@@ -98,8 +98,8 @@ private:
};
-GeneralTab::GeneralTab( GccOptionsPlugin::Type type, TQWidget *tqparent, const char *name )
- : TQWidget( tqparent, name ), controller( new FlagCheckBoxController )
+GeneralTab::GeneralTab( GccOptionsPlugin::Type type, TQWidget *parent, const char *name )
+ : TQWidget( parent, name ), controller( new FlagCheckBoxController )
{
TQBoxLayout * tqlayout = new TQVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint() );
tqlayout->setAutoAdd( true );
@@ -164,8 +164,8 @@ void GeneralTab::writeFlags( TQStringList *list )
}
-OptimizationTab::OptimizationTab( GccOptionsPlugin::Type type, TQWidget *tqparent, const char *name )
- : TQWidget( tqparent, name )
+OptimizationTab::OptimizationTab( GccOptionsPlugin::Type type, TQWidget *parent, const char *name )
+ : TQWidget( parent, name )
{
TQBoxLayout * tqlayout = new TQVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint() );
tqlayout->setAutoAdd( true );
@@ -261,8 +261,8 @@ void OptimizationTab::writeFlags( TQStringList *list )
}
-G77Tab::G77Tab( TQWidget *tqparent, const char *name )
- : TQWidget( tqparent, name ), controller( new FlagCheckBoxController )
+G77Tab::G77Tab( TQWidget *parent, const char *name )
+ : TQWidget( parent, name ), controller( new FlagCheckBoxController )
{
TQBoxLayout * tqlayout = new TQVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint() );
tqlayout->setAutoAdd( true );
@@ -316,8 +316,8 @@ void G77Tab::writeFlags( TQStringList *list )
}
-Warnings1Tab::Warnings1Tab( GccOptionsPlugin::Type type, TQWidget *tqparent, const char *name )
- : TQWidget( tqparent, name ), controller( new FlagCheckBoxController )
+Warnings1Tab::Warnings1Tab( GccOptionsPlugin::Type type, TQWidget *parent, const char *name )
+ : TQWidget( parent, name ), controller( new FlagCheckBoxController )
{
TQBoxLayout * tqlayout = new TQVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint() );
tqlayout->setAutoAdd( true );
@@ -414,8 +414,8 @@ void Warnings1Tab::writeFlags( TQStringList *list )
}
-Warnings2Tab::Warnings2Tab( GccOptionsPlugin::Type type, TQWidget *tqparent, const char *name )
- : TQWidget( tqparent, name )
+Warnings2Tab::Warnings2Tab( GccOptionsPlugin::Type type, TQWidget *parent, const char *name )
+ : TQWidget( parent, name )
{
TQBoxLayout * tqlayout = new TQVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint() );
tqlayout->setAutoAdd( true );
@@ -572,8 +572,8 @@ void Warnings2Tab::writeFlags( TQStringList *list )
// Last but not least... :-)
-GccOptionsDialog::GccOptionsDialog( GccOptionsPlugin::Type type, TQWidget *tqparent, const char *name )
- : KDialogBase( Tabbed, GccOptionsPlugin::captionForType( type ), Ok | Cancel, Ok, tqparent, name, true )
+GccOptionsDialog::GccOptionsDialog( GccOptionsPlugin::Type type, TQWidget *parent, const char *name )
+ : KDialogBase( Tabbed, GccOptionsPlugin::captionForType( type ), Ok | Cancel, Ok, parent, name, true )
{
TQVBox * vbox;
@@ -649,8 +649,8 @@ TQString GccOptionsDialog::flags() const
}
-GccOptionsPlugin::GccOptionsPlugin( TQObject *tqparent, const char *name, const TQStringList &args )
- : KDevCompilerOptions( tqparent, name )
+GccOptionsPlugin::GccOptionsPlugin( TQObject *parent, const char *name, const TQStringList &args )
+ : KDevCompilerOptions( parent, name )
{
gcctype = Unknown;
@@ -688,11 +688,11 @@ TQString GccOptionsPlugin::captionForType( Type type )
}
-TQString GccOptionsPlugin::exec( TQWidget *tqparent, const TQString &flags )
+TQString GccOptionsPlugin::exec( TQWidget *parent, const TQString &flags )
{
if ( gcctype == Unknown )
return TQString();
- GccOptionsDialog *dlg = new GccOptionsDialog( gcctype, tqparent, "gcc options dialog" );
+ GccOptionsDialog *dlg = new GccOptionsDialog( gcctype, parent, "gcc options dialog" );
TQString newFlags = flags;
dlg->setFlags( flags );
if ( dlg->exec() == TQDialog::Accepted )
diff --git a/languages/cpp/compiler/gccoptions/gccoptionsplugin.h b/languages/cpp/compiler/gccoptions/gccoptionsplugin.h
index 0ac93c23..d5a0d644 100644
--- a/languages/cpp/compiler/gccoptions/gccoptionsplugin.h
+++ b/languages/cpp/compiler/gccoptions/gccoptionsplugin.h
@@ -31,12 +31,12 @@ class GccOptionsPlugin : public KDevCompilerOptions
public:
enum Type { GCC, GPP, G77, Unknown };
- GccOptionsPlugin( TQObject *tqparent, const char *name, const TQStringList &args );
+ GccOptionsPlugin( TQObject *parent, const char *name, const TQStringList &args );
~GccOptionsPlugin();
static TQString captionForType(Type type);
- virtual TQString exec(TQWidget *tqparent, const TQString &flags);
+ virtual TQString exec(TQWidget *parent, const TQString &flags);
private:
Type gcctype;
@@ -46,7 +46,7 @@ private:
class GccOptionsDialog : public KDialogBase
{
public:
- GccOptionsDialog( GccOptionsPlugin::Type type, TQWidget *tqparent=0, const char *name=0 );
+ GccOptionsDialog( GccOptionsPlugin::Type type, TQWidget *parent=0, const char *name=0 );
~GccOptionsDialog();
void setFlags(const TQString &flags);