|
| AListModel (const self &s) |
|
| AListModel (self &&s) noexcept |
|
| AListModel (AVector< StoredType > &&vector) noexcept |
|
AListModel & | operator= (AVector< StoredType > &&rhs) noexcept |
|
void | setItem (const AListModelIndex &item, const StoredType &value) override |
|
bool | empty () const noexcept |
|
void | reserve (size_t s) noexcept |
|
void | resize (size_t s) noexcept |
|
iterator | erase (iterator begin) noexcept |
|
iterator | erase (iterator begin, iterator end) noexcept |
|
void | push_back (const StoredType &data) |
|
void | push_back (StoredType &&data) |
|
const_iterator | insert (const_iterator at, StoredType data) |
|
void | pop_back () noexcept |
|
AListModel & | operator<< (const StoredType &data) |
|
AListModel & | operator<< (StoredType &&data) |
|
size_t | listSize () override |
|
StoredType | listItemAt (const AListModelIndex &index) override |
|
void | invalidate (size_t index) |
|
void | invalidate (iterator index) |
|
void | clear () noexcept |
|
void | removeItems (const AListModelRange< StoredType > &items) override |
|
void | removeItem (const AListModelIndex &item) override |
|
size_t | size () const noexcept |
|
const StoredType & | at (size_t index) const |
|
StoredType & | at (size_t index) |
|
const StoredType & | operator[] (size_t index) const |
|
void | removeAt (size_t index) noexcept |
|
const_iterator | begin () const |
|
const_iterator | end () const |
|
iterator | begin () |
|
iterator | end () |
|
template<typename UnaryOperation> |
auto | map (UnaryOperation &&transformer) |
|
const AVector< StoredType > & | toVector () noexcept |
|
virtual void | removeItems (const AListModelSelection< StoredType > &items) |
|
AListModelRange< StoredType > | range (const AListModelIndex &begin, const AListModelIndex &end) |
|
AListModelRange< StoredType > | range (const AListModelIndex &item) |
|
AVector< StoredType > | toVector () noexcept |
|
AVector< AListModelRange< StoredType > > | rangesIncluding (Filter &&filter) |
|
_< AObject > | sharedPtr () |
|
_weak< AObject > | weakPtr () |
|
template<typename Connectable, ACompatibleSlotFor< Connectable > Function> |
void | connect (const Connectable &connectable, Function &&function) |
| Connects signal or property to slot of "this" object.
|
|
void | setSignalsEnabled (bool enabled) |
|
bool | isSignalsEnabled () const noexcept |
|
template<ASignalInvokable T> |
void | operator^ (T &&t) |
|
_< AAbstractThread > | getThread () const |
|
bool | isSlotsCallsOnlyOnMyThread () const noexcept |
|
void | setSlotsCallsOnlyOnMyThread (bool slotsCallsOnlyOnMyThread) |
|
| AObjectBase (AObjectBase &&rhs) noexcept |
|
void | clearSignals () noexcept |
|
| noncopyable (const noncopyable &)=delete |
|
noncopyable & | operator= (const noncopyable &)=delete |
|
|
template<typename V> |
static _< AListModel< StoredType > > | make (const std::initializer_list< V > &t) |
|
template<typename V> |
static _< AListModel< StoredType > > | fromVector (AVector< V > t) |
|
template<typename V> |
static _< AListModel< StoredType > > | fromVector (std::vector< V > t) |
|
static void | disconnect () |
|
template<AAnySignal Signal, aui::derived_from< AObjectBase > Object, ACompatibleSlotFor< Signal > Function> |
static void | connect (const Signal &signal, Object *object, Function &&function) |
| Connects signal to the slot of the specified object.
|
|
template<AAnyProperty Property, aui::derived_from< AObjectBase > Object, typename Function> |
static void | connect (const Property &property, Object *object, Function &&function) |
| Connects property to the slot of the specified object.
|
|
template<APropertyReadable PropertySource, APropertyWritable PropertyDestination>
requires requires { { *propertySource } -> aui::convertible_to<std::decay_t<decltype(*propertyDestination)>>; } |
static void | connect (PropertySource &&propertySource, PropertyDestination &&propertyDestination) |
| Connects source property to the destination property.
|
|
template<APropertyWritable PropertySource, APropertyWritable PropertyDestination>
requires requires { { *propertySource } -> aui::convertible_to<std::decay_t<decltype(*propertyDestination)>>; { *propertyDestination } -> aui::convertible_to<std::decay_t<decltype(*propertySource)>>; } |
static void | biConnect (PropertySource &&propertySource, PropertyDestination &&propertyDestination) |
| Connects source property to the destination property and opposite (bidirectionally).
|
|
template<AAnySignalOrProperty Connectable, aui::derived_from< AObjectBase > Object, ACompatibleSlotFor< Connectable > Function> |
static void | connect (const Connectable &connectable, Object &object, Function &&function) |
| Connects signal or property to the slot of the specified object.
|
|
template<AAnySignalOrProperty Connectable, aui::derived_from< AObjectBase > Object, ACompatibleSlotFor< Connectable > Function> |
static void | connect (const Connectable &connectable, _< Object > object, Function &&function) |
| Connects signal or property to the slot of the specified object.
|
|
template<AAnySignalOrProperty Connectable, aui::derived_from< AObjectBase > Object, typename Function> |
static void | connect (const Connectable &connectable, ASlotDef< Object *, Function > slotDef) |
| Connects signal to the slot of the specified object. Slot is packed to single argument.
|
|
template<AAnyProperty Property, typename Object, ACompatibleSlotFor< Property > Function>
requires (!aui::derived_from<Object, AObject>) |
static void | connect (const Property &property, _< Object > object, Function &&function) |
| Connects signal or property to the slot of the specified non-AObject type.
|
|
static void | moveToThread (aui::no_escape< AObject > object, _< AAbstractThread > thread) |
|