diff -r 6bcf277166c1 -r 451b2e1545b2 hswidgetplugin/fmradiohswidgetplugin/inc/fmradiohswidgetprofilereader.h --- a/hswidgetplugin/fmradiohswidgetplugin/inc/fmradiohswidgetprofilereader.h Fri Jun 11 16:24:13 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,60 +0,0 @@ -/* -* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: FM Radio widget profile reader -* -*/ - -#ifndef FMRADIOHSWIDGETPROFILEREADER_H_ -#define FMRADIOHSWIDGETPROFILEREADER_H_ - -// System includes -#include -#include - -// Forward declarations -class XQSettingsManager; -class XQSettingsKey; - -class FmRadioHsWidgetProfileReader : public QObject -{ -Q_OBJECT - -public: - FmRadioHsWidgetProfileReader(QObject *parent = 0); - virtual ~FmRadioHsWidgetProfileReader(); - - QVariant radioStatus(); - -signals: - void profileChanged(int profile); - void radioRunning(QVariant state); - -public slots: - void itemDeleted(const XQSettingsKey& key); - //void handleChanges(const XQSettingsKey& key, const QVariant& value); - void handleRadioRunningChanges(const XQSettingsKey& key, const QVariant& value); - -private slots: - void currentProfileStatus(QVariant value); - void currentRadioRunningStatus(QVariant value); - - void startMonitoringRadioRunningStatus(); - -private: // data - XQSettingsManager *mSettingsManager; // For getting and P&S notifications - int mRadioStatus; - -}; - -#endif /* FMRADIOHSWIDGETPROFILEREADER_H_ */