inc/silentmodel.h
changeset 0 6be25656cbbb
equal deleted inserted replaced
-1:000000000000 0:6be25656cbbb
       
     1 /*
       
     2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: Silent model for silent widget
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef SILENTMODEL_H
       
    19 #define SILENTMODEL_H
       
    20 
       
    21 // System includes
       
    22 #include <QObject>
       
    23 
       
    24 // Forward declarations
       
    25 class SilentModelPrivate;
       
    26 
       
    27 // Class declaration
       
    28 class SilentModel : public QObject
       
    29 {
       
    30 public:
       
    31     SilentModel(QObject *parent = 0);
       
    32     ~SilentModel();
       
    33     bool silenceMode() const;
       
    34     void setSilenceMode(bool isSlience);
       
    35     
       
    36 private:
       
    37     Q_DISABLE_COPY(SilentModel)
       
    38     
       
    39 private:
       
    40     SilentModelPrivate *dptr;
       
    41 };
       
    42 
       
    43 #endif  //SILENTMODEL_H