File indexing completed on 2024-11-10 04:40:11
0001 /* 0002 SPDX-FileCopyrightText: 2011 Stephen Kelly <steveire@gmail.com> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #include "inspectablechangerecorder.h" 0008 using namespace std::chrono_literals; 0009 InspectableChangeRecorderPrivate::InspectableChangeRecorderPrivate(FakeMonitorDependenciesFactory *dependenciesFactory, InspectableChangeRecorder *parent) 0010 : ChangeRecorderPrivate(dependenciesFactory, parent) 0011 { 0012 } 0013 0014 InspectableChangeRecorder::InspectableChangeRecorder(FakeMonitorDependenciesFactory *dependenciesFactory, QObject *parent) 0015 : ChangeRecorder(new Akonadi::ChangeRecorderPrivate(dependenciesFactory, this), parent) 0016 { 0017 QTimer::singleShot(0s, this, &InspectableChangeRecorder::doConnectToNotificationManager); 0018 } 0019 0020 void InspectableChangeRecorder::doConnectToNotificationManager() 0021 { 0022 d_ptr->connectToNotificationManager(); 0023 } 0024 0025 #include "moc_inspectablechangerecorder.cpp"