bgWidget = NULL;
videoWidget = NULL;
playlistWidget = NULL;
+#ifndef HAVE_MAEMO
sysTray = NULL;
+#endif
videoIsActive = false;
playlistVisible = false;
input_name = "";
CONNECT( THEMIM->getIM(), nameChanged( const QString& ),
this, setName( const QString& ) );
/* and systray */
+#ifndef HAVE_MAEMO
if( sysTray )
{
CONNECT( THEMIM->getIM(), nameChanged( const QString& ),
this, updateSystrayTooltipName( const QString& ) );
}
+#endif
/* and title of the Main Interface*/
if( config_GetInt( p_intf, "qt-name-in-title" ) )
{
* CONNECTS on PLAY_STATUS
**/
/* Status on the systray */
+#ifndef HAVE_MAEMO
if( sysTray )
{
CONNECT( THEMIM->getIM(), statusChanged( int ),
this, updateSystrayTooltipStatus( int ) );
}
+#endif
/* END CONNECTS ON IM */
inline void MainInterface::initSystray()
{
+#ifndef HAVE_MAEMO
bool b_systrayAvailable = QSystemTrayIcon::isSystemTrayAvailable();
bool b_systrayWanted = config_GetInt( p_intf, "qt-system-tray" );
if( b_systrayAvailable && b_systrayWanted )
createSystray();
+#endif
}
inline void MainInterface::askForPrivacy()
/*****************************************************************************
* Systray Icon and Systray Menu
*****************************************************************************/
-
+#ifndef HAVE_MAEMO
/**
* Create a SystemTray icon and a menu that would go with it.
* Connects to a click handler on the icon.
}
QVLCMenu::updateSystrayMenu( this, p_intf );
}
+#endif
/************************************************************************
* D&D Events
int controlVideo( int i_query, va_list args );
/* Getters */
+#ifndef HAVE_MAEMO
QSystemTrayIcon *getSysTray() { return sysTray; }
QMenu *getSysTrayMenu() { return systrayMenu; }
+#endif
int getControlsVisibilityStatus();
/* Sizehint() */
bool isDocked() { return ( i_pl_dock != PL_UNDOCKED ); }
QSettings *settings;
+#ifndef HAVE_MAEMO
QSystemTrayIcon *sysTray;
QMenu *systrayMenu;
+#endif
QString input_name;
QGridLayout *mainLayout;
ControlsWidget *controls;
void dockPlaylist( pl_dock_e i_pos = PL_BOTTOM );
void toggleMinimalView( bool );
void togglePlaylist();
+#ifndef HAVE_MAEMO
void toggleUpdateSystrayMenu();
+#endif
void toggleAdvanced();
void toggleFullScreen();
void toggleFSC();
#if 0
void visual();
#endif
+#ifndef HAVE_MAEMO
void handleSystrayClick( QSystemTrayIcon::ActivationReason );
void updateSystrayTooltipName( const QString& );
void updateSystrayTooltipStatus( int );
-
+#endif
void showCryptedLabel( bool );
void handleKeyPress( QKeyEvent * );