summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/gadu/gadueditcontact.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/gadu/gadueditcontact.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/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;