diff options
Diffstat (limited to 'src/pluginloader/ripperpluginloader.cpp')
-rwxr-xr-x | src/pluginloader/ripperpluginloader.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/pluginloader/ripperpluginloader.cpp b/src/pluginloader/ripperpluginloader.cpp index 9c1f9d4..780efc8 100755 --- a/src/pluginloader/ripperpluginloader.cpp +++ b/src/pluginloader/ripperpluginloader.cpp @@ -1,7 +1,7 @@ #include "ripperpluginloader.h" -#include <qfile.h> +#include <tqfile.h> #include <klocale.h> @@ -19,9 +19,9 @@ RipperPluginLoader::RipperPluginLoader() RipperPluginLoader::~RipperPluginLoader() {} -int RipperPluginLoader::verifyFile( QString fileName ) +int RipperPluginLoader::verifyFile( TQString fileName ) { - QFile opmlFile( fileName ); + TQFile opmlFile( fileName ); if( !opmlFile.open( IO_ReadOnly ) ) { return -1; } @@ -30,10 +30,10 @@ int RipperPluginLoader::verifyFile( QString fileName ) } opmlFile.close(); - QDomElement root = domTree.documentElement(); + TQDomElement root = domTree.documentElement(); if( root.attribute("type") != "ripper" ) return -1; int version; - QDomNode node; + TQDomNode node; node = root.firstChild(); while( !node.isNull() ) { if( node.isElement() && node.nodeName() == "info" ) { @@ -45,17 +45,17 @@ int RipperPluginLoader::verifyFile( QString fileName ) return version; } -RipperPlugin* RipperPluginLoader::loadFile( QString fileName ) +RipperPlugin* RipperPluginLoader::loadFile( TQString fileName ) { int t_int; float t_float; - QString t_str; + TQString t_str; RipperPlugin* plugin = new RipperPlugin(); plugin->info.version = -1; // if something goes wrong, we can see that by looking at plugin->info.version plugin->filePathName = fileName; - QFile opmlFile( fileName ); + TQFile opmlFile( fileName ); if( !opmlFile.open( IO_ReadOnly ) ) { return plugin; } @@ -64,9 +64,9 @@ RipperPlugin* RipperPluginLoader::loadFile( QString fileName ) } opmlFile.close(); - QDomElement root = domTree.documentElement(); + TQDomElement root = domTree.documentElement(); if( root.attribute("type") != "ripper" ) return plugin; - QDomNode node, sub1Node; + TQDomNode node, sub1Node; node = root.firstChild(); while( !node.isNull() ) { |