summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/gadu/gaduaddcontactpage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/gadu/gaduaddcontactpage.cpp')
-rw-r--r--kopete/protocols/gadu/gaduaddcontactpage.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/kopete/protocols/gadu/gaduaddcontactpage.cpp b/kopete/protocols/gadu/gaduaddcontactpage.cpp
index 2b914bab..89645afd 100644
--- a/kopete/protocols/gadu/gaduaddcontactpage.cpp
+++ b/kopete/protocols/gadu/gaduaddcontactpage.cpp
@@ -34,22 +34,22 @@
#include <kopetecontactlist.h>
#include <kopetegroup.h>
-#include <qwidget.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qlineedit.h>
-#include <qlistview.h>
-#include <qptrlist.h>
-#include <qcombobox.h>
+#include <tqwidget.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
+#include <tqlineedit.h>
+#include <tqlistview.h>
+#include <tqptrlist.h>
+#include <tqcombobox.h>
#include <krestrictedline.h>
-GaduAddContactPage::GaduAddContactPage( GaduAccount* owner, QWidget* parent, const char* name )
+GaduAddContactPage::GaduAddContactPage( GaduAccount* owner, TQWidget* parent, const char* name )
: AddContactPage( parent, name )
{
account_ = owner;
- ( new QVBoxLayout( this ) )->setAutoAdd( true );
+ ( new TQVBoxLayout( this ) )->setAutoAdd( true );
addUI_ = new GaduAddUI( this );
- connect( addUI_->addEdit_, SIGNAL( textChanged( const QString & ) ), SLOT( slotUinChanged( const QString & ) ) );
+ connect( addUI_->addEdit_, TQT_SIGNAL( textChanged( const TQString & ) ), TQT_SLOT( slotUinChanged( const TQString & ) ) );
addUI_->addEdit_->setValidChars( "1234567890" );
addUI_->addEdit_->setText( "" );
addUI_->groups->setDisabled( TRUE );
@@ -69,23 +69,23 @@ GaduAddContactPage::fillGroups()
{
/*
Kopete::Group *g;
- QPtrList<Kopete::Group> gl = Kopete::ContactList::self()->groups();
+ TQPtrList<Kopete::Group> gl = Kopete::ContactList::self()->groups();
for( g = gl.first(); g; g = gl.next() ) {
- QCheckListItem* item = new QCheckListItem( addUI_->groups, g->displayName(), QCheckListItem::CheckBox );
+ TQCheckListItem* item = new TQCheckListItem( addUI_->groups, g->displayName(), TQCheckListItem::CheckBox );
kdDebug(14100) << g->displayName() << " " << g->groupId() << endl;
}
*/
}
void
-GaduAddContactPage::showEvent( QShowEvent* e )
+GaduAddContactPage::showEvent( TQShowEvent* e )
{
- slotUinChanged( QString::null );
+ slotUinChanged( TQString::null );
AddContactPage::showEvent( e );
}
void
-GaduAddContactPage::slotUinChanged( const QString & )
+GaduAddContactPage::slotUinChanged( const TQString & )
{
emit dataValid( this, validateData() );
}
@@ -108,8 +108,8 @@ bool
GaduAddContactPage::apply( Kopete::Account* a , Kopete::MetaContact* mc )
{
if ( validateData() ) {
- QString userid = addUI_->addEdit_->text().stripWhiteSpace();
- QString name = addUI_->nickEdit_->text().stripWhiteSpace();
+ TQString userid = addUI_->addEdit_->text().stripWhiteSpace();
+ TQString name = addUI_->nickEdit_->text().stripWhiteSpace();
if ( a != account_ ) {
kdDebug(14100) << "Problem because accounts differ: " << a->accountId()
<< " , " << account_->accountId() << endl;