diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:46:05 -0600 | 
|---|---|---|
| committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:46:05 -0600 | 
| commit | 73c08b592db45af554b9f21029bc549d70f683ab (patch) | |
| tree | 122898ea951e59fdc4419b3c84b7a6c2dd0bb5f7 /nsplugins/pluginscan.cpp | |
| parent | e81bdee8ae92d6eeb82daa8c0a0e46bf37f4a6da (diff) | |
| download | tdebase-73c08b592db45af554b9f21029bc549d70f683ab.tar.gz tdebase-73c08b592db45af554b9f21029bc549d70f683ab.zip | |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'nsplugins/pluginscan.cpp')
| -rw-r--r-- | nsplugins/pluginscan.cpp | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/nsplugins/pluginscan.cpp b/nsplugins/pluginscan.cpp index ce2e238bc..a20ba6e8e 100644 --- a/nsplugins/pluginscan.cpp +++ b/nsplugins/pluginscan.cpp @@ -34,7 +34,7 @@  #include <tqdir.h>  #include <tqfile.h> -#include <tqtextstream.h> +#include <textstream.h>  #include <tqregexp.h>  #include <tqbuffer.h> @@ -251,14 +251,14 @@ int tryCheck(int write_fd, const TQString &absFile)          NPError err = func_GetValue( 0, NPPVpluginNameString,                                       (void*)&buf );          if ( err==NPERR_NO_ERROR ) -            name = TQString::tqfromLatin1( buf ); +            name = TQString::fromLatin1( buf );          kdDebug() << "name = " << name << endl;          // get name          NPError nperr = func_GetValue( 0, NPPVpluginDescriptionString,                                       (void*)&buf );          if ( nperr==NPERR_NO_ERROR ) -            description = TQString::tqfromLatin1( buf ); +            description = TQString::fromLatin1( buf );          kdDebug() << "description = " << description << endl;      }      else @@ -346,7 +346,7 @@ void scanDirectory( TQString dir, TQStringList &mimeInfoList,          // open the library and ask for the mimetype          kdDebug(1433) << " - opening " << absFile << endl; -        cache.tqdevice()->flush(); +        cache.device()->flush();          // fork, so that a crash in the plugin won't stop the scanning of other plugins          int pipes[2];          if (pipe(pipes) != 0) continue; | 
