我知道使用Symbian C++可以实现这个功能,以下是相应的代码。
void GetProcessListL(void)
{
TFullName res;
TFindProcess find;
while(find.Next(res) == KErrNone)
{
RProcess ph;
ph.Open(find);
// here you can use
// functions of the RProcess
// to get more information
// of the selected process.
// res will have the process name..
ph.Close();
}
}
然而,有没有一种只使用Qt来实现这个的方法呢?
由于Symbian C++显然已经过时,甚至连诺基亚也不再推荐使用它了。
谢谢。