summaryrefslogtreecommitdiffstats
path: root/kontact/plugins/test/test_part.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-01-20 18:26:41 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-01-20 18:26:41 +0900
commitaae5ebe5008a41fe4a4767092d7e17600abf6725 (patch)
tree97002e11e1564bceeda4fb4b3b04164bb9e72286 /kontact/plugins/test/test_part.cpp
parent69779eb81c20b80b56ab698f44a944efd6107a74 (diff)
downloadtdepim-aae5ebe5008a41fe4a4767092d7e17600abf6725.tar.gz
tdepim-aae5ebe5008a41fe4a4767092d7e17600abf6725.zip
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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;
}