diff options
Diffstat (limited to 'kopete/plugins/cryptography/cryptographyguiclient.cpp')
-rw-r--r-- | kopete/plugins/cryptography/cryptographyguiclient.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kopete/plugins/cryptography/cryptographyguiclient.cpp b/kopete/plugins/cryptography/cryptographyguiclient.cpp index fecb025e..11f30f48 100644 --- a/kopete/plugins/cryptography/cryptographyguiclient.cpp +++ b/kopete/plugins/cryptography/cryptographyguiclient.cpp @@ -27,16 +27,16 @@ class CryptographyPlugin; -CryptographyGUIClient::CryptographyGUIClient(Kopete::ChatSession *tqparent ) - : TQObject(tqparent) , KXMLGUIClient(tqparent) +CryptographyGUIClient::CryptographyGUIClient(Kopete::ChatSession *parent ) + : TQObject(parent) , KXMLGUIClient(parent) { - if(!tqparent || tqparent->members().isEmpty()) + if(!parent || parent->members().isEmpty()) { deleteLater(); //we refuse to build this client, it is based on wrong parametters return; } - TQPtrList<Kopete::Contact> mb=tqparent->members(); + TQPtrList<Kopete::Contact> mb=parent->members(); Kopete::MetaContact *first=mb.first()->metaContact(); if(!first) @@ -60,7 +60,7 @@ CryptographyGUIClient::~CryptographyGUIClient() void CryptographyGUIClient::slotToggled() { - TQPtrList<Kopete::Contact> mb=static_cast<Kopete::ChatSession*>(tqparent())->members(); + TQPtrList<Kopete::Contact> mb=static_cast<Kopete::ChatSession*>(parent())->members(); Kopete::MetaContact *first=mb.first()->metaContact(); if(!first) |