summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/groupwise/ui/gwaddcontactpage.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/gwaddcontactpage.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/gwaddcontactpage.cpp')
-rw-r--r--kopete/protocols/groupwise/ui/gwaddcontactpage.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/kopete/protocols/groupwise/ui/gwaddcontactpage.cpp b/kopete/protocols/groupwise/ui/gwaddcontactpage.cpp
index 93616f95..5ece3882 100644
--- a/kopete/protocols/groupwise/ui/gwaddcontactpage.cpp
+++ b/kopete/protocols/groupwise/ui/gwaddcontactpage.cpp
@@ -21,15 +21,15 @@
#include "gwaddcontactpage.h"
-//#include <qcombobox.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qlineedit.h>
-#include <qlistview.h>
-#include <qpushbutton.h>
-#include <qradiobutton.h>
-#include <qtabwidget.h>
-#include <qvaluelist.h>
+//#include <tqcombobox.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
+#include <tqlineedit.h>
+#include <tqlistview.h>
+#include <tqpushbutton.h>
+#include <tqradiobutton.h>
+#include <tqtabwidget.h>
+#include <tqvaluelist.h>
#include <kdebug.h>
#include <klocale.h>
@@ -45,23 +45,23 @@
#include "gwaddui.h"
#include "userdetailsmanager.h"
-GroupWiseAddContactPage::GroupWiseAddContactPage( Kopete::Account * owner, QWidget* parent, const char* name )
+GroupWiseAddContactPage::GroupWiseAddContactPage( Kopete::Account * owner, TQWidget* parent, const char* name )
: AddContactPage(parent, name)
{
m_account = static_cast<GroupWiseAccount *>( owner );
kdDebug(GROUPWISE_DEBUG_GLOBAL) << k_funcinfo << endl;
- ( new QVBoxLayout( this ) )->setAutoAdd( true );
+ ( new TQVBoxLayout( this ) )->setAutoAdd( true );
if (owner->isConnected ())
{
- m_searchUI = new GroupWiseContactSearch( m_account, QListView::Single, false,
+ m_searchUI = new GroupWiseContactSearch( m_account, TQListView::Single, false,
this, "acwsearchwidget" );
show();
m_canadd = true;
}
else
{
- m_noaddMsg1 = new QLabel (i18n ("You need to be connected to be able to add contacts."), this);
- m_noaddMsg2 = new QLabel (i18n ("Connect to GroupWise Messenger and try again."), this);
+ m_noaddMsg1 = new TQLabel (i18n ("You need to be connected to be able to add contacts."), this);
+ m_noaddMsg2 = new TQLabel (i18n ("Connect to GroupWise Messenger and try again."), this);
m_canadd = false;
}
}
@@ -77,10 +77,10 @@ bool GroupWiseAddContactPage::apply( Kopete::Account* account, Kopete::MetaConta
{
if ( validateData() )
{
- QString contactId;
- QString displayName;
+ TQString contactId;
+ TQString displayName;
- QValueList< ContactDetails > selected = m_searchUI->selectedResults();
+ TQValueList< ContactDetails > selected = m_searchUI->selectedResults();
if ( selected.count() == 1 )
{
ContactDetails dt = selected.first();