diff options
Diffstat (limited to 'kontact/plugins/test/test_part.cpp')
-rw-r--r-- | kontact/plugins/test/test_part.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kontact/plugins/test/test_part.cpp b/kontact/plugins/test/test_part.cpp index b921d025a..d8cfe9e6a 100644 --- a/kontact/plugins/test/test_part.cpp +++ b/kontact/plugins/test/test_part.cpp @@ -18,8 +18,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. As a special exception, permission is given to link this program - with any edition of Qt, and distribute the resulting executable, - without including the source code for Qt in the source distribution. + with any edition of TQt, and distribute the resulting executable, + without including the source code for TQt in the source distribution. */ #include "test_part.h" @@ -41,8 +41,8 @@ #include <kservice.h> -TestPart::TestPart(TQObject *parent, const char *name) // ## tqparentWidget - : KParts::ReadOnlyPart(parent, name) +TestPart::TestPart(TQObject *tqparent, const char *name) // ## tqparentWidget + : KParts::ReadOnlyPart(tqparent, name) { setInstance( new KInstance("testpart") ); // ## memleak m_edit = new TQTextEdit; @@ -85,7 +85,7 @@ bool TestPart::connectToAddressBook() { TQString error; TQCString dcopService; - int result = KDCOPServiceStarter::self()->findServiceFor( "DCOP/AddressBook", TQString::null, TQString::null, &error, &dcopService ); + int result = KDCOPServiceStarter::self()->findServiceFor( "DCOP/AddressBook", TQString(), TQString(), &error, &dcopService ); if ( result != 0 ) { // You might want to show "error" (if not empty) here, using e.g. KMessageBox return false; |