phonebookui/pbkcommonui/inc/cnteditviewlistmodel.h
changeset 31 2a11b5b00470
parent 27 de1630741fbe
child 37 fd64c38c277d
equal deleted inserted replaced
27:de1630741fbe 31:2a11b5b00470
    22 #include <qtcontacts.h>
    22 #include <qtcontacts.h>
    23 #include <hbnamespace.h>
    23 #include <hbnamespace.h>
    24 
    24 
    25 #include <cnteditviewitem.h>
    25 #include <cnteditviewitem.h>
    26 #include "cntstringmapper.h"
    26 #include "cntstringmapper.h"
       
    27 #include "cntdetailpopup.h"
    27 
    28 
    28 class CntExtensionManager;
    29 class CntExtensionManager;
    29 class CntEditViewItemSupplier;
    30 class CntEditViewItemSupplier;
    30 class CntEditViewDelegateItem;
    31 class CntEditViewDelegateItem;
    31 
    32 
    80     
    81     
    81 public:
    82 public:
    82     CntEditViewItem* itemAt( const QModelIndex& aIndex ) const;
    83     CntEditViewItem* itemAt( const QModelIndex& aIndex ) const;
    83     void removeItem( CntEditViewItem* aItem, const QModelIndex& aIndex );
    84     void removeItem( CntEditViewItem* aItem, const QModelIndex& aIndex );
    84     bool isEmptyItem( CntEditViewItem* aItem );
    85     bool isEmptyItem( CntEditViewItem* aItem );
       
    86     void refreshExtensionItems( const QModelIndex& aIndex );
       
    87     void allInUseFields( CntViewIdList& aList );
    85     
    88     
    86     void refreshExtensionItems( const QModelIndex& aIndex );
       
    87 private:
    89 private:
    88     void refresh();
    90     void refresh();
    89     void loadPluginItems( CntEditViewItemSupplier* aSupplier );
    91     void loadPluginItems( CntEditViewItemSupplier* aSupplier );
    90     
    92     
    91     void insertItem( KLookupKey aKey, QList<CntEditViewItem*> aList );
    93     void insertItem( KLookupKey aKey, QList<CntEditViewItem*> aList );