userguide/inc/HelpProxyModel.h
branchRCL_3
changeset 18 cbffe13eac63
parent 17 12f60d9a73b3
equal deleted inserted replaced
17:12f60d9a73b3 18:cbffe13eac63
     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: 
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef HELPPROXYMODEL_H
       
    19 #define HELPPROXYMODEL_H
       
    20 
       
    21 #include <QSortFilterProxyModel>
       
    22 
       
    23 class HelpProxyModel : public QSortFilterProxyModel
       
    24 {
       
    25 	Q_OBJECT
       
    26 public:
       
    27 	HelpProxyModel(QObject * parent = 0);
       
    28 	~HelpProxyModel();
       
    29 
       
    30 protected:
       
    31     bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const;
       
    32 };
       
    33 
       
    34 #endif //HELPPROXYMODEL_H