summaryrefslogtreecommitdiffstats
path: root/languages/fortran/compiler/pgioptions/pgioptionsfactory.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
commit48d4a26399959121f33d2bc3bfe51c7827b654fc (patch)
tree5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /languages/fortran/compiler/pgioptions/pgioptionsfactory.cpp
parent7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff)
downloadtdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz
tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'languages/fortran/compiler/pgioptions/pgioptionsfactory.cpp')
-rw-r--r--languages/fortran/compiler/pgioptions/pgioptionsfactory.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/languages/fortran/compiler/pgioptions/pgioptionsfactory.cpp b/languages/fortran/compiler/pgioptions/pgioptionsfactory.cpp
index 66a12fbb..f6c3465e 100644
--- a/languages/fortran/compiler/pgioptions/pgioptionsfactory.cpp
+++ b/languages/fortran/compiler/pgioptions/pgioptionsfactory.cpp
@@ -25,8 +25,8 @@ extern "C" {
}
-PgiOptionsFactory::PgiOptionsFactory(TQObject *parent, const char *name)
- : KLibFactory(parent, name)
+PgiOptionsFactory::PgiOptionsFactory(TQObject *tqparent, const char *name)
+ : KLibFactory(tqparent, name)
{
instance();
}
@@ -39,15 +39,15 @@ PgiOptionsFactory::~PgiOptionsFactory()
}
-TQObject *PgiOptionsFactory::createObject(TQObject *parent, const char *name,
+TQObject *PgiOptionsFactory::createObject(TQObject *tqparent, 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, parent, name);
+ return new PgiOptionsPlugin(PgiOptionsPlugin::PGHPF, tqparent, name);
} else if (args.count() > 0 && qstrcmp(args[0].latin1(), "pgf77") == 0) {
kdDebug(9021) << "Building PgiOptions for PGF77" << endl;
- return new PgiOptionsPlugin(PgiOptionsPlugin::PGF77, parent, name);
+ return new PgiOptionsPlugin(PgiOptionsPlugin::PGF77, tqparent, name);
} else {
kdDebug(9021) << "Wrong args for kdevpgioptions library" << endl;
if (args.count() > 0)