controller.cpp File Reference

Include dependency graph for controller.cpp:


Defines

#define CONNECT_MAP(a)   CONNECT( a, clicked(), toolbarActionsMapper, map() )
#define SET_MAPPING(a, b)   toolbarActionsMapper->setMapping( a , b )
#define CONNECT_MAP_SET(a, b)
#define BUTTON_SET_BAR(a_button)
#define BUTTON_SET_BAR2(button, image, tooltip)
#define ENABLE_ON_VIDEO(a)
#define ENABLE_ON_INPUT(a)
#define NORMAL_BUTTON(name)

Functions

static int FullscreenControllerWidgetFullscreenChanged (vlc_object_t *vlc_object, const char *variable, vlc_value_t old_val, vlc_value_t new_val, void *data)
static int FullscreenControllerWidgetMouseMoved (vlc_object_t *vlc_object, const char *variable, vlc_value_t old_val, vlc_value_t new_val, void *data)

Define Documentation

#define BUTTON_SET_BAR ( a_button   ) 

Value:

a_button->setToolTip( qtr( tooltipL[button] ) ); \
    a_button->setIcon( QIcon( iconL[button] ) );

Referenced by AbstractController::createWidget().

#define BUTTON_SET_BAR2 ( button,
image,
tooltip   ) 

Value:

button->setToolTip( tooltip );          \
    button->setIcon( QIcon( ":/"#image ) );

#define CONNECT_MAP ( a   )     CONNECT( a, clicked(), toolbarActionsMapper, map() )

#define CONNECT_MAP_SET ( a,
b   ) 

#define ENABLE_ON_INPUT ( a   ) 

Value:

CONNECT( this, inputExists( bool ), a, setEnabled( bool ) ); \
    a->setEnabled( THEMIM->getIM()->hasInput() );

Referenced by AbstractController::createWidget().

#define ENABLE_ON_VIDEO ( a   ) 

Value:

CONNECT( THEMIM->getIM(), voutChanged( bool ), a, setEnabled( bool ) ); \
    a->setEnabled( THEMIM->getIM()->hasVideo() );

Referenced by AbstractController::createWidget().

#define NORMAL_BUTTON ( name   ) 

Value:

QToolButton * name ## Button = new QToolButton;     \
    setupButton( name ## Button );                      \
    CONNECT_MAP_SET( name ## Button, name ## _ACTION ); \
    BUTTON_SET_BAR( name ## Button );                   \
    widget = name ## Button;

Referenced by AbstractController::createWidget().

#define SET_MAPPING ( a,
b   )     toolbarActionsMapper->setMapping( a , b )


Function Documentation

static int FullscreenControllerWidgetFullscreenChanged ( vlc_object_t vlc_object,
const char *  variable,
vlc_value_t  old_val,
vlc_value_t  new_val,
void *  data 
) [static]

static int FullscreenControllerWidgetMouseMoved ( vlc_object_t vlc_object,
const char *  variable,
vlc_value_t  old_val,
vlc_value_t  new_val,
void *  data 
) [static]


Generated on Tue May 25 08:05:19 2010 for VLC by  doxygen 1.5.6