mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
Ref T148, public getName so it can be used in logging
This commit is contained in:
committed by
Mathew Sutcliffe
parent
11abb9f481
commit
c0a6574c80
@@ -302,6 +302,9 @@ namespace BlackMisc
|
||||
//! \threadsafe
|
||||
void startUpdating(int updateTimeSecs);
|
||||
|
||||
//! Name of the worker
|
||||
const QString &getName() { return m_name; }
|
||||
|
||||
protected:
|
||||
//! Called when the thread is started.
|
||||
virtual void initialize() {}
|
||||
@@ -309,9 +312,6 @@ namespace BlackMisc
|
||||
//! Called when the thread is finished.
|
||||
virtual void cleanup() {}
|
||||
|
||||
//! Name of the worker
|
||||
const QString &getName() { return m_name; }
|
||||
|
||||
QTimer m_updateTimer { this }; //!< timer which can be used by implementing classes
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user