Ref T148, public getName so it can be used in logging

This commit is contained in:
Klaus Basan
2017-09-04 14:58:03 +02:00
committed by Mathew Sutcliffe
parent 11abb9f481
commit c0a6574c80

View File

@@ -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: