summaryrefslogtreecommitdiffstats
path: root/kontact/plugins/test/test_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kontact/plugins/test/test_part.cpp')
-rw-r--r--kontact/plugins/test/test_part.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kontact/plugins/test/test_part.cpp b/kontact/plugins/test/test_part.cpp
index 12a7b483..0752a836 100644
--- a/kontact/plugins/test/test_part.cpp
+++ b/kontact/plugins/test/test_part.cpp
@@ -53,14 +53,14 @@ TestPart::TestPart(TQObject *parent, const char *name) // ## parentWidget
new KParts::SideBarExtension(new TQComboBox(this), this, "sbe");
- kapp->dcopClient()->setNotifications( true );
- connect( kapp->dcopClient(), TQ_SIGNAL( applicationRemoved( const TQCString&)),
+ tdeApp->dcopClient()->setNotifications( true );
+ connect( tdeApp->dcopClient(), TQ_SIGNAL( applicationRemoved( const TQCString&)),
this, TQ_SLOT( unregisteredFromDCOP( const TQCString& )) );
}
TestPart::~TestPart()
{
- kapp->dcopClient()->setNotifications( false );
+ tdeApp->dcopClient()->setNotifications( false );
delete m_kab_stub;
}
@@ -92,7 +92,7 @@ bool TestPart::connectToAddressBook()
}
// TODO document the required named for the dcop interfaces e.g. "CalendarIface".
TQCString dcopObjectId = "KAddressBookIface";
- m_kab_stub = new KAddressBookIface_stub(kapp->dcopClient(), dcopService, dcopObjectId);
+ m_kab_stub = new KAddressBookIface_stub(tdeApp->dcopClient(), dcopService, dcopObjectId);
}
return m_kab_stub != 0L;
}