[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/runtime/phonon/xine
From:       Matthias Kretz <kretz () kde ! org>
Date:       2008-04-21 16:18:59
Message-ID: 1208794739.091829.10971.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 799470 by mkretz:

use Phonon namespace in signal and slots signature

 M  +4 -4      xineengine.cpp  
 M  +2 -2      xineengine_p.h  


--- trunk/KDE/kdebase/runtime/phonon/xine/xineengine.cpp #799469:799470
@@ -463,10 +463,10 @@
     {
         if (m_audioOutputInfos.isEmpty()) {
             kDebug(610) << "isEmpty";
-            QObject::connect(AudioDeviceEnumerator::self(), \
                SIGNAL(devicePlugged(const AudioDevice &)),
-                    d, SLOT(devicePlugged(const AudioDevice &)));
-            QObject::connect(AudioDeviceEnumerator::self(), \
                SIGNAL(deviceUnplugged(const AudioDevice &)),
-                    d, SLOT(deviceUnplugged(const AudioDevice &)));
+            QObject::connect(AudioDeviceEnumerator::self(), \
SIGNAL(devicePlugged(const Phonon::AudioDevice &)), +                    d, \
SLOT(devicePlugged(const Phonon::AudioDevice &))); +            \
QObject::connect(AudioDeviceEnumerator::self(), SIGNAL(deviceUnplugged(const \
Phonon::AudioDevice &)), +                    d, SLOT(deviceUnplugged(const \
Phonon::AudioDevice &)));  int nextIndex = 10000;
 //X             QStringList groups = m_config->groupList();
 //X             foreach (QString group, groups) {
--- trunk/KDE/kdebase/runtime/phonon/xine/xineengine_p.h #799469:799470
@@ -41,8 +41,8 @@
         QTimer signalTimer;
 
     public slots:
-        void devicePlugged(const AudioDevice &);
-        void deviceUnplugged(const AudioDevice &);
+        void devicePlugged(const Phonon::AudioDevice &);
+        void deviceUnplugged(const Phonon::AudioDevice &);
 
         Q_SCRIPTABLE void ossSettingChanged(bool);
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic