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

Go to the source code of this file.

Macros

#define mevent_gpos(__ev__)   (__ev__)->globalPosition().toPoint()
 
#define CAPTURE_DEFAULT_THIS   [=]
 

Functions

void popup_quit_dialog ()
 
QApplicationcurrent_app ()
 

Macro Definition Documentation

◆ CAPTURE_DEFAULT_THIS

#define CAPTURE_DEFAULT_THIS   [=]

Definition at line 31 of file gui_main.h.

◆ mevent_gpos

#define mevent_gpos (   __ev__)    (__ev__)->globalPosition().toPoint()

Definition at line 23 of file gui_main.h.

Function Documentation

◆ current_app()

QApplication * current_app ( )

◆ 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 2350 of file gui_main.c.

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