Freeciv21
Develop your civilization from humble roots to a global empire
endgame_report Class Reference

#include <endgamereport.h>

+ Inheritance diagram for endgame_report:
+ Collaboration diagram for endgame_report:

Public Member Functions

 endgame_report (const struct packet_endgame_report *packet)
 Constructor for endgame report. More...
 
 ~endgame_report () override
 Destructor for endgame report. More...
 
void update_report (const struct packet_endgame_player *packet)
 Refresh all widgets for economy report. More...
 
void init ()
 Initializes place in tab for endgame report. More...
 

Private Attributes

QTableWidget * end_widget
 
int index
 
int players
 

Detailed Description

Definition at line 24 of file endgamereport.h.

Constructor & Destructor Documentation

◆ endgame_report()

endgame_report::endgame_report ( const struct packet_endgame_report *  packet)

Constructor for endgame report.

Definition at line 26 of file endgamereport.cpp.

◆ ~endgame_report()

endgame_report::~endgame_report ( )
override

Destructor for endgame report.

Definition at line 58 of file endgamereport.cpp.

Member Function Documentation

◆ init()

void endgame_report::init ( )

Initializes place in tab for endgame report.

Definition at line 66 of file endgamereport.cpp.

Referenced by endgame_report_dialog_start().

◆ update_report()

void endgame_report::update_report ( const struct packet_endgame_player *  packet)

Refresh all widgets for economy report.

Definition at line 74 of file endgamereport.cpp.

Referenced by endgame_report_dialog_player().

Member Data Documentation

◆ end_widget

QTableWidget* endgame_report::end_widget
private

Definition at line 26 of file endgamereport.h.

Referenced by endgame_report(), and update_report().

◆ index

int endgame_report::index
private

Definition at line 35 of file endgamereport.h.

Referenced by endgame_report(), and init().

◆ players

int endgame_report::players
private

Definition at line 36 of file endgamereport.h.

Referenced by endgame_report(), and update_report().