}
/*!
- \internal
-*/
-void QTableWidget::setSortingEnabled(bool enable)
-{
- QTableView::setSortingEnabled(enable);
-}
-
-/*!
- \internal
-*/
-bool QTableWidget::isSortingEnabled() const
-{
- return QTableView::isSortingEnabled();
-}
-
-/*!
Starts editing the \a item if it is editable.
*/
Q_ASSERT(!"QTableWidget::setModel() - Changing the model of the QTableWidget is not allowed.");
}
-/*! \reimp */
-bool QTableWidget::event(QEvent *e)
-{
- return QTableView::event(e);
-}
-
#ifndef QT_NO_DRAGANDDROP
/*! \reimp */
void QTableWidget::dropEvent(QDropEvent *event) {
void setCurrentCell(int row, int column, QItemSelectionModel::SelectionFlags command);
void sortItems(int column, Qt::SortOrder order = Qt::AscendingOrder);
- void setSortingEnabled(bool enable);
- bool isSortingEnabled() const;
void editItem(QTableWidgetItem *item);
void openPersistentEditor(QTableWidgetItem *item);
void currentCellChanged(int currentRow, int currentColumn, int previousRow, int previousColumn);
protected:
- bool event(QEvent *e);
virtual QStringList mimeTypes() const;
virtual QMimeData *mimeData(const QList<QTableWidgetItem*> items) const;
virtual bool dropMimeData(int row, int column, const QMimeData *data, Qt::DropAction action);