diff options
Diffstat (limited to 'kbfxlib/data/kbfxplugin.cpp')
-rw-r--r-- | kbfxlib/data/kbfxplugin.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kbfxlib/data/kbfxplugin.cpp b/kbfxlib/data/kbfxplugin.cpp index ae53d67..198bde4 100644 --- a/kbfxlib/data/kbfxplugin.cpp +++ b/kbfxlib/data/kbfxplugin.cpp @@ -21,7 +21,7 @@ #include "kbfxplugin.h" -KbfxPlugin::KbfxPlugin ( QString name,QString lib,uint id ) +KbfxPlugin::KbfxPlugin ( TQString name,TQString lib,uint id ) { m_name = name; m_libName = lib; @@ -39,13 +39,13 @@ KbfxPlugin::~KbfxPlugin() // delete [] m_libName; } -QString +TQString KbfxPlugin::name() { return m_name; } -QString +TQString KbfxPlugin::libName() { return m_libName; @@ -69,7 +69,7 @@ KbfxPlugin::data() typedef KbfxDataStack * ( *KbfxPluginView ) (); KbfxDataStack * m_stack =0; KbfxPluginView m_hook; - QLibrary * m_plugin = new QLibrary ( m_libName ); + TQLibrary * m_plugin = new TQLibrary ( m_libName ); if ( m_plugin == NULL ) return new KbfxDataStack(); @@ -86,7 +86,7 @@ KbfxPlugin::data() } KbfxDataGroup * -KbfxPlugin::search ( QString keyword ) +KbfxPlugin::search ( TQString keyword ) { if ( keyword == 0 ) return NULL;//new KbfxDataGroup(); @@ -95,10 +95,10 @@ KbfxPlugin::search ( QString keyword ) return NULL;//KbfxDataGroup(); - typedef KbfxDataGroup * ( *KbfxPluginSearch ) ( QString key ); + typedef KbfxDataGroup * ( *KbfxPluginSearch ) ( TQString key ); KbfxDataGroup * m_group =0; KbfxPluginSearch m_hook; - QLibrary * m_plugin = new QLibrary ( m_libName ); + TQLibrary * m_plugin = new TQLibrary ( m_libName ); m_hook = ( KbfxPluginSearch ) m_plugin->resolve ( "search" ); m_group = m_hook ( keyword ); m_plugin->unload(); |