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 universaltarget
 

Detailed Description

Definition at line 329 of file citydlg.h.

Constructor & Destructor Documentation

◆ production_item()

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

Production item constructor

Definition at line 4339 of file citydlg.cpp.

◆ ~production_item()

production_item::~production_item ( )

Production item destructor

Definition at line 4349 of file citydlg.cpp.

Member Function Documentation

◆ columnCount()

int production_item::columnCount ( ) const
inline

Definition at line 336 of file citydlg.h.

◆ data()

QVariant production_item::data ( ) const

Returns stored data

Definition at line 4360 of file citydlg.cpp.

◆ setData()

bool production_item::setData ( )

Sets data for item, must be declared.

Definition at line 4368 of file citydlg.cpp.

Field Documentation

◆ target

struct universal* production_item::target
private

Definition at line 343 of file citydlg.h.

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