cmmanager/cpdestinationplugin/inc/cpdestinationentryitem.h
changeset 46 95d45f234cf3
parent 20 9c97ad6591ae
equal deleted inserted replaced
27:489cf6208544 46:95d45f234cf3
    61     void destChanged();
    61     void destChanged();
    62     
    62     
    63 public slots:
    63 public slots:
    64     void updateDestinationView();
    64     void updateDestinationView();
    65     void showItemMenu(QPointF position);
    65     void showItemMenu(QPointF position);
       
    66     void openDestination();
    66     void renameDestination();
    67     void renameDestination();
    67     void confirmDestinationDelete();
    68     void confirmDestinationDelete();
    68     void deleteDestination();
    69     void deleteDestination();
    69     void activateArrangeMode();
    70     void activateArrangeMode();
    70     void viewDone();
    71     void viewDone();
    71     void viewCancel();
    72     void viewCancel();
    72     void updateIndex(HbListWidgetItem *widgetItem);
    73     void updateIndex();
    73     void saveNewDestinationName();
    74     void saveNewDestinationName();
    74     
    75     
    75 protected:
    76 protected:
       
    77     bool eventFilter(QObject *obj, QEvent *event);
    76     
    78     
    77 protected slots:
    79 protected slots:
    78     
    80     
    79 private:
    81 private:
    80     virtual CpBaseSettingView *createSettingView() const;
    82     virtual CpBaseSettingView *createSettingView() const;
    87         CMManagerShim::CmmProtectionLevel protLvl,
    89         CMManagerShim::CmmProtectionLevel protLvl,
    88         const QPointF position);
    90         const QPointF position);
    89     void lauchNewDestinationNameQuery();
    91     void lauchNewDestinationNameQuery();
    90     void showRenameError(const QString &info);
    92     void showRenameError(const QString &info);
    91     void showErrorNote(const QString &info);
    93     void showErrorNote(const QString &info);
       
    94     QString resolveApIcon(QSharedPointer<CmConnectionMethodShim> cm) const; 
    92             
    95             
    93 private slots:
    96 private slots:
    94     
    97     
    95 private: // data
    98 private: // data
    96     
    99     
   110     HbListWidget        *mList;
   113     HbListWidget        *mList;
   111     //! New Destination name query dialog
   114     //! New Destination name query dialog
   112     HbInputDialog      *mDialog;
   115     HbInputDialog      *mDialog;
   113     //! New Destination name query's OK action
   116     //! New Destination name query's OK action
   114     HbAction           *mOkAction;
   117     HbAction           *mOkAction;
   115     
       
   116     //! Maximun length for destination name
       
   117     static const int DestinationNameMaxLength = 30;
       
   118 };
   118 };
   119 
   119 
   120 #endif /* CPDESTINATIONENTRYITEM_H */
   120 #endif /* CPDESTINATIONENTRYITEM_H */