#include <assert.h>
+#include "qt4.hpp"
#include "input_manager.hpp"
#include "dialogs_provider.hpp"
-#include "qt4.hpp"
static int ChangeVideo( vlc_object_t *p_this, const char *var, vlc_value_t o,
vlc_value_t n, void *param );
{
i_old_playing_status = END_S;
p_input = NULL;
- /* Subscribe to updates */
- connect( THEDP->fixed_timer, SIGNAL( timeout() ), this, SLOT( update() ) );
+ CONNECT( THEDP->fixed_timer, timeout(), this, update() );
}
InputManager::~InputManager()
p_input = NULL;
im = new InputManager( this, p_intf );
/* Get timer updates */
- connect( DialogsProvider::getInstance(p_intf)->fixed_timer,
- SIGNAL(timeout() ), this, SLOT( updateInput() ) );
+ CONNECT( THEDP->fixed_timer, timeout(), this, updateInput() );
/* Warn our embedded IM about input changes */
- connect( this, SIGNAL( inputChanged( input_thread_t * ) ),
- im, SLOT( setInput( input_thread_t * ) ) );
+ CONNECT( this, inputChanged( input_thread_t * ),
+ im, setInput( input_thread_t * ) );
}
MainInputManager::~MainInputManager()
InputManager *im = (InputManager*)param;
im->b_has_audio = true;
}
+
static int ChangeVideo( vlc_object_t *p_this, const char *var, vlc_value_t o,
vlc_value_t n, void *param )
{