diff options
Diffstat (limited to 'kontact/DESIGN.dcopinteraction')
-rw-r--r-- | kontact/DESIGN.dcopinteraction | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kontact/DESIGN.dcopinteraction b/kontact/DESIGN.dcopinteraction index f0350627a..7eb4e4129 100644 --- a/kontact/DESIGN.dcopinteraction +++ b/kontact/DESIGN.dcopinteraction @@ -20,12 +20,12 @@ 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(), TQ_SIGNAL( applicationRemoved( const QCString&)), + tdeApp->dcopClient()->setNotifications( true ); + connect( tdeApp->dcopClient(), TQ_SIGNAL( applicationRemoved( const QCString&)), this, TQ_SLOT( unregisteredFromDCOP( const QCString& )) ); * Destructor: - kapp->dcopClient()->setNotifications( false ); + tdeApp->dcopClient()->setNotifications( false ); delete m_foo_stub; [Note that setNotifications() is implemented with a refcount, this is the |