--- a/tsdevicedialog/tsdevicedialogplugin/inc/tsmodel.h Tue Jul 06 14:37:10 2010 +0300
+++ b/tsdevicedialog/tsdevicedialogplugin/inc/tsmodel.h Wed Aug 18 10:05:49 2010 +0300
@@ -28,7 +28,6 @@
#endif
class TsTaskMonitor;
-class ActivityManager;
class CaNotifier;
class TsModelItem;
@@ -37,13 +36,14 @@
Q_OBJECT
public:
- explicit TsModel(TsTaskMonitor &applicationSrv,
- QObject &activitySrv,
- QObject *parent = 0);
+ TsModel(TsTaskMonitor &applicationSrv,
+ QObject &activitySrv,
+ QObject *parent = 0);
~TsModel();
int rowCount(const QModelIndex &parent = QModelIndex()) const;
- QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
+ QVariant data(const QModelIndex &index,
+ int role = Qt::DisplayRole) const;
int maxRowCount()const;
public slots:
@@ -76,14 +76,11 @@
#endif
/*
- * Icon size in model
- */
- QSize mSize;
-
- /*
* Maximum number of items (only for running apps + activities)
*/
int mMaxItems;
+
+ Q_DISABLE_COPY(TsModel)
};
#endif // TSMODEL_H