summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/ui/metacontactselectorwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/libkopete/ui/metacontactselectorwidget.cpp')
-rw-r--r--kopete/libkopete/ui/metacontactselectorwidget.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kopete/libkopete/ui/metacontactselectorwidget.cpp b/kopete/libkopete/ui/metacontactselectorwidget.cpp
index 34a4c35c..61a4f14e 100644
--- a/kopete/libkopete/ui/metacontactselectorwidget.cpp
+++ b/kopete/libkopete/ui/metacontactselectorwidget.cpp
@@ -68,7 +68,7 @@ public:
};
-MetaContactSelectorWidgetLVI::MetaContactSelectorWidgetLVI(Kopete::MetaContact *mc, TQListView *parent, TQObject *owner, const char *name) : Kopete::UI::ListView::Item(parent, owner, name) , d( new Private() )
+MetaContactSelectorWidgetLVI::MetaContactSelectorWidgetLVI(Kopete::MetaContact *mc, TQListView *tqparent, TQObject *owner, const char *name) : Kopete::UI::ListView::Item(tqparent, owner, name) , d( new Private() )
{
d->metaContact = mc;
d->photoSize = 60;
@@ -112,12 +112,12 @@ void MetaContactSelectorWidgetLVI::slotPhotoChanged()
{
int photoSize = d->photoSize;
- photoImg = photoImg.smoothScale( photoSize, photoSize, TQImage::ScaleMin ) ;
+ photoImg = photoImg.smoothScale( photoSize, photoSize, TQ_ScaleMin ) ;
// draw a 1 pixel black border
photoPixmap = photoImg;
TQPainter p(&photoPixmap);
- p.setPen(Qt::black);
+ p.setPen(TQt::black);
p.drawLine(0, 0, photoPixmap.width()-1, 0);
p.drawLine(0, photoPixmap.height()-1, photoPixmap.width()-1, photoPixmap.height()-1);
p.drawLine(0, 0, 0, photoPixmap.height()-1);
@@ -181,8 +181,8 @@ public:
};
-MetaContactSelectorWidget::MetaContactSelectorWidget( TQWidget *parent, const char *name )
- : TQWidget( parent, name ), d( new Private() )
+MetaContactSelectorWidget::MetaContactSelectorWidget( TQWidget *tqparent, const char *name )
+ : TQWidget( tqparent, name ), d( new Private() )
{
TQBoxLayout *l = new TQVBoxLayout(this);
d->widget = new MetaContactSelectorWidget_Base(this);
@@ -244,7 +244,7 @@ void MetaContactSelectorWidget::selectMetaContact( Kopete::MetaContact *mc )
void MetaContactSelectorWidget::excludeMetaContact( Kopete::MetaContact *mc )
{
- if( d->excludedMetaContacts.findIndex(mc) == -1 )
+ if( d->excludedMetaContacts.tqfindIndex(mc) == -1 )
{
d->excludedMetaContacts.append(mc);
}
@@ -264,7 +264,7 @@ void MetaContactSelectorWidget::slotLoadMetaContacts()
TQPtrList<Kopete::MetaContact> metaContacts = Kopete::ContactList::self()->metaContacts();
for( Kopete::MetaContact *mc = metaContacts.first(); mc ; mc = metaContacts.next() )
{
- if( !mc->isTemporary() && (d->excludedMetaContacts.findIndex(mc) == -1) )
+ if( !mc->isTemporary() && (d->excludedMetaContacts.tqfindIndex(mc) == -1) )
{
new MetaContactSelectorWidgetLVI(mc, d->widget->metaContactListView);
}