qt4.hpp File Reference

Include dependency graph for qt4.hpp:

Go to the source code of this file.

Data Structures

struct  intf_sys_t
 Per-interface private state. More...

Defines

#define QT_NO_CAST_TO_ASCII
#define HAS_QT45   ( QT_VERSION >= 0x040500 )
#define THEPL   p_intf->p_sys->p_playlist
#define QPL_LOCK   playlist_Lock( THEPL );
#define QPL_UNLOCK   playlist_Unlock( THEPL );
#define THEDP   DialogsProvider::getInstance()
#define THEMIM   MainInputManager::getInstance( p_intf )
#define THEAM   ActionsManager::getInstance( p_intf )
#define qfu(i)   QString::fromUtf8( i )
#define qtr(i)   QString::fromUtf8( vlc_gettext(i) )
#define qtu(i)   ((i).toUtf8().constData())
#define CONNECT(a, b, c, d)   connect( a, SIGNAL( b ), c, SLOT(d) )
#define DCONNECT(a, b, c, d)   connect( a, SIGNAL( b ), c, SLOT(d), Qt::DirectConnection )
#define BUTTONACT(b, a)   connect( b, SIGNAL( clicked() ), this, SLOT(a) )
#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 getSettings()   p_intf->p_sys->mainSettings

Enumerations

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

Functions

static QString QVLCUserDir (vlc_userdir_t type)


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 );

Referenced by DiscOpenPanel::DiscOpenPanel(), and SyncControls::SyncControls().

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

Value:

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

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

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

Referenced by AbstractController::AbstractController(), PLSelItem::addAction(), BackgroundWidget::BackgroundWidget(), CoverArtLabel::CoverArtLabel(), AbstractController::createWidget(), DiscOpenPanel::DiscOpenPanel(), Equalizer::Equalizer(), ExtensionDialog::ExtensionDialog(), ExtensionListModel::ExtensionListModel(), ExtensionsDialogProvider::ExtensionsDialogProvider(), ExtensionsManager::ExtensionsManager(), ExtVideo::ExtVideo(), FileOpenPanel::FileOpenPanel(), FullscreenControllerWidget::FullscreenControllerWidget(), CaptureOpenPanel::initialize(), InputSlider::InputSlider(), IntegerListConfigControl::IntegerListConfigControl, KeyInputDialog::KeyInputDialog(), KeySelectorControl::KeySelectorControl(), LocationBar::LocationBar(), MainInterface::MainInterface(), MediaInfoDialog::MediaInfoDialog(), ExtensionsManager::menu(), MetaPanel::MetaPanel(), NetOpenPanel::NetOpenPanel(), OpenUrlDialog::OpenUrlDialog(), PlaylistWidget::PlaylistWidget(), PLModel::PLModel(), PLSelector::PLSelector(), PLModel::popup(), SearchLineEdit::SearchLineEdit(), InputManager::setAtoB(), LocationBar::setIndex(), SoundWidget::SoundWidget(), SoutDialog::SoutDialog(), Spatializer::Spatializer(), SpeedControlWidget::SpeedControlWidget(), SpeedLabel::SpeedLabel(), SPrefsCatList::SPrefsCatList(), SPrefsPanel::SPrefsPanel(), StandardPLPanel::StandardPLPanel(), StringListConfigControl::StringListConfigControl, SyncControls::SyncControls(), TimeLabel::TimeLabel(), ToolbarEditDialog::ToolbarEditDialog(), VLCProfileEditor::VLCProfileEditor(), and VLCProfileSelector::VLCProfileSelector().

#define DCONNECT ( a,
b,
c,
 )     connect( a, SIGNAL( b ), c, SLOT(d), Qt::DirectConnection )

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

#define HAS_QT45   ( QT_VERSION >= 0x040500 )

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

#define QPL_LOCK   playlist_Lock( THEPL );

#define QPL_UNLOCK   playlist_Unlock( THEPL );

#define QT_NO_CAST_TO_ASCII

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

Referenced by addDPStaticEntry(), AdvPrefsPanel::AdvPrefsPanel(), BoolConfigControl::BoolConfigControl, VLCProfileEditor::close(), ConvertDialog::ConvertDialog(), CoverArtLabel::CoverArtLabel(), QVLCMenu::createMenuBar(), AbstractController::createWidget(), DiscOpenPanel::DiscOpenPanel(), Equalizer::Equalizer(), ExtensionInfoDialog::ExtensionInfoDialog(), ExtraMetaPanel::ExtraMetaPanel(), FileConfigControl::FileConfigControl, FileDestBox::FileDestBox(), FileConfigControl::finish, FloatConfigControl::FloatConfigControl, FontConfigControl::FontConfigControl(), HTTPDestBox::HTTPDestBox(), ICEDestBox::ICEDestBox(), InfoPanel::InfoPanel(), CaptureOpenPanel::initialize(), InputStatsPanel::InputStatsPanel(), IntegerConfigControl::IntegerConfigControl, IntegerListConfigControl::IntegerListConfigControl, IntegerRangeSliderConfigControl::IntegerRangeSliderConfigControl(), KeyInputDialog::KeyInputDialog(), KeySelectorControl::KeySelectorControl(), DialogsProvider::loadSubtitlesFile(), MediaInfoDialog::MediaInfoDialog(), ExtensionsManager::menu(), MetaPanel::MetaPanel(), MMSHDestBox::MMSHDestBox(), ModuleConfigControl::ModuleConfigControl, ModuleListConfigControl::ModuleListConfigControl, DialogsProvider::openAPlaylist(), openDirectory(), OpenUrlDialog::OpenUrlDialog(), PlaylistWidget::PlaylistWidget(), PLModel::popup(), QVLCMenu::PopupMenu(), PrefsDialog::PrefsDialog(), PrefsTree::PrefsTree(), RTPDestBox::RTPDestBox(), RTSPDestBox::RTSPDestBox(), DialogsProvider::saveAPlaylist(), SoutInputBox::setMRL(), DialogsProvider::showSimpleOpen(), SoutDialog::SoutDialog(), SoutInputBox::SoutInputBox(), Spatializer::Spatializer(), SpeedControlWidget::SpeedControlWidget(), SpeedLabel::SpeedLabel(), SPrefsCatList::SPrefsCatList(), SPrefsPanel::SPrefsPanel(), StandardPLPanel::StandardPLPanel(), StringConfigControl::StringConfigControl, StringListConfigControl::StringListConfigControl, SyncControls::SyncControls(), TimeLabel::TimeLabel(), ToolbarEditDialog::ToolbarEditDialog(), UDPDestBox::UDPDestBox(), DirectoryConfigControl::updateField(), FileConfigControl::updateField(), QVLCMenu::updateRecents(), QVLCMenu::updateSystrayMenu(), VLCKeyToString(), VLCProfileEditor::VLCProfileEditor(), VLCProfileSelector::VLCProfileSelector(), and WidgetListing::WidgetListing().

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

#define THEAM   ActionsManager::getInstance( p_intf )

#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(); }

Referenced by BackgroundWidget::toggle().

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


Enumeration Type Documentation

anonymous enum

Enumerator:
DialogEventType 
IMEventType 
PLEventType 
MsgEventType 


Function Documentation

static QString QVLCUserDir ( vlc_userdir_t  type  )  [inline, static]


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