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

List:       kde-commits
Subject:    osnabrueck_branch: kdepim/kmail
From:       Bo Thorsen <bo () sonofthor ! dk>
Date:       2004-01-16 9:52:56
Message-ID: 20040116095256.3A1A48D7D () office ! kde ! org
[Download RAW message or body]

CVS commit by thorsen: 

Get the real KOrganizerIface DCOP object. Needs uptodate kdelibs/dcop


  M +8 -0      kmgroupware.cpp   1.52.2.18


--- kdepim/kmail/kmgroupware.cpp  #1.52.2.17:1.52.2.18
@@ -432,4 +432,12 @@ static bool connectToKOrganizer()
     }
 
+    QCString dummy;
+    // OK, so korganizer (or kontact) is running. Now ensure the object we want is \
available. +    if ( !kapp->dcopClient()->findObject( dcopService, dcopObjectId, "", \
QByteArray(), dcopService, dummy ) ) { +        \
KDCOPServiceStarter::self()->startServiceFor( "DCOP/Organizer", QString::null, +      \
QString::null, &error, &dcopService ); +        assert( \
kapp->dcopClient()->findObject( dcopService, dcopObjectId, "", QByteArray(), \
dcopService, dummy ) ); +    }
+
     mKOrganizerIfaceStub = new KOrganizerIface_stub( kapp->dcopClient(),
                                                      dcopService,


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

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