diff options
Diffstat (limited to 'kopete/protocols/groupwise/ui/gwaddcontactpage.cpp')
-rw-r--r-- | kopete/protocols/groupwise/ui/gwaddcontactpage.cpp | 34 |
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(); |