src/hbwidgets/dataform/hbdataformviewitem_p.h
changeset 6 c3690ec91ef8
parent 5 627c4a0fd0e7
equal deleted inserted replaced
5:627c4a0fd0e7 6:c3690ec91ef8
    91     virtual bool event( QEvent * e ); 
    91     virtual bool event( QEvent * e ); 
    92 
    92 
    93 public slots:
    93 public slots:
    94     void updateModel( int index );
    94     void updateModel( int index );
    95     void buttonClicked();
    95     void buttonClicked();
    96     void dialogClosed(HbAction* action);
    96     void dialogClosed(int code);
    97     void makeEmbedded();
    97     void makeEmbedded();
    98     void makePopup();
    98     void makePopup();
    99     void changeMode();
    99     void changeMode();
   100     void selectItem();
   100     void selectItem();
   101     void resetSelection();
   101     void resetSelection();
   102 signals:
   102 signals:
   103     void valueChanged(QPersistentModelIndex, QVariant);
   103     void valueChanged(QPersistentModelIndex, QVariant);
   104     void itemSelected(int index);
   104     
   105     void startPreview(int index);
       
   106     //popup signals
   105     //popup signals
   107     void finished(HbAction*);
   106     void finished(HbAction*);
   108     void aboutToShow();
   107     void aboutToShow();
   109     void aboutToHide();
   108     void aboutToHide();
   110     void aboutToClose(); 
   109     void aboutToClose(); 
   134 protected:
   133 protected:
   135     virtual bool event( QEvent * e ); 
   134     virtual bool event( QEvent * e ); 
   136 
   135 
   137 public slots:
   136 public slots:
   138     void launchMultiSelectionList( );
   137     void launchMultiSelectionList( );
   139     void dialogClosed(HbAction*);
   138     void dialogClosed(int code);
   140     void updateModel( const QItemSelection & selected, const QItemSelection &deselected );
   139     void updateModel( const QItemSelection & selected, const QItemSelection &deselected );
   141     void makeEmbedded();
   140     void makeEmbedded();
   142     void makePopup();
   141     void makePopup();
   143     void changeMode();
   142     void changeMode();
   144     void makeSelection();
   143     void makeSelection();
   193     QString icon( ) const;
   192     QString icon( ) const;
   194     void setDescription( const QString& description );
   193     void setDescription( const QString& description );
   195     QString description() const;
   194     QString description() const;
   196     void updateData();
   195     void updateData();
   197 
   196 
   198     void setEnabled(bool enabled);
   197     virtual void setEnabled(bool enabled);
   199 public:
   198 public:
   200     static HbDataFormViewItemPrivate *d_ptr(HbDataFormViewItem *item) {
   199     static HbDataFormViewItemPrivate *d_ptr(HbDataFormViewItem *item) {
   201         Q_ASSERT(item);
   200         Q_ASSERT(item);
   202         return item->d_func();
   201         return item->d_func();
   203     }
   202     }