Freeciv-3.3
|
#include <fc_client.h>
Public Member Functions | |
QIcon | get_icon (const QString &id) |
QPixmap * | get_pixmap (const QString &id) |
QString | get_path (const QString &id) |
Static Public Member Functions | |
static fc_icons * | instance () |
static void | drop () |
Private Member Functions | |
Q_DISABLE_COPY (fc_icons) | |
fc_icons () | |
Static Private Attributes | |
static fc_icons * | m_instance = 0 |
Definition at line 87 of file fc_client.h.
|
explicitprivate |
|
static |
Deletes fc_icons instance
Definition at line 1008 of file fc_client.cpp.
Returns icon by given name
Definition at line 1019 of file fc_client.cpp.
Referenced by fc_client::update_start_page().
Returns path for icon
Definition at line 1078 of file fc_client.cpp.
Returns pixmap by given name, pixmap needs to be deleted by someone else
Definition at line 1048 of file fc_client.cpp.
Referenced by close_widget::close_widget(), fc_double_edge::fc_double_edge(), move_widget::move_widget(), qfc_dialog::qfc_dialog(), qtg_init_meeting(), resize_widget::resize_widget(), and scale_widget::scale_widget().
|
static |
Returns instance of fc_icons
Definition at line 997 of file fc_client.cpp.
Referenced by city_dialog::city_dialog(), close_widget::close_widget(), fc_client::create_game_page(), fc_client::create_start_page(), fc_corner::fc_corner(), fc_double_edge::fc_double_edge(), pregame_options::init(), move_widget::move_widget(), notify_goto::notify_goto(), qfc_dialog::qfc_dialog(), qtg_init_meeting(), fc_client::reload_sidebar_icons(), resize_widget::resize_widget(), diplo_wdg::restore_pixmap(), scale_widget::scale_widget(), choice_dialog::set_layout(), unit_actions::update_actions(), pregame_options::update_buttons(), and fc_client::update_start_page().
|
private |
|
staticprivate |
Definition at line 93 of file fc_client.h.
Referenced by drop(), and instance().