Switch to side-by-side view

--- a/upqo/renderingcontrol_qo.h
+++ b/upqo/renderingcontrol_qo.h
@@ -1,9 +1,22 @@
+/* Copyright (C) 2014 J.F.Dockes
+ *	 This program is free software; you can redistribute it and/or modify
+ *	 it under the terms of the GNU General Public License as published by
+ *	 the Free Software Foundation; either version 2 of the License, or
+ *	 (at your option) any later version.
+ *
+ *	 This program is distributed in the hope that it will be useful,
+ *	 but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *	 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *	 GNU General Public License for more details.
+ *
+ *	 You should have received a copy of the GNU General Public License
+ *	 along with this program; if not, write to the
+ *	 Free Software Foundation, Inc.,
+ *	 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ */
 
-#include <iostream>
-using namespace std;
-
+#include <QDebug>
 #include <QObject>
-#include <QThread>
 
 #include "libupnpp/control/renderingcontrol.hxx"
 
@@ -19,7 +32,7 @@
 
     void changed(const char *nm, int value)
         {
-            cout << "Changed: " << nm << " : " << value << " (int)" << endl;
+            qDebug() << "RDR: Changed: " << nm << " : " << value << " (int)";
             if (!strcmp(nm, "Volume")) {
                 emit volumeChanged(value);
             } else if (!strcmp(nm, "Mute")) {
@@ -28,7 +41,7 @@
         }
     void changed(const char *nm, const char *value)
         {
-            cout << "Changed: " << nm << " : " << value << " (char*)" << endl;
+            qDebug() << "RDR: Changed: " << nm << " : " << value << " (char*)";
         }
 
     int volume() {return m_srv->getVolume();}
@@ -37,12 +50,11 @@
 public slots:
     void setVolume(int vol)
         {
-            cout << "setVolume " << vol << endl;
+            qDebug() << "RDR::setVolume " << vol;
             m_srv->setVolume(vol);
         }
     void setMute(bool mute)
         {
-            cout << "setMute " << mute << endl;
             m_srv->setMute(mute);
         }