qt4.hpp File Reference

Include dependency graph for qt4.hpp:

Go to the source code of this file.

Data Structures

struct  intf_sys_t
class  DialogEvent

Defines

#define HAS_QT43   ( QT_VERSION >= 0x040300 )
#define QT_NORMAL_MODE   0
#define QT_ALWAYS_VIDEO_MODE   1
#define QT_MINIMAL_MODE   2
#define THEPL   p_intf->p_sys->p_playlist
#define QPL_LOCK   vlc_object_lock( THEPL );
#define QPL_UNLOCK   vlc_object_unlock( THEPL );
#define THEDP   DialogsProvider::getInstance()
#define THEMIM   MainInputManager::getInstance( p_intf )
#define qfu(i)   QString::fromUtf8( i )
#define qtr(i)   QString::fromUtf8( _(i) )
#define qtu(i)   (i).toUtf8().data()
#define qta(i)   (i).toAscii().data()
#define CONNECT(a, b, c, d)   connect( a, SIGNAL( b ), c, SLOT(d) )
#define BUTTONACT(b, a)   connect( b, SIGNAL( clicked() ), this, SLOT(a) )
#define ON_TIMEOUT(act)   CONNECT( THEDP->fixed_timer, timeout(), this, act )
#define BUTTON_SET(button, text, tooltip)
#define BUTTON_SET_ACT(button, text, tooltip, thisslot)
#define BUTTON_SET_IMG(button, text, image, tooltip)
#define BUTTON_SET_ACT_I(button, text, image, tooltip, thisslot)
#define VISIBLE(i)   (i && i->isVisible())
#define TOGGLEV(x)
#define setLayoutMargins(a, b, c, d, e)   setMargin( e )
#define getSettings()   p_intf->p_sys->mainSettings

Enumerations

enum  { DialogEventType = 0, IMEventType = 100, PLEventType = 200 }

Variables

static const int DialogEvent_Type = QEvent::User + DialogEventType + 1
static const int SetVideoOnTopEvent_Type = QEvent::User + DialogEventType + 4


Define Documentation

#define BUTTON_SET ( button,
text,
tooltip   ) 

Value:

button->setText( text );                 \
    button->setToolTip( tooltip );

#define BUTTON_SET_ACT ( button,
text,
tooltip,
thisslot   ) 

Value:

BUTTON_SET( button, text, tooltip );                  \
    BUTTONACT( button, thisslot );

#define BUTTON_SET_ACT_I ( button,
text,
image,
tooltip,
thisslot   ) 

Value:

BUTTON_SET_IMG( button, text, image, tooltip );                \
    BUTTONACT( button, thisslot );

#define BUTTON_SET_IMG ( button,
text,
image,
tooltip   ) 

Value:

BUTTON_SET( button, text, tooltip );                  \
    button->setIcon( QIcon( ":/"#image ) );

#define BUTTONACT ( b,
 )     connect( b, SIGNAL( clicked() ), this, SLOT(a) )

#define CONNECT ( a,
b,
c,
 )     connect( a, SIGNAL( b ), c, SLOT(d) )

 
#define getSettings (  )     p_intf->p_sys->mainSettings

#define HAS_QT43   ( QT_VERSION >= 0x040300 )

#define ON_TIMEOUT ( act   )     CONNECT( THEDP->fixed_timer, timeout(), this, act )

#define qfu (  )     QString::fromUtf8( i )

#define QPL_LOCK   vlc_object_lock( THEPL );

#define QPL_UNLOCK   vlc_object_unlock( THEPL );

#define QT_ALWAYS_VIDEO_MODE   1

#define QT_MINIMAL_MODE   2

#define QT_NORMAL_MODE   0

#define qta (  )     (i).toAscii().data()

#define qtr (  )     QString::fromUtf8( _(i) )

#define qtu (  )     (i).toUtf8().data()

#define setLayoutMargins ( a,
b,
c,
d,
 )     setMargin( e )

#define THEDP   DialogsProvider::getInstance()

#define THEMIM   MainInputManager::getInstance( p_intf )

#define THEPL   p_intf->p_sys->p_playlist

#define TOGGLEV (  ) 

Value:

{ if( x->isVisible() ) x->hide();          \
            else  x->show(); }

#define VISIBLE (  )     (i && i->isVisible())


Enumeration Type Documentation

anonymous enum

Enumerator:
DialogEventType 
IMEventType 
PLEventType 


Variable Documentation

const int DialogEvent_Type = QEvent::User + DialogEventType + 1 [static]

const int SetVideoOnTopEvent_Type = QEvent::User + DialogEventType + 4 [static]


Generated on Wed Aug 13 08:03:56 2008 for VLC by  doxygen 1.5.1