diff options
Diffstat (limited to 'konq-plugins/kuick/kimcontactmenu.cpp')
-rw-r--r-- | konq-plugins/kuick/kimcontactmenu.cpp | 14 |
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 ); } |