taskswitcherapp/tsdevicedialogplugin/inc/tsdevicedialogplugin.h
branchGCC_SURGE
changeset 68 4c11ecddf6b2
parent 53 f75922b9e380
parent 61 2b1b11a301d2
--- a/taskswitcherapp/tsdevicedialogplugin/inc/tsdevicedialogplugin.h	Fri Jun 11 16:23:43 2010 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,64 +0,0 @@
-/*
-* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-#ifndef TSDEVICEDIALOGPLUGIN_H
-#define TSDEVICEDIALOGPLUGIN_H
-
-#include <hbdevicedialogplugin.h>
-
-#include <QObject>
-#include <QVariantMap>
-#include <QSharedPointer>
-#include <qabstractitemmodel.h>
-
-#include "tsdocumentloader.h"
-
-class CaService;
-class TsDeviceDialogPlugin : public HbDeviceDialogPlugin
-{
-    Q_OBJECT
-
-public:
-    TsDeviceDialogPlugin();
-    ~TsDeviceDialogPlugin();
-
-    bool accessAllowed(const QString &deviceDialogType, const QVariantMap &parameters, const QVariantMap &securityInfo) const;
-    HbDeviceDialogInterface *createDeviceDialog(const QString &deviceDialogType, const QVariantMap &parameters);
-    bool deviceDialogInfo(const QString &deviceDialogType, const QVariantMap &parameters, DeviceDialogInfo *info) const;
-    QStringList deviceDialogTypes() const;
-    PluginFlags pluginFlags() const;
-    int error() const;
-
-private slots:
-    void activated(QModelIndex index);
-    void pressed();
-    void longPressed();
-
-signals:
-    void activate(QModelIndex);
-
-private:
-    int mError;
-    TsDocumentLoader mLoader;
-    QAbstractListModel *mModel;
-    QSharedPointer<CaService> mStorage;
-    bool mLongPressed;
-
-    Q_DISABLE_COPY(TsDeviceDialogPlugin)
-};
-
-#endif // TSDEVICEDIALOGPLUGIN_H