Freeciv-3.2
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes
plr_item Class Reference

#include <plrdlg.h>

+ Inheritance diagram for plr_item:

Public Member Functions

 plr_item (struct player *pplayer)
 
int columnCount () const
 
QVariant data (int column, int role=Qt::DisplayRole) const
 
bool setData (int column, const QVariant &value, int role=Qt::DisplayRole)
 

Private Attributes

struct playeripplayer
 

Detailed Description

Definition at line 67 of file plrdlg.h.

Constructor & Destructor Documentation

◆ plr_item()

plr_item::plr_item ( struct player pplayer)

Constructor for plr_item

Definition at line 143 of file plrdlg.cpp.

Member Function Documentation

◆ columnCount()

int plr_item::columnCount ( ) const
inline

Definition at line 72 of file plrdlg.h.

◆ data()

QVariant plr_item::data ( int  column,
int  role = Qt::DisplayRole 
) const

Returns data from item

Definition at line 159 of file plrdlg.cpp.

◆ setData()

bool plr_item::setData ( int  column,
const QVariant value,
int  role = Qt::DisplayRole 
)

Sets data for plr_item (not used)

Definition at line 151 of file plrdlg.cpp.

Field Documentation

◆ ipplayer

struct player* plr_item::ipplayer
private

Definition at line 76 of file plrdlg.h.

Referenced by data(), and plr_item().