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

List:       kde-commits
Subject:    kdenonbeta/kdelirc/kcmlirc
From:       Gav Wood <gav () indigoarchive ! net>
Date:       2003-07-25 17:42:44
[Download RAW message or body]

CVS commit by gav: 

Quick DCOP bug fix


  M +3 -3      addaction.cpp   1.23
  M +1 -2      kcmlirc.cpp   1.26


--- kdenonbeta/kdelirc/kcmlirc/addaction.cpp  #1.22:1.23
@@ -80,10 +80,10 @@ void AddAction::slotCorrectPage()
 void AddAction::requestNextPress()
 {
-        IRKick_stub("kded", \
"irkick").stealNextPress(DCOPClient::mainClient()->appId(), "KCMLirc", \
"gotButton(QString, QString)"); +        IRKick_stub("irkick", \
"IRKick").stealNextPress(DCOPClient::mainClient()->appId(), "KCMLirc", \
"gotButton(QString, QString)");  }
 
 void AddAction::cancelRequest()
 {
-        IRKick_stub("kded", "irkick").dontStealNextPress();
+        IRKick_stub("irkick", "IRKick").dontStealNextPress();
 }
 
@@ -106,5 +106,5 @@ void AddAction::updateButtons()
         theButtons->clear();
         buttonMap.clear();
-        IRKick_stub IRKick("kded", "irkick");
+        IRKick_stub IRKick("irkick", "IRKick");
         QStringList buttons = IRKick.buttons(theMode.remote());
         for(QStringList::iterator j = buttons.begin(); j != buttons.end(); j++)

--- kdenonbeta/kdelirc/kcmlirc/kcmlirc.cpp  #1.25:1.26
@@ -56,6 +56,5 @@ KCMLirc::KCMLirc(QWidget *parent, const 
         if(!ok)
                 if(KMessageBox::questionYesNo(this, i18n("The Infrared Remote \
Control software is not currently running. This configuration module will not work \
properly without it. Would you like to start it now?"), i18n("Software not running")) \
                == KMessageBox::Yes)
-                {       //DCOPRef("kded", "kded").call("loadModule", "irkick");
-                        kdDebug() << "S" << KApplication::startServiceByName("KDE \
LIRC server") << endl; +                {       kdDebug() << "S" << \
KApplication::startServiceByName("KDE LIRC server") << endl;  KSimpleConfig \
theConfig("irkickrc");  theConfig.setGroup("General");


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

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