clock/clockui/clockcityselectionlist/inc/clockcitylistproxymodel.h
changeset 18 c198609911f9
equal deleted inserted replaced
0:f979ecb2b13e 18:c198609911f9
       
     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 * Header file for class ClockCityListProxyModel.
       
    16 *
       
    17 */
       
    18 
       
    19 #ifndef CLOCKCITYLISTPROXYMODEL_H
       
    20 #define CLOCKCITYLISTPROXYMODEL_H
       
    21 
       
    22 // System includes
       
    23 #include <QObject>
       
    24 #include <QSortFilterProxyModel>
       
    25 
       
    26 class ClockCityListProxyModel : public QSortFilterProxyModel
       
    27 {
       
    28 public:
       
    29 	explicit ClockCityListProxyModel(QObject *parent = 0);
       
    30 	virtual ~ClockCityListProxyModel() {}
       
    31 
       
    32 protected:
       
    33 	bool filterAcceptsRow(
       
    34 			int sourceRow, const QModelIndex &sourceParent) const;
       
    35 };
       
    36 
       
    37 #endif // CLOCKCITYLISTPROXYMODEL_H
       
    38 
       
    39 // End of file	--Don't remove this.