Freeciv-3.2: production_item Class Reference

Freeciv-3.2

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

`#include <citydlg.h>`

Inheritance diagram for production_item:

## Public Member Functions

| production_item (struct universal *ptarget, QObject *parent)
| ~production_item ()
int | columnCount () const
QVariant | data () const
bool | setData ()

## Private Attributes

struct universal * | target

## Detailed Description

Definition at line 328 of file citydlg.h.

## Constructor & Destructor Documentation

## ◆ production_item()

production_item::production_item | ( | struct universal * | ptarget,
|  | QObject * | parent
| ) |  |

Production item constructor

Definition at line 4225 of file citydlg.cpp.

## ◆ ~production_item()

production_item::~production_item | ( |  | ) |

Production item destructor

Definition at line 4235 of file citydlg.cpp.

## Member Function Documentation

## ◆ columnCount()

int production_item::columnCount | ( |  | ) | const

inline

Definition at line 335 of file citydlg.h.

## ◆ data()

QVariant production_item::data | ( |  | ) | const

Returns stored data

Definition at line 4246 of file citydlg.cpp.

## ◆ setData()

bool production_item::setData | ( |  | ) |

Sets data for item, must be declared.

Definition at line 4254 of file citydlg.cpp.

## Field Documentation

## ◆ target

struct universal* production_item::target

private

Definition at line 342 of file citydlg.h.

Referenced by data(), production_item(), and ~production_item().