diff -r 1c556dee8eb1 -r eb6690d0d439 remotemgmt_plat/syncml_ds_customization_api/tsrc/SyncFwCustomizer/customlistview.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remotemgmt_plat/syncml_ds_customization_api/tsrc/SyncFwCustomizer/customlistview.h Thu Aug 19 17:35:34 2010 +0530 @@ -0,0 +1,53 @@ +/* +* 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 CUSTOMLISTVIEW_H_ +#define CUSTOMLISTVIEW_H_ + +#include +#include + +class HbListWidget; + +class CustomListView : public HbView +{ + Q_OBJECT + +public: + CustomListView( QGraphicsItem *parent=0 ); + virtual ~CustomListView() {}; + +public slots: + void editItem(); + void saveKeyItems(); + void listSyncProfiles(); + void syncNow(); + void resetItem(); + void resetAll(); + void handleEditItem(HbAction* action); + void startSync(HbAction* action); + +protected: + void populateModel(); + void createMenu(); + +protected: + HbListWidget* mWidget; + +}; + +#endif /* CUSTOMLISTVIEW_H_*/