maintable.cpp
std::string MainTable::current_method(){
    if(this->ui->FIFOMethod->isChecked()){
        return "FIFO";
    }
    else if(this->ui->LIFOMethod->isChecked()){
        return "LIFO";
    }
    else if(this->ui->LRUMethod->isChecked()){
        return "LRU";
    }
    else if(this->ui->LFUMethod->isChecked()){
        return "LFU";
    }
    return "RANDOM";
}
//Return selected method. Random will be the "default"
Return selected method. Random will be the "default"
Return selected method . Random will be the " default "
std::string MainTable::current_method(){
    if(this->ui->FIFOMethod->isChecked()){
        return "FIFO";
    }
    else if(this->ui->LIFOMethod->isChecked()){
        return "LIFO";
    }
    else if(this->ui->LRUMethod->isChecked()){
        return "LRU";
    }
    else if(this->ui->LFUMethod->isChecked()){
        return "LFU";
    }
    return "RANDOM";
}
std :: string MainTable :: current_method ( ) { if ( this -> ui -> FIFOMethod -> isChecked ( ) ) { return " " ; } else if ( this -> ui -> LIFOMethod -> isChecked ( ) ) { return " " ; } else if ( this -> ui -> LRUMethod -> isChecked ( ) ) { return " " ; } else if ( this -> ui -> LFUMethod -> isChecked ( ) ) { return " " ; } return " " ; }
Return selected method.
Return selected method .