|
|
|
@ -27,7 +27,7 @@
|
|
|
|
|
|
|
|
|
|
#include <tdeconfig.h>
|
|
|
|
|
#include <tdeprocess.h>
|
|
|
|
|
#include <kprocio.h>
|
|
|
|
|
#include <tdeprocio.h>
|
|
|
|
|
#include <kstandarddirs.h>
|
|
|
|
|
#include <tdeaccelmanager.h>
|
|
|
|
|
|
|
|
|
@ -48,7 +48,7 @@ GCstarPluginFetcher::PluginList GCstarPluginFetcher::plugins(int collType_) {
|
|
|
|
|
TQString gcstar = TDEStandardDirs::findExe(TQString::fromLatin1("gcstar"));
|
|
|
|
|
|
|
|
|
|
if(pluginParse == NotYet) {
|
|
|
|
|
KProcIO proc;
|
|
|
|
|
TDEProcIO proc;
|
|
|
|
|
proc << gcstar << TQString::fromLatin1("--version");
|
|
|
|
|
// wait 5 seconds at most, just a sanity thing, never want to block completely
|
|
|
|
|
if(proc.start(TDEProcess::Block) && proc.wait(5)) {
|
|
|
|
@ -92,7 +92,7 @@ void GCstarPluginFetcher::readPluginsNew(int collType_, const TQString& gcstar_)
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
KProcIO proc;
|
|
|
|
|
TDEProcIO proc;
|
|
|
|
|
proc << gcstar_
|
|
|
|
|
<< TQString::fromLatin1("-x")
|
|
|
|
|
<< TQString::fromLatin1("--list-plugins")
|
|
|
|
|