diff options
Diffstat (limited to 'languages/fortran/compiler/pgioptions/pgioptionsfactory.cpp')
-rw-r--r-- | languages/fortran/compiler/pgioptions/pgioptionsfactory.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/languages/fortran/compiler/pgioptions/pgioptionsfactory.cpp b/languages/fortran/compiler/pgioptions/pgioptionsfactory.cpp index f6c3465e..66a12fbb 100644 --- a/languages/fortran/compiler/pgioptions/pgioptionsfactory.cpp +++ b/languages/fortran/compiler/pgioptions/pgioptionsfactory.cpp @@ -25,8 +25,8 @@ extern "C" { } -PgiOptionsFactory::PgiOptionsFactory(TQObject *tqparent, const char *name) - : KLibFactory(tqparent, name) +PgiOptionsFactory::PgiOptionsFactory(TQObject *parent, const char *name) + : KLibFactory(parent, name) { instance(); } @@ -39,15 +39,15 @@ PgiOptionsFactory::~PgiOptionsFactory() } -TQObject *PgiOptionsFactory::createObject(TQObject *tqparent, const char *name, +TQObject *PgiOptionsFactory::createObject(TQObject *parent, const char *name, const char * /*classname*/, const TQStringList &args) { if (args.count() > 0 && qstrcmp(args[0].latin1(), "pghpf") == 0) { kdDebug(9021) << "Building PgiOptions for PGHPF" << endl; - return new PgiOptionsPlugin(PgiOptionsPlugin::PGHPF, tqparent, name); + return new PgiOptionsPlugin(PgiOptionsPlugin::PGHPF, parent, name); } else if (args.count() > 0 && qstrcmp(args[0].latin1(), "pgf77") == 0) { kdDebug(9021) << "Building PgiOptions for PGF77" << endl; - return new PgiOptionsPlugin(PgiOptionsPlugin::PGF77, tqparent, name); + return new PgiOptionsPlugin(PgiOptionsPlugin::PGF77, parent, name); } else { kdDebug(9021) << "Wrong args for kdevpgioptions library" << endl; if (args.count() > 0) |