Freeciv-3.1: /fast/freeciv/nightly/S3_1/tools/ruledit/req_vec_fix.h File Reference

Freeciv-3.1

Loading...
Searching...
No Matches
Data Structures | Enumerations | Functions
req_vec_fix.h File Reference
`#include <QWidget>`
`#include "requirements.h"`

Go to the source code of this file.

## Data Structures

class | req_vec_fix_item
class | req_vec_fix_problem
class | req_vec_fix

## Enumerations

enum | req_vec_problem_seriousness { RVPS_NO_PROBLEM , RVPS_IMPROVE , RVPS_REPAIR }

## Functions

void | mark_item (QListWidgetItem *item, enum req_vec_problem_seriousness problem_level)

## Enumeration Type Documentation

## ◆ req_vec_problem_seriousness

enum req_vec_problem_seriousness

Enumerator
RVPS_NO_PROBLEM |
RVPS_IMPROVE |
RVPS_REPAIR |

Definition at line 35 of file req_vec_fix.h.

## Function Documentation

## ◆ mark_item()

void mark_item | ( | QListWidgetItem * | item,
|  | enum req_vec_problem_seriousness | problem_level
| ) |  |

Mark a ruleset item in a list as having a problem.

Parameters

  item | the ruleset item's representation in the list.
  problem_level | how serious the problem, if it exists at all, is.

Definition at line 36 of file req_vec_fix.cpp.

Referenced by tab_enabler::refresh(), and tab_enabler::update_enabler_info().