[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kopete-devel
Subject:    [kopete-devel] (Patch) couple broken connect() in meta contact
From:       Tommi Rantala <tommi.rantala () cs ! helsinki ! fi>
Date:       2005-10-20 14:58:15
Message-ID: 200510201758.16700.tommi.rantala () cs ! helsinki ! fi
[Download RAW message or body]

Hi,

Here's a patch that fixes a couple of connect() calls in the Meta Contact 
Selector Widget (right click some contact -> change meta contact).

QObject::connect: No such signal 
Kopete::ContactList::metaContactAdded(MetaContact*)
QObject::connect:  (sender name:   'KopeteContactList')
QObject::connect:  (receiver name: 'unnamed')
QObject::connect: No such signal Kopete::MetaContact::displayNameChanged()
QObject::connect:  (sender name:   'unnamed')
QObject::connect:  (receiver name: 'unnamed')

OK to commit to 3.5?

-- 
Tommi Rantala

["meta.diff" (text/x-diff)]

Index: libkopete/ui/metacontactselectorwidget.cpp
===================================================================
--- libkopete/ui/metacontactselectorwidget.cpp	(revision 471895)
+++ libkopete/ui/metacontactselectorwidget.cpp	(working copy)
@@ -75,7 +75,7 @@
 	
 	connect( d->metaContact, SIGNAL( photoChanged() ),
 		SLOT( slotPhotoChanged() ) );
-	connect( d->metaContact, SIGNAL( displayNameChanged() ),
+	connect( d->metaContact, SIGNAL( displayNameChanged(const QString&, const QString&) \
),  SLOT( slotDisplayNameChanged() ) );
 	buildVisualComponents();
 }
@@ -194,7 +194,7 @@
 	connect( d->widget->metaContactListView, SIGNAL( spacePressed( QListViewItem * ) ),
 			SIGNAL( metaContactListClicked( QListViewItem * ) ) );
 	
-	connect( Kopete::ContactList::self(), SIGNAL( metaContactAdded( MetaContact * ) ), \
this, SLOT( slotLoadMetaContacts() ) ); +	connect( Kopete::ContactList::self(), \
SIGNAL( metaContactAdded( Kopete::MetaContact * ) ), this, SLOT( \
slotLoadMetaContacts() ) );  
 	d->widget->kListViewSearchLine->setListView(d->widget->metaContactListView);
 	d->widget->metaContactListView->setFullWidth( true );



_______________________________________________
kopete-devel mailing list
kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic