15 printf(
"QcepSettingsSaver::QcepSettingsSaver(%p)\n",
this);
24 printf(
"QcepSettingsSaver::~QcepSettingsSaver(%p)\n",
this);
30 if (QThread::currentThread() != thread()) {
47 printMessage(tr(
"Settings Saver saving %1 updates").arg(nupdates));
56 printMessage(tr(
"Saving settings took %1 msec").arg(tic.elapsed()));
68 INVOKE_CHECK(QMetaObject::invokeMethod(
m_Owner,
"printMessage", Q_ARG(QString, msg), Q_ARG(QDateTime, ts)));
qint64 qcepDebug(int cond)
void printMessage(QString msg, QDateTime ts=QDateTime::currentDateTime())
#define INVOKE_CHECK(res)
void changed(QcepProperty *prop=NULL)
QcepSettingsSaver(QObject *owner)