KDb
KDbTableViewData.h
79 void setSorting(int column, KDbOrderByColumn::SortOrder order = KDbOrderByColumn::SortOrder::Ascending);
Structure for storing single record with type information.
Definition KDbRecordData.h:37
provides data for single edited database record
Definition KDbRecordEditBuffer.h:77
Definition KDbError.h:115
A list of records to allow configurable sorting and more.
Definition KDbTableViewData.h:46
bool deleteRecord(KDbRecordData *record, bool repaint=false)
Definition KDbTableViewData.cpp:790
virtual bool isInsertingEnabled() const
Definition KDbTableViewData.cpp:495
int visibleColumnCount() const
Definition KDbTableViewData.cpp:460
bool updateRecordEditBuffer(KDbRecordData *record, int colnum, KDbTableViewColumn *col, const QVariant &newval, bool allowSignals=true)
Definition KDbTableViewData.cpp:641
QList< KDbTableViewColumn * > * visibleColumns()
Definition KDbTableViewData.cpp:470
void setSorting(int column, KDbOrderByColumn::SortOrder order=KDbOrderByColumn::SortOrder::Ascending)
Definition KDbTableViewData.cpp:527
bool updateRecordEditBufferRef(KDbRecordData *record, int colnum, KDbTableViewColumn *col, QVariant *newval, bool allowSignals=true, QVariant *visibleValueForLookupField=nullptr)
Definition KDbTableViewData.cpp:594
void aboutToInsertRecord(KDbRecordData *record, KDbResultInfo *result, bool repaint)
void addColumn(KDbTableViewColumn *col)
Definition KDbTableViewData.cpp:399
int globalIndexOfVisibleColumn(int visibleIndex) const
Definition KDbTableViewData.cpp:445
void aboutToChangeCell(KDbRecordData *record, int colnum, QVariant *newValue, KDbResultInfo *result)
KDbTableViewColumn * visibleColumn(int index)
Definition KDbTableViewData.cpp:480
KDbOrderByColumn::SortOrder sortOrder() const
Definition KDbTableViewData.cpp:554
void recordInserted(KDbRecordData *, bool repaint)
A record has been inserted.
virtual void clearInternal(bool processEvents=true)
Definition KDbTableViewData.cpp:845
void aboutToUpdateRecord(KDbRecordData *record, KDbRecordEditBuffer *buffer, KDbResultInfo *result)
void recordInserted(KDbRecordData *, int index, bool repaint)
A record has been inserted at index position (not db-aware data only)
void aboutToDeleteRecord(KDbRecordData *record, KDbResultInfo *result, bool repaint)
void insertRecord(KDbRecordData *record, int index, bool repaint=false)
Definition KDbTableViewData.cpp:839
void clearRecordEditBuffer()
Definition KDbTableViewData.cpp:585
QList< KDbTableViewColumn * > * columns()
Definition KDbTableViewData.cpp:465
virtual bool deleteAllRecords(bool repaint=false)
Definition KDbTableViewData.cpp:862
int visibleColumnIndex(int globalIndex) const
Definition KDbTableViewData.cpp:450
void recordsDeleted(const QList< int > &recordsToDelete)
Records have been deleted.
void columnVisibilityChanged(const KDbTableViewColumn &column)
Used by KDbTableViewColumn::setVisible()
Definition KDbTableViewData.cpp:416
void reloadRequested()
Displayed data needs to be reloaded in all presenters.
int autoIncrementedColumn() const
Definition KDbTableViewData.cpp:877
void deleteRecords(const QList< int > &recordsToDelete, bool repaint=false)
Definition KDbTableViewData.cpp:820
KDbRecordEditBuffer * recordEditBuffer() const
Definition KDbTableViewData.cpp:500
virtual void setInsertingEnabled(bool set)
Definition KDbTableViewData.cpp:576
typedef ConstIterator
typedef Iterator
QList()
void append(QList< T > &&value)
const_reference at(qsizetype i) const const
iterator begin()
const_iterator constBegin() const const
const_iterator constEnd() const const
qsizetype count() const const
iterator end()
T & first()
qsizetype indexOf(const AT &value, qsizetype from) const const
bool isEmpty() const const
T & last()
void prepend(parameter_type value)
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
void deleteLater()
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:48:14 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:48:14 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.