summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/ui/addresseeitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/libkopete/ui/addresseeitem.cpp')
-rw-r--r--kopete/libkopete/ui/addresseeitem.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kopete/libkopete/ui/addresseeitem.cpp b/kopete/libkopete/ui/addresseeitem.cpp
index 405d00d7..9fa9f023 100644
--- a/kopete/libkopete/ui/addresseeitem.cpp
+++ b/kopete/libkopete/ui/addresseeitem.cpp
@@ -17,17 +17,17 @@
Boston, MA 02110-1301, USA.
*/
-#include <qlayout.h>
-#include <qpushbutton.h>
-#include <qgroupbox.h>
-#include <qregexp.h>
+#include <tqlayout.h>
+#include <tqpushbutton.h>
+#include <tqgroupbox.h>
+#include <tqregexp.h>
#include <klocale.h>
#include <kdebug.h>
#include "addresseeitem.h"
-AddresseeItem::AddresseeItem( QListView *parent, const KABC::Addressee &addressee) :
+AddresseeItem::AddresseeItem( TQListView *parent, const KABC::Addressee &addressee) :
KListViewItem( parent ),
mAddressee( addressee )
{
@@ -37,7 +37,7 @@ AddresseeItem::AddresseeItem( QListView *parent, const KABC::Addressee &addresse
pic = mAddressee.logo();
if(pic.isIntern())
{
- QPixmap qpixmap( pic.data().scaleWidth(60) ); //60 pixels seems okay.. kmail uses 60 btw
+ TQPixmap qpixmap( pic.data().scaleWidth(60) ); //60 pixels seems okay.. kmail uses 60 btw
setPixmap( Photo,qpixmap );
}
@@ -45,11 +45,11 @@ AddresseeItem::AddresseeItem( QListView *parent, const KABC::Addressee &addresse
setText( Email, addressee.preferredEmail() );
}
-QString AddresseeItem::key( int column, bool ) const
+TQString AddresseeItem::key( int column, bool ) const
{
if (column == Email) {
- QString value = text(Email);
- QRegExp emailRe(QString::fromLatin1("<\\S*>"));
+ TQString value = text(Email);
+ TQRegExp emailRe(TQString::fromLatin1("<\\S*>"));
int match = emailRe.search(value);
if (match > -1)
value = value.mid(match + 1, emailRe.matchedLength() - 2);