summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/yahoo/ui/yahooinvitelistimpl.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/yahoo/ui/yahooinvitelistimpl.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/yahoo/ui/yahooinvitelistimpl.cpp')
-rw-r--r--kopete/protocols/yahoo/ui/yahooinvitelistimpl.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/kopete/protocols/yahoo/ui/yahooinvitelistimpl.cpp b/kopete/protocols/yahoo/ui/yahooinvitelistimpl.cpp
index dcd6e184..594e7a01 100644
--- a/kopete/protocols/yahoo/ui/yahooinvitelistimpl.cpp
+++ b/kopete/protocols/yahoo/ui/yahooinvitelistimpl.cpp
@@ -19,27 +19,27 @@
#include <kdebug.h>
-#include <qlistbox.h>
-#include <qlineedit.h>
+#include <tqlistbox.h>
+#include <tqlineedit.h>
-YahooInviteListImpl::YahooInviteListImpl(QWidget *parent, const char *name) : YahooInviteListBase(parent,name)
+YahooInviteListImpl::YahooInviteListImpl(TQWidget *parent, const char *name) : YahooInviteListBase(parent,name)
{
- listFriends->setSelectionMode( QListBox::Extended );
- listInvited->setSelectionMode( QListBox::Extended );
+ listFriends->setSelectionMode( TQListBox::Extended );
+ listInvited->setSelectionMode( TQListBox::Extended );
}
YahooInviteListImpl::~YahooInviteListImpl()
{
}
-void YahooInviteListImpl::setRoom( const QString &room )
+void YahooInviteListImpl::setRoom( const TQString &room )
{
kdDebug(14180) << k_funcinfo << "Setting roomname to: " << room << endl;
m_room = room;
}
-void YahooInviteListImpl::fillFriendList( const QStringList &buddies )
+void YahooInviteListImpl::fillFriendList( const TQStringList &buddies )
{
kdDebug(14180) << k_funcinfo << "Adding friends: " << buddies << endl;
@@ -59,11 +59,11 @@ void YahooInviteListImpl::updateListBoxes()
listInvited->sort();
}
-void YahooInviteListImpl::addInvitees( const QStringList &invitees )
+void YahooInviteListImpl::addInvitees( const TQStringList &invitees )
{
kdDebug(14180) << k_funcinfo << "Adding invitees: " << invitees << endl;
- for( QStringList::const_iterator it = invitees.begin(); it != invitees.end(); it++ )
+ for( TQStringList::const_iterator it = invitees.begin(); it != invitees.end(); it++ )
{
if( m_inviteeList.find( *it ) == m_inviteeList.end() )
m_inviteeList.push_back( *it );
@@ -74,11 +74,11 @@ void YahooInviteListImpl::addInvitees( const QStringList &invitees )
updateListBoxes();
}
-void YahooInviteListImpl::removeInvitees( const QStringList &invitees )
+void YahooInviteListImpl::removeInvitees( const TQStringList &invitees )
{
kdDebug(14180) << k_funcinfo << "Removing invitees: " << invitees << endl;
- for( QStringList::const_iterator it = invitees.begin(); it != invitees.end(); it++ )
+ for( TQStringList::const_iterator it = invitees.begin(); it != invitees.end(); it++ )
{
if( m_buddyList.find( *it ) == m_buddyList.end() )
m_buddyList.push_back( *it );
@@ -89,7 +89,7 @@ void YahooInviteListImpl::removeInvitees( const QStringList &invitees )
updateListBoxes();
}
-void YahooInviteListImpl::addParticipant( const QString &p )
+void YahooInviteListImpl::addParticipant( const TQString &p )
{
m_participants.push_back( p );
}
@@ -100,7 +100,7 @@ void YahooInviteListImpl::btnInvite_clicked()
if( m_inviteeList.count() )
emit readyToInvite( m_room, m_inviteeList,m_participants, editMessage->text() );
- QDialog::accept();
+ TQDialog::accept();
}
@@ -108,7 +108,7 @@ void YahooInviteListImpl::btnCancel_clicked()
{
kdDebug(14180) << k_funcinfo << endl;
- QDialog::reject();
+ TQDialog::reject();
}
@@ -116,12 +116,12 @@ void YahooInviteListImpl::btnAddCustom_clicked()
{
kdDebug(14180) << k_funcinfo << endl;
- QString userId;
+ TQString userId;
userId = editBuddyAdd->text();
if( userId.isEmpty() )
return;
- addInvitees( QStringList(userId) );
+ addInvitees( TQStringList(userId) );
editBuddyAdd->clear();
}
@@ -130,7 +130,7 @@ void YahooInviteListImpl::btnRemove_clicked()
{
kdDebug(14180) << k_funcinfo << endl;
- QStringList buddies;
+ TQStringList buddies;
for( uint i=0; i<listInvited->count(); i++ )
{
if (listInvited->isSelected(i))
@@ -146,7 +146,7 @@ void YahooInviteListImpl::btnAdd_clicked()
{
kdDebug(14180) << k_funcinfo << endl;
- QStringList buddies;
+ TQStringList buddies;
for( uint i=0; i<listFriends->count(); i++ )
{
if (listFriends->isSelected(i))