src/gui/widgets/qcombobox_p.h
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
child 7 f7bc934e204c
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
   229     QPoint initialClickPosition;
   229     QPoint initialClickPosition;
   230 
   230 
   231 public Q_SLOTS:
   231 public Q_SLOTS:
   232     void scrollItemView(int action);
   232     void scrollItemView(int action);
   233     void updateScrollers();
   233     void updateScrollers();
   234     void setCurrentIndex(const QModelIndex &index);
       
   235     void viewDestroyed();
   234     void viewDestroyed();
   236 
   235 
   237 protected:
   236 protected:
   238     void changeEvent(QEvent *e);
   237     void changeEvent(QEvent *e);
   239     bool eventFilter(QObject *o, QEvent *e);
   238     bool eventFilter(QObject *o, QEvent *e);
   341     QComboBoxPrivate();
   340     QComboBoxPrivate();
   342     ~QComboBoxPrivate() {}
   341     ~QComboBoxPrivate() {}
   343     void init();
   342     void init();
   344     QComboBoxPrivateContainer* viewContainer();
   343     QComboBoxPrivateContainer* viewContainer();
   345     void updateLineEditGeometry();
   344     void updateLineEditGeometry();
       
   345     Qt::MatchFlags matchFlags() const;
       
   346     void _q_editingFinished();
   346     void _q_returnPressed();
   347     void _q_returnPressed();
   347     void _q_complete();
   348     void _q_complete();
   348     void _q_itemSelected(const QModelIndex &item);
   349     void _q_itemSelected(const QModelIndex &item);
   349     bool contains(const QString &text, int role);
   350     bool contains(const QString &text, int role);
   350     void emitActivated(const QModelIndex&);
   351     void emitActivated(const QModelIndex&);
   355 #ifdef QT_KEYPAD_NAVIGATION
   356 #ifdef QT_KEYPAD_NAVIGATION
   356     void _q_completerActivated();
   357     void _q_completerActivated();
   357 #endif
   358 #endif
   358     void _q_resetButton();
   359     void _q_resetButton();
   359     void _q_dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight);
   360     void _q_dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight);
   360     void _q_rowsAboutToBeInserted(const QModelIndex & parent, int start, int end);
   361     void _q_updateIndexBeforeChange();
   361     void _q_rowsInserted(const QModelIndex & parent, int start, int end);
   362     void _q_rowsInserted(const QModelIndex & parent, int start, int end);
   362     void _q_rowsAboutToBeRemoved(const QModelIndex & parent, int start, int end);
       
   363     void _q_rowsRemoved(const QModelIndex & parent, int start, int end);
   363     void _q_rowsRemoved(const QModelIndex & parent, int start, int end);
   364     void updateArrow(QStyle::StateFlag state);
   364     void updateArrow(QStyle::StateFlag state);
   365     bool updateHoverControl(const QPoint &pos);
   365     bool updateHoverControl(const QPoint &pos);
   366     QRect popupGeometry(int screen = -1) const;
   366     QRect popupGeometry(int screen = -1) const;
   367     QStyle::SubControl newHoverControl(const QPoint &pos);
   367     QStyle::SubControl newHoverControl(const QPoint &pos);