Freeciv-3.1: /fast/freeciv/nightly/S3_1/tools/ruledit/tab_enablers.cpp File Reference

Freeciv-3.1

Loading...
Searching...
No Matches
Data Structures | Functions
tab_enablers.cpp File Reference
`#include <QGridLayout>`
`#include <QLineEdit>`
`#include <QListWidget>`
`#include <QMenu>`
`#include <QMessageBox>`
`#include <QPushButton>`
`#include <QToolButton>`
`#include "fcintl.h"`
`#include "log.h"`
`#include "game.h"`
`#include "government.h"`
`#include "ruledit.h"`
`#include "ruledit_qt.h"`
`#include "validity.h"`
`#include "tab_enablers.h"`

Go to the source code of this file.

## Data Structures

class | fix_enabler_item

## Functions

static enum req_vec_problem_seriousness | enabler_problem_level (struct action_enabler *enabler)

## Function Documentation

## ◆ enabler_problem_level()

static enum req_vec_problem_seriousness enabler_problem_level | ( | struct action_enabler * | enabler | ) |

static

Returns how big a problem an action enabler has.

Parameters

  enabler | the enabler to check the problem size for

Returns
  how serious a problem the enabler has

Definition at line 72 of file tab_enablers.cpp.

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