mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 17:35:34 +08:00
Ref T199, added some utility functions
* tag object can be read from data directory * isNull * some renamings
This commit is contained in:
@@ -42,6 +42,9 @@ namespace BlackMisc
|
||||
//! Get the pid.
|
||||
qint64 processId() const { return m_pid; }
|
||||
|
||||
//! Empty process info
|
||||
bool isNull() const { return m_pid == 0 && m_name.isEmpty(); }
|
||||
|
||||
//! Get the process name.
|
||||
const QString &processName() const { return m_name; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user