Project

General

Profile

Bug #626 ยป 0081-Correct-contructor-to-constructor.patch

Marko Lindqvist, 05/16/2024 03:36 AM

View differences:

client/gui-qt/dialogs.cpp
}
/***********************************************************************//**
Disband Message box contructor
Disband Message box constructor
***************************************************************************/
disband_box::disband_box(struct unit_list *punits,
QWidget *parent) : hud_message_box(parent)
......
}
/***********************************************************************//**
Contructor for units_select
Constructor for units_select
***************************************************************************/
units_select::units_select(tile *ptile, QWidget *parent)
{
client/gui-qt/fc_client.cpp
}
/************************************************************************//**
Contructor for corner widget (used for menubar)
Constructor for corner widget (used for menubar)
****************************************************************************/
fc_corner::fc_corner(QMainWindow *qmw): QWidget()
{
......
}
/************************************************************************//**
Pregame options contructor
Pregame options constructor
****************************************************************************/
pregame_options::pregame_options(QWidget *parent) : QWidget(parent)
{
client/gui-qt/hudwidget.cpp
}
/************************************************************************//**
Units action contructor, holds possible hud_actions
Units action constructor, holds possible hud_actions
****************************************************************************/
unit_actions::unit_actions(QWidget *parent, unit *punit) : QWidget(parent)
{
......
}
/************************************************************************//**
Hud unit combat contructor, prepares images to show as result
Hud unit combat constructor, prepares images to show as result
****************************************************************************/
hud_unit_combat::hud_unit_combat(int attacker_unit_id, int defender_unit_id,
int attacker_hp, int defender_hp,
......
}
/************************************************************************//**
Hud battle log contructor
Hud battle log constructor
****************************************************************************/
hud_battle_log::hud_battle_log(QWidget *parent) : QWidget(parent)
{
client/gui-qt/mapview.cpp
}
/**********************************************************************//**
Minimap thread's contructor
Minimap thread's constructor
**************************************************************************/
minimap_thread::minimap_thread(QObject *parent) : QThread(parent)
{
client/gui-qt/shortcuts.cpp
}
/**********************************************************************//**
fc_shortcuts contructor
fc_shortcuts constructor
**************************************************************************/
fc_shortcuts::fc_shortcuts()
{
......
}
/**********************************************************************//**
Custom line edit contructor
Custom line edit constructor
**************************************************************************/
line_edit::line_edit(): QLineEdit()
{
......
}
/**********************************************************************//**
Contructor for shortcut dialog
Constructor for shortcut dialog
**************************************************************************/
fc_shortcuts_dialog::fc_shortcuts_dialog(QWidget *parent)
: QDialog(parent)
    (1-1/1)