[amarok] yauap-engine ported to cmake

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/amarok@1230311 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
samelian 14 years ago
parent 75c0180e44
commit 4bcbdd7615

@ -46,6 +46,7 @@ tde_setup_paths( )
option( WITH_LIBVISUAL "Enable libvisual support" OFF ) option( WITH_LIBVISUAL "Enable libvisual support" OFF )
option( WITH_KONQSIDEBAR "Enable konqsidebar plugin" OFF ) option( WITH_KONQSIDEBAR "Enable konqsidebar plugin" OFF )
option( WITH_XINE "Enable xine-engine support" OFF ) option( WITH_XINE "Enable xine-engine support" OFF )
option( WITH_YAUAP "Enable yauap-engine support" OFF )
option( WITH_IPOD "Enable iPod support from libgpod" OFF ) option( WITH_IPOD "Enable iPod support from libgpod" OFF )
option( WITH_IFP "Enable ifp support" OFF ) option( WITH_IFP "Enable ifp support" OFF )
option( WITH_NJB "Enable njb support" OFF ) option( WITH_NJB "Enable njb support" OFF )

@ -13,3 +13,4 @@
add_subdirectory( void ) add_subdirectory( void )
tde_conditional_add_subdirectory( WITH_XINE xine ) tde_conditional_add_subdirectory( WITH_XINE xine )
tde_conditional_add_subdirectory( WITH_YAUAP yauap )

@ -106,7 +106,7 @@ DBusConnection::open()
dbus_connection_set_exit_on_disconnect( dbus_connection, false ); dbus_connection_set_exit_on_disconnect( dbus_connection, false );
/* create qt connection */ /* create qt connection */
qt_connection = new DBusTQt::Connection( this ); qt_connection = new DBusQt::Connection( this );
qt_connection->dbus_connection_setup_with_qt_main( dbus_connection ); qt_connection->dbus_connection_setup_with_qt_main( dbus_connection );
if ( !dbus_connection_add_filter(dbus_connection, signal_handler, context, NULL) ) if ( !dbus_connection_add_filter(dbus_connection, signal_handler, context, NULL) )
@ -236,7 +236,7 @@ DBusConnection::send_with_reply(const char* method, int first_arg_type, va_list
DBusMessage* oldmsg = msg; DBusMessage* oldmsg = msg;
msg = dbus_connection_send_with_reply_and_block(dbus_connection, oldmsg, -1, &error); msg = dbus_connection_send_with_reply_and_block(dbus_connection, oldmsg, -1, &error);
DBusDispatchtqStatus status; DBusDispatchStatus status;
while ((status = dbus_connection_get_dispatch_status(dbus_connection)) == DBUS_DISPATCH_DATA_REMAINS) while ((status = dbus_connection_get_dispatch_status(dbus_connection)) == DBUS_DISPATCH_DATA_REMAINS)
dbus_connection_dispatch (dbus_connection); dbus_connection_dispatch (dbus_connection);
dbus_message_unref (oldmsg); dbus_message_unref (oldmsg);

@ -30,7 +30,7 @@ class DBusConnection : public TQObject
{ {
friend class yauapEngine; friend class yauapEngine;
DBusTQt::Connection *qt_connection; DBusQt::Connection *qt_connection;
DBusConnection *dbus_connection; DBusConnection *dbus_connection;
yauapEngine *context; yauapEngine *context;
TQMutex m_mutex; TQMutex m_mutex;

Loading…
Cancel
Save