From 746a2c4f876cd0c3c4307a0c3cf5f7131802a16c Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 28 Feb 2011 03:18:35 +0000 Subject: [PATCH] Fix Qt namespace conflicts in arts git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/arts@1222998 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- mcop/object.cc | 8 ++++---- mcopidl/Makefile.am | 2 +- soundserver/Makefile.am | 10 +++++----- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/mcop/object.cc b/mcop/object.cc index de6342e..5153f0f 100644 --- a/mcop/object.cc +++ b/mcop/object.cc @@ -188,9 +188,9 @@ bool Object_skel::_initAttribute(const AttributeDef& attribute) void Object_skel::_defaultNotify(const Notification& notification) { list::iterator i; - list& slots = _internalData->attributeSlots; + list& myslots = _internalData->attributeSlots; - for(i = slots.begin(); i != slots.end(); i++) + for(i = myslots.begin(); i != myslots.end(); i++) { if((*i)->notifyID() == notification.ID) { @@ -258,9 +258,9 @@ void Object_skel::notify(const Notification& notification) void Object_skel::_emit_changed(const char *attrib, const AnyConstRef& value) { list::iterator i; - list& slots = _internalData->attributeSlots; + list& myslots = _internalData->attributeSlots; - for(i = slots.begin(); i != slots.end(); i++) + for(i = myslots.begin(); i != myslots.end(); i++) { if((*i)->method == attrib) { diff --git a/mcopidl/Makefile.am b/mcopidl/Makefile.am index da189e5..d542df4 100644 --- a/mcopidl/Makefile.am +++ b/mcopidl/Makefile.am @@ -6,7 +6,7 @@ bin_PROGRAMS = mcopidl mcopidl_SOURCES = mcopidl.cc yacc.cc scanner.cc namespace.cc mcopidl_LDFLAGS = $(all_libraries) -mcopidl_LDADD = ../mcop/libmcop.la $(LIBPTHREAD) +mcopidl_LDADD = ../mcop/libmcop.la $(LIBPTHREAD) $(LIB_QT) noinst_HEADERS = yacc.cc.h mcopidl.o: $(top_srcdir)/mcop/common.h diff --git a/soundserver/Makefile.am b/soundserver/Makefile.am index eee67b4..7105c9e 100644 --- a/soundserver/Makefile.am +++ b/soundserver/Makefile.am @@ -53,23 +53,23 @@ libartsgslplayobject_la_COMPILE_FIRST = soundserver.h ../flow/artsflow.h bin_PROGRAMS = artsd artsplay artscat artswrapper artsshell artsrec -artsd_LDADD = libsoundserver_idl.la $(FLOWLIBS) \ +artsd_LDADD = libsoundserver_idl.la $(LIB_QT) $(FLOWLIBS) \ $(top_builddir)/mcop_mt/libmcop_mt.la artsd_LDFLAGS = $(USE_THREADS) artsd_SOURCES = soundserverv2_impl.cc soundserver_impl.cc simplesoundserver_impl.cc artsd.cc cpuusage.cc samplestorage_impl.cc crashhandler.cc soundserverstartup_impl.cc artsd_COMPILE_FIRST = soundserver.h artsversion.h -artscat_LDADD = libsoundserver_idl.la $(FLOWLIBS) $(LIBPTHREAD) +artscat_LDADD = libsoundserver_idl.la $(LIB_QT) $(FLOWLIBS) $(LIBPTHREAD) artscat_LDFLAGS = $(USE_THREADS) artscat_SOURCES = artscat.cc artscat_COMPILE_FIRST = soundserver.h artsversion.h -artsrec_LDADD = libsoundserver_idl.la $(FLOWLIBS) $(LIBPTHREAD) +artsrec_LDADD = libsoundserver_idl.la $(LIB_QT) $(FLOWLIBS) $(LIBPTHREAD) artsrec_LDFLAGS = $(USE_THREADS) artsrec_SOURCES = artsrec.cc artsrec_COMPILE_FIRST = soundserver.h artsversion.h -artsplay_LDADD = libsoundserver_idl.la $(LIBPTHREAD) +artsplay_LDADD = libsoundserver_idl.la $(LIB_QT) $(LIBPTHREAD) artsplay_LDFLAGS = $(USE_THREADS) artsplay_SOURCES = artsplay.cc artsplay_COMPILE_FIRST = soundserver.h artsversion.h @@ -80,7 +80,7 @@ artswrapper_INCLUDES = -I$(top_builddir) -DEXECUTE=\"$(artsdpath)\" artswrapper_LDADD = $(LIBPOSIX4) artswrapper_LDFLAGS = $(KDE_USE_PIE) -artsshell_LDADD = libsoundserver_idl.la $(LIBPTHREAD) +artsshell_LDADD = libsoundserver_idl.la $(LIB_QT) $(LIBPTHREAD) artsshell_LDFLAGS = $(USE_THREADS) artsshell_SOURCES = artsshell.cc tradercheck.cc artsshell_COMPILE_FIRST = soundserver.h artsversion.h ../flow/artsflow.h