summaryrefslogtreecommitdiffstats
path: root/konq-plugins/kuick/kimcontactmenu.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:22:56 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:22:56 +0000
commit7346aee26bf190a7e70333c40fab4caca847cd27 (patch)
tree4b019b434f88dcc3eeaafe1d3f26240b4c4718e8 /konq-plugins/kuick/kimcontactmenu.cpp
parent23a3d3aa5b44cbdf305495919866d9dbf4f6da54 (diff)
downloadtdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.tar.gz
tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1157634 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konq-plugins/kuick/kimcontactmenu.cpp')
-rw-r--r--konq-plugins/kuick/kimcontactmenu.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/konq-plugins/kuick/kimcontactmenu.cpp b/konq-plugins/kuick/kimcontactmenu.cpp
index 42cf980..77ef7a4 100644
--- a/konq-plugins/kuick/kimcontactmenu.cpp
+++ b/konq-plugins/kuick/kimcontactmenu.cpp
@@ -20,7 +20,7 @@
Boston, MA 02110-1301, USA.
*/
-#include <qstringlist.h>
+#include <tqstringlist.h>
// The following enables kabc for contact name lookups instead of using Kopete's idea of their name.
//#define KIMCONTACTS_USE_KABC
@@ -34,14 +34,14 @@
#include "kimcontactmenu.h"
-KIMContactMenu::KIMContactMenu( QWidget *parent, KIMProxy *proxy )
- : QPopupMenu( parent), mProxy( proxy )
+KIMContactMenu::KIMContactMenu( TQWidget *parent, KIMProxy *proxy )
+ : TQPopupMenu( parent), mProxy( proxy )
{
#ifdef KIMCONTACTS_USE_KABC
m_addressBook = KABC::StdAddressBook::self( false );
#endif
- connect( this, SIGNAL( activated( int ) ), SLOT( slotItemActivated( int ) ) );
- connect( this, SIGNAL( aboutToShow( ) ), this, SLOT( slotAboutToShow( ) ) );
+ connect( this, TQT_SIGNAL( activated( int ) ), TQT_SLOT( slotItemActivated( int ) ) );
+ connect( this, TQT_SIGNAL( aboutToShow( ) ), this, TQT_SLOT( slotAboutToShow( ) ) );
}
KIMContactMenu::~KIMContactMenu()
@@ -61,7 +61,7 @@ void KIMContactMenu::slotAboutToShow()
int i = 0;
- for ( QStringList::Iterator it = mContacts.begin(); it != mContacts.end(); ++it, ++i )
+ for ( TQStringList::Iterator it = mContacts.begin(); it != mContacts.end(); ++it, ++i )
{
#ifdef KIMCONTACTS_USE_KABC
insertItem( mProxy->presenceIcon( *it ), m_addressBook->findByUid( *it ).realName(), i );
@@ -74,7 +74,7 @@ void KIMContactMenu::slotAboutToShow()
void KIMContactMenu::slotItemActivated( int item )
{
// look up corresponding UID
- QString uid = mContacts[ item ];
+ TQString uid = mContacts[ item ];
// emit signal
emit contactChosen( uid );
}