summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/groupwise/ui/gwcontactproperties.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kopete/protocols/groupwise/ui/gwcontactproperties.cpp
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/protocols/groupwise/ui/gwcontactproperties.cpp')
-rw-r--r--kopete/protocols/groupwise/ui/gwcontactproperties.cpp42
1 files changed, 21 insertions, 21 deletions
diff --git a/kopete/protocols/groupwise/ui/gwcontactproperties.cpp b/kopete/protocols/groupwise/ui/gwcontactproperties.cpp
index 120296ce..92f4da11 100644
--- a/kopete/protocols/groupwise/ui/gwcontactproperties.cpp
+++ b/kopete/protocols/groupwise/ui/gwcontactproperties.cpp
@@ -16,13 +16,13 @@
*************************************************************************
*/
-#include <qclipboard.h>
-#include <qheader.h>
-#include <qlabel.h>
-#include <qlineedit.h>
+#include <tqclipboard.h>
+#include <tqheader.h>
+#include <tqlabel.h>
+#include <tqlineedit.h>
#include <klistview.h>
-#include <qmap.h>
-#include <qpopupmenu.h>
+#include <tqmap.h>
+#include <tqpopupmenu.h>
#include <kapplication.h>
#include <kdebug.h>
@@ -41,8 +41,8 @@
#include "gwcontactproperties.h"
-GroupWiseContactProperties::GroupWiseContactProperties( GroupWiseContact * contact, QWidget *parent, const char *name)
- : QObject(parent, name)
+GroupWiseContactProperties::GroupWiseContactProperties( GroupWiseContact * contact, TQWidget *parent, const char *name)
+ : TQObject(parent, name)
{
init();
// set up the contents of the props widget
@@ -56,8 +56,8 @@ GroupWiseContactProperties::GroupWiseContactProperties( GroupWiseContact * conta
m_dialog->show();
}
-GroupWiseContactProperties::GroupWiseContactProperties( GroupWise::ContactDetails cd, QWidget *parent, const char *name )
- : QObject(parent, name)
+GroupWiseContactProperties::GroupWiseContactProperties( GroupWise::ContactDetails cd, TQWidget *parent, const char *name )
+ : TQObject(parent, name)
{
init();
// set up the contents of the props widget
@@ -78,28 +78,28 @@ GroupWiseContactProperties::~GroupWiseContactProperties()
void GroupWiseContactProperties::init()
{
- m_dialog = new KDialogBase( ::qt_cast<QWidget*>( parent() ), "gwcontactpropsdialog", false, i18n( "Contact Properties" ), KDialogBase::Ok );
+ m_dialog = new KDialogBase( ::qt_cast<TQWidget*>( parent() ), "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, SLOT( slotCopy() ), 0 );
+ m_copyAction = KStdAction::copy( this, TQT_SLOT( slotCopy() ), 0 );
connect( m_propsWidget->m_propsView,
- SIGNAL( contextMenuRequested( QListViewItem *, const QPoint & , int) ),
- SLOT( slotShowContextMenu( QListViewItem *, const QPoint & ) ) );
+ TQT_SIGNAL( contextMenuRequested( TQListViewItem *, const TQPoint & , int) ),
+ TQT_SLOT( slotShowContextMenu( TQListViewItem *, const TQPoint & ) ) );
// insert the props widget into the dialog
m_dialog->setMainWidget( m_propsWidget );
}
-void GroupWiseContactProperties::setupProperties( QMap< QString, QString > serverProps )
+void GroupWiseContactProperties::setupProperties( TQMap< TQString, TQString > serverProps )
{
m_propsWidget->m_propsView->header()->hide();
- QMap< QString, QString >::Iterator it;
- QMap< QString, QString >::Iterator end = serverProps.end();
+ TQMap< TQString, TQString >::Iterator it;
+ TQMap< TQString, TQString >::Iterator end = serverProps.end();
for ( it = serverProps.begin(); it != end; ++it )
{
kdDebug( GROUPWISE_DEBUG_GLOBAL ) << " adding property: " << it.key() << ", " << it.data() << endl;
- QString key = it.key();
- QString localised;
+ TQString key = it.key();
+ TQString localised;
if ( key == "telephoneNumber" )
localised = i18n( "Telephone Number" );
else if ( key == "OU" )
@@ -121,13 +121,13 @@ void GroupWiseContactProperties::setupProperties( QMap< QString, QString > serve
}
}
-void GroupWiseContactProperties::slotShowContextMenu( QListViewItem * item, const QPoint & pos )
+void GroupWiseContactProperties::slotShowContextMenu( TQListViewItem * item, const TQPoint & pos )
{
if ( item )
kdDebug( GROUPWISE_DEBUG_GLOBAL ) << "for item " << item->text(0) << ", " << item->text(1) << endl;
else
kdDebug( GROUPWISE_DEBUG_GLOBAL ) << "no selected item" << endl;
- QPopupMenu * popupMenu = new QPopupMenu( m_propsWidget->m_propsView );
+ TQPopupMenu * popupMenu = new TQPopupMenu( m_propsWidget->m_propsView );
m_copyAction->plug( popupMenu );
popupMenu->exec( pos );
}