File indexing completed on 2024-04-28 16:54:29
0001 /* 0002 SPDX-FileCopyrightText: 2009 Till Adam <adam@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "ktimezonedbase.h" 0010 0011 class RegistryWatcherThread; 0012 0013 class KTimeZoned : public KTimeZonedBase 0014 { 0015 Q_OBJECT 0016 friend class RegistryWatcherThread; 0017 0018 public: 0019 KTimeZoned(QObject *parent, const QList<QVariant> &); 0020 ~KTimeZoned(); 0021 0022 private: 0023 /** reimp */ 0024 void init(bool); 0025 void updateLocalZone(); 0026 0027 RegistryWatcherThread *mRegistryWatcherThread; // thread that watches the timezone registry key 0028 };