LeechCraft  0.6.70-18450-gabe19ee3b0
Modular cross-platform feature rich live environment.
LC::Util::ProgressModelRow Class Referencefinal

#include "progressmanager.h"

Public Member Functions

 ProgressModelRow (ProgressManager &, const QModelIndex &)
 
 ~ProgressModelRow ()
 
void Disengage ()
 
void SetDone (qint64)
 
void SetTotal (qint64)
 
void ChangeTotalBy (qint64 delta)
 
void SetState (ProcessState state, QString customText={})
 
void SetCustomData (const QVariant &)
 
void operator++ ()
 

Detailed Description

Definition at line 20 of file progressmanager.h.

Constructor & Destructor Documentation

◆ ProgressModelRow()

LC::Util::ProgressModelRow::ProgressModelRow ( ProgressManager model,
const QModelIndex &  index 
)
explicit

Definition at line 13 of file progressmanager.cpp.

◆ ~ProgressModelRow()

LC::Util::ProgressModelRow::~ProgressModelRow ( )

Definition at line 19 of file progressmanager.cpp.

References LC::Util::FlatItemsModelTypedBase< T >::RemoveItem().

+ Here is the call graph for this function:

Member Function Documentation

◆ ChangeTotalBy()

void LC::Util::ProgressModelRow::ChangeTotalBy ( qint64  delta)

Definition at line 42 of file progressmanager.cpp.

References LC::Util::FlatItemsModelTypedBase< T >::GetItems(), and LC::Util::RoledItemsModel< T >::SetField().

+ Here is the call graph for this function:

◆ Disengage()

void LC::Util::ProgressModelRow::Disengage ( )

Definition at line 25 of file progressmanager.cpp.

◆ operator++()

void LC::Util::ProgressModelRow::operator++ ( )

Definition at line 66 of file progressmanager.cpp.

References LC::Util::FlatItemsModelTypedBase< T >::GetItems(), and LC::Util::RoledItemsModel< T >::SetField().

+ Here is the call graph for this function:

◆ SetCustomData()

void LC::Util::ProgressModelRow::SetCustomData ( const QVariant &  data)

Definition at line 60 of file progressmanager.cpp.

References LC::Util::FlatItemsModelTypedBase< T >::GetMutItems().

+ Here is the call graph for this function:

◆ SetDone()

void LC::Util::ProgressModelRow::SetDone ( qint64  done)

Definition at line 30 of file progressmanager.cpp.

References LC::Util::RoledItemsModel< T >::SetField().

+ Here is the call graph for this function:

◆ SetState()

void LC::Util::ProgressModelRow::SetState ( ProcessState  state,
QString  customText = {} 
)

Definition at line 51 of file progressmanager.cpp.

References LC::Util::RoledItemsModel< T >::SetFields().

+ Here is the call graph for this function:

◆ SetTotal()

void LC::Util::ProgressModelRow::SetTotal ( qint64  total)

Definition at line 36 of file progressmanager.cpp.

References LC::Util::RoledItemsModel< T >::SetField().

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: