Freeciv-3.1: /fast/freeciv/nightly/S3_1/client/gui-qt/gui_main.h File Reference

Freeciv-3.1

Loading...
Searching...
No Matches
Macros | Functions
gui_main.h File Reference

Go to the source code of this file.

## Macros

#define | CAPTURE_DEFAULT_THIS [=]

## Functions

void | popup_quit_dialog ()
QApplication * | current_app ()

## Macro Definition Documentation

## ◆ CAPTURE_DEFAULT_THIS

#define CAPTURE_DEFAULT_THIS [=]

Definition at line 23 of file gui_main.h.

## Function Documentation

## ◆ current_app()

QApplication * current_app | ( |  | ) |

Return the running QApplication.

Definition at line 220 of file gui_main.cpp.

Referenced by close_all_diplomacy_dialogs(), message_dlg::message_dlg(), city_production_delegate::paint(), qtg_gui_load_theme(), qtg_real_output_window_append(), qtg_version_message(), and fc_client::quit().

## ◆ popup_quit_dialog()

void popup_quit_dialog | ( |  | ) |

Popups the dialog with the message: Are you sure you want to quit?

Open dialog to confirm that user wants to quit client.

Definition at line 2153 of file gui_main.c.

Referenced by fc_client::closeEvent(), quit_callback(), quit_callback(), quit_dialog_callback(), and mr_menu::quit_game().