summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/groupwise/ui/gwcontactproperties.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/groupwise/ui/gwcontactproperties.cpp')
-rw-r--r--kopete/protocols/groupwise/ui/gwcontactproperties.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kopete/protocols/groupwise/ui/gwcontactproperties.cpp b/kopete/protocols/groupwise/ui/gwcontactproperties.cpp
index 92f4da11..7c7042dd 100644
--- a/kopete/protocols/groupwise/ui/gwcontactproperties.cpp
+++ b/kopete/protocols/groupwise/ui/gwcontactproperties.cpp
@@ -41,13 +41,13 @@
#include "gwcontactproperties.h"
-GroupWiseContactProperties::GroupWiseContactProperties( GroupWiseContact * contact, TQWidget *parent, const char *name)
- : TQObject(parent, name)
+GroupWiseContactProperties::GroupWiseContactProperties( GroupWiseContact * contact, TQWidget *tqparent, const char *name)
+ : TQObject(tqparent, name)
{
init();
// set up the contents of the props widget
m_propsWidget->m_userId->setText( contact->contactId() );
- m_propsWidget->m_status->setText( contact->onlineStatus().description() );
+ m_propsWidget->m_status->setText( contact->onlinetqStatus().description() );
m_propsWidget->m_displayName->setText( contact->metaContact()->displayName() );
m_propsWidget->m_firstName->setText( contact->property( Kopete::Global::Properties::self()->firstName() ).value().toString() );
m_propsWidget->m_lastName->setText( contact->property( Kopete::Global::Properties::self()->lastName() ).value().toString() );
@@ -56,8 +56,8 @@ GroupWiseContactProperties::GroupWiseContactProperties( GroupWiseContact * conta
m_dialog->show();
}
-GroupWiseContactProperties::GroupWiseContactProperties( GroupWise::ContactDetails cd, TQWidget *parent, const char *name )
- : TQObject(parent, name)
+GroupWiseContactProperties::GroupWiseContactProperties( GroupWise::ContactDetails cd, TQWidget *tqparent, const char *name )
+ : TQObject(tqparent, name)
{
init();
// set up the contents of the props widget
@@ -78,7 +78,7 @@ GroupWiseContactProperties::~GroupWiseContactProperties()
void GroupWiseContactProperties::init()
{
- m_dialog = new KDialogBase( ::qt_cast<TQWidget*>( parent() ), "gwcontactpropsdialog", false, i18n( "Contact Properties" ), KDialogBase::Ok );
+ m_dialog = new KDialogBase( ::tqqt_cast<TQWidget*>( tqparent() ), "gwcontactpropsdialog", false, i18n( "Contact Properties" ), KDialogBase::Ok );
m_propsWidget = new GroupWiseContactPropsWidget( m_dialog );
// set up the context menu and copy action
m_copyAction = KStdAction::copy( this, TQT_SLOT( slotCopy() ), 0 );
@@ -137,7 +137,7 @@ void GroupWiseContactProperties::slotCopy()
kdDebug( GROUPWISE_DEBUG_GLOBAL ) << k_funcinfo << endl;
if ( m_propsWidget->m_propsView->currentItem() )
{
- QClipboard *cb = kapp->clipboard();
+ TQClipboard *cb = kapp->tqclipboard();
cb->setText( m_propsWidget->m_propsView->currentItem()->text( 1 ) );
}
}