equal
deleted
inserted
replaced
|
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 #include <QObject> |
|
19 |
|
20 #include "tsmodelobserver.h" |
|
21 |
|
22 class MTsModel; |
|
23 class TTsModelItem; |
|
24 |
|
25 class T_TsStorage : public QObject, |
|
26 public MTsModelObserver |
|
27 { |
|
28 Q_OBJECT |
|
29 |
|
30 private slots: |
|
31 void testItemDataChanged(); |
|
32 void testModelDataChanged(); |
|
33 |
|
34 private: |
|
35 void dataChanged(MTsModel &/*model*/){++mNotifications;} |
|
36 void dataChanged(const TTsModelItem &/*item*/){++mNotifications;} |
|
37 |
|
38 void verifyProviders(const MTsModel &set, const TArray<MTsModel*>& providers); |
|
39 TBool isSubset(const MTsModel &set, const MTsModel& subset) const; |
|
40 |
|
41 private: |
|
42 int mNotifications; |
|
43 }; |