Freeciv-3.1
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 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 4238 of file citydlg.cpp.

◆ ~production_item()

production_item::~production_item ( )

Production item destructor

Definition at line 4248 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 4259 of file citydlg.cpp.

◆ setData()

bool production_item::setData ( )

Sets data for item, must be declared.

Definition at line 4267 of file citydlg.cpp.

Referenced by city_production_model::setData().

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().