contentstorage/caclient/inc/canotifierfilter_p.h
branchRCL_3
changeset 113 0efa10d348c0
equal deleted inserted replaced
111:053c6c7c14f3 113:0efa10d348c0
       
     1 /*
       
     2  * Copyright (c) 2009 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: canotifier_p.h
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef CANOTIFIERFILTER_PRIVATE_H
       
    19 #define CANOTIFIERFILTER_PRIVATE_H
       
    20 
       
    21 #include <QList>
       
    22 #include <QStringList>
       
    23 
       
    24 #include "cadefs.h"
       
    25 
       
    26 class CaNotifierFilter;
       
    27 
       
    28 class CaNotifierFilterPrivate
       
    29 {
       
    30 
       
    31 public:
       
    32 
       
    33     explicit
       
    34     CaNotifierFilterPrivate(CaNotifierFilter *notifierFilterPublic);
       
    35     CaNotifierFilterPrivate &operator=(
       
    36         const CaNotifierFilterPrivate &notifierFilterPrivate);
       
    37     ~CaNotifierFilterPrivate();
       
    38 
       
    39     int getParentId() const;
       
    40     void setParentId(int parentId);
       
    41 
       
    42     QList<int> getIds() const;
       
    43     void setIds(const QList<int> &ids);
       
    44 
       
    45     EntryRoles getEntryRole() const;
       
    46     void setEntryRole(EntryRoles entryRole);
       
    47 
       
    48     QStringList getTypeNames() const;
       
    49     void setTypeNames(const QStringList &typeNames);
       
    50 
       
    51 private:
       
    52 
       
    53     int mParentId;
       
    54     QList<int> mIds;
       
    55     EntryRoles mEntryRoles;
       
    56     QStringList mTypeNames;
       
    57 
       
    58 private:
       
    59 
       
    60     CaNotifierFilter *const m_q;
       
    61 
       
    62 };
       
    63 
       
    64 #endif // CANOTIFIERFILTER_PRIVATE_H