CloneTasksTableModel::CloneTasksTableModel(QObject *parent)
    : QAbstractTableModel(parent)
{
    update_timer_ = new QTimer(this);
    connect(update_timer_, SIGNAL(timeout()), this, SLOT(updateTasks()));
    update_timer_->start(kUpdateTasksInterval);

    updateTasks();
}
示例#2
0
void TaskManager::refreshData()
{
    updateTasks();
    updateMissingCalls();
    updateTimeTable();
}
示例#3
0
void FlyServer::setTasks(QList<FlyTask *> tasks)
{
    _tasks = tasks;
    emit updateTasks();
}