summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/gadu/gadueditcontact.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/gadu/gadueditcontact.cpp')
-rw-r--r--kopete/protocols/gadu/gadueditcontact.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/kopete/protocols/gadu/gadueditcontact.cpp b/kopete/protocols/gadu/gadueditcontact.cpp
index 24aa8940..985a9874 100644
--- a/kopete/protocols/gadu/gadueditcontact.cpp
+++ b/kopete/protocols/gadu/gadueditcontact.cpp
@@ -34,19 +34,19 @@
#include <kopetecontactlist.h>
#include <kopetemetacontact.h>
-#include <qbuttongroup.h>
-#include <qradiobutton.h>
-#include <qlineedit.h>
-#include <qlayout.h>
-#include <qlistview.h>
-#include <qptrlist.h>
+#include <tqbuttongroup.h>
+#include <tqradiobutton.h>
+#include <tqlineedit.h>
+#include <tqlayout.h>
+#include <tqlistview.h>
+#include <tqptrlist.h>
#include <krestrictedline.h>
// FIXME: this and gaduadcontactpage should have one base class, with some code duplicated in both.
GaduEditContact::GaduEditContact( GaduAccount* account, GaduContact* contact,
- QWidget* parent, const char* name )
+ TQWidget* parent, const char* name )
: KDialogBase( parent, name, true, i18n( "Edit Contact's Properties" ),
KDialogBase::Ok | KDialogBase::Cancel,
KDialogBase::Ok, true ), account_( account ), contact_( contact )
@@ -64,7 +64,7 @@ GaduEditContact::GaduEditContact( GaduAccount* account, GaduContact* contact,
}
GaduEditContact::GaduEditContact( GaduAccount* account, GaduContactsList::ContactLine* clin,
- QWidget* parent , const char* name )
+ TQWidget* parent , const char* name )
: KDialogBase( parent, name, true, i18n( "Edit Contact's Properties" ),
KDialogBase::Ok | KDialogBase::Cancel,
KDialogBase::Ok, true ), account_( account ), contact_( NULL )
@@ -83,8 +83,8 @@ void
GaduEditContact::fillGroups()
{
Kopete::Group *g, *cg;
- QPtrList<Kopete::Group> cgl;
- QPtrList<Kopete::Group> gl;
+ TQPtrList<Kopete::Group> cgl;
+ TQPtrList<Kopete::Group> gl;
if ( contact_ ) {
cgl = contact_->metaContact()->groups();
@@ -96,7 +96,7 @@ GaduEditContact::fillGroups()
if ( g->type() == Kopete::Group::Temporary ) {
continue;
}
- QCheckListItem* item = new QCheckListItem( ui_->groups, g->displayName(), QCheckListItem::CheckBox );
+ TQCheckListItem* item = new TQCheckListItem( ui_->groups, g->displayName(), TQCheckListItem::CheckBox );
// FIXME: optimize this O(2) search
for( cg = cgl.first(); cg; cg = cgl.next() ) {
if ( cg->groupId() == g->groupId() ) {
@@ -118,12 +118,12 @@ GaduEditContact::init()
// fill values from cl into proper fields on widget
show();
- connect( this, SIGNAL( okClicked() ), SLOT( slotApply() ) );
- connect( ui_->groups, SIGNAL( clicked( QListViewItem * ) ), SLOT( listClicked( QListViewItem * ) ) );
+ connect( this, TQT_SIGNAL( okClicked() ), TQT_SLOT( slotApply() ) );
+ connect( ui_->groups, TQT_SIGNAL( clicked( TQListViewItem * ) ), TQT_SLOT( listClicked( TQListViewItem * ) ) );
}
void
-GaduEditContact::listClicked( QListViewItem* /*item*/ )
+GaduEditContact::listClicked( TQListViewItem* /*item*/ )
{
}
@@ -147,7 +147,7 @@ GaduEditContact::fillIn()
void
GaduEditContact::slotApply()
{
- QPtrList<Kopete::Group> gl;
+ TQPtrList<Kopete::Group> gl;
Kopete::Group* group;
cl_->firstname = ui_->fornameEdit_->text().stripWhiteSpace();
@@ -173,8 +173,8 @@ GaduEditContact::slotApply()
contact_->setContactDetails( cl_ );
gl = Kopete::ContactList::self()->groups();
- for ( QListViewItemIterator it( ui_->groups ); it.current(); ++it ) {
- QCheckListItem *check = dynamic_cast<QCheckListItem *>( it.current() );
+ for ( TQListViewItemIterator it( ui_->groups ); it.current(); ++it ) {
+ TQCheckListItem *check = dynamic_cast<TQCheckListItem *>( it.current() );
if ( !check ) {
continue;