diff options
Diffstat (limited to 'kontact/DESIGN.dcopinteraction')
-rw-r--r-- | kontact/DESIGN.dcopinteraction | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kontact/DESIGN.dcopinteraction b/kontact/DESIGN.dcopinteraction index 950b9eea..f0350627 100644 --- a/kontact/DESIGN.dcopinteraction +++ b/kontact/DESIGN.dcopinteraction @@ -21,8 +21,8 @@ Here are some code snippets that must go into the part (A) that wants to use "Fo * Constructor: m_foo_stub = 0L; kapp->dcopClient()->setNotifications( true ); - connect( kapp->dcopClient(), SIGNAL( applicationRemoved( const QCString&)), - this, SLOT( unregisteredFromDCOP( const QCString& )) ); + connect( kapp->dcopClient(), TQ_SIGNAL( applicationRemoved( const QCString&)), + this, TQ_SLOT( unregisteredFromDCOP( const QCString& )) ); * Destructor: kapp->dcopClient()->setNotifications( false ); @@ -57,7 +57,7 @@ In the kontact plugin * Don't use dcopClient() until the part is loaded * After loading the part, you might want to create a DCOP stub to use some of its methods (do both in a loadPart() method, e.g.). -* Implement createDCOPInterface( const QString& serviceType ), to +* Implement createDCOPInterface( const TQString& serviceType ), to load the part if the serviceType is one provided by it. See KAddressbookPlugin (plugins/kaddressbook/*) for a working example. @@ -74,7 +74,7 @@ See e.g. tdepim/kaddressbook/kaddressbook.desktop Designing DCOP interfaces ========================= -Porting the kroupware Q_SIGNALS/Q_SLOTS to DCOP requires some changes. +Porting the kroupware signals/slots to DCOP requires some changes. For instance any non-const reference (such as those used for returning values to the caller) has to be changed. If there is more than one value to be returned, you need to |