Freeciv-3.3: city_report Class Reference

Freeciv-3.3

Loading...
Searching...
No Matches
Public Member Functions | Private Attributes
city_report Class Reference

`#include <cityrep.h>`

Inheritance diagram for city_report:

## Public Member Functions

| city_report ()
| ~city_report ()
void | update_report ()
void | update_city (struct city *pcity)
void | init ()

## Private Attributes

city_widget * | city_wdg
QVBoxLayout * | layout
int | index

## Detailed Description

Definition at line 202 of file cityrep.h.

## Constructor & Destructor Documentation

## ◆ city_report()

city_report::city_report | ( |  | ) |

Constructor for city report

Definition at line 1225 of file cityrep.cpp.

## ◆ ~city_report()

city_report::~city_report | ( |  | ) |

Destructor for city report

Definition at line 1240 of file cityrep.cpp.

## Member Function Documentation

## ◆ init()

void city_report::init | ( |  | ) |

Inits place in game tab widget

Definition at line 1248 of file cityrep.cpp.

Referenced by city_report_dialog_popup().

## ◆ update_city()

void city_report::update_city | ( | struct city * | pcity | ) |

Updates single city

Definition at line 1266 of file cityrep.cpp.

Referenced by real_city_report_update_city().

## ◆ update_report()

void city_report::update_report | ( |  | ) |

Updates whole report

Definition at line 1258 of file cityrep.cpp.

Referenced by city_report_dialog_popup(), and real_city_report_dialog_update().

## Field Documentation

## ◆ city_wdg

city_widget* city_report::city_wdg

private

Definition at line 205 of file cityrep.h.

Referenced by city_report(), update_city(), and update_report().

## ◆ index

int city_report::index

private

Definition at line 214 of file cityrep.h.

Referenced by init().

## ◆ layout

QVBoxLayout* city_report::layout

private

Definition at line 206 of file cityrep.h.

Referenced by city_report().