examples/itemviews/addressbook/addresswidget.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
--- a/examples/itemviews/addressbook/addresswidget.cpp	Tue Jan 26 12:42:25 2010 +0200
+++ b/examples/itemviews/addressbook/addresswidget.cpp	Tue Feb 02 00:43:10 2010 +0200
@@ -49,8 +49,8 @@
 {
     table = new TableModel(this);
     newAddressTab = new NewAddressTab(this);
-    connect(newAddressTab, SIGNAL(sendDetails(QString, QString)),
-        this, SLOT(addEntry(QString, QString))); 
+    connect(newAddressTab, SIGNAL(sendDetails(QString,QString)),
+        this, SLOT(addEntry(QString,QString))); 
 
     addTab(newAddressTab, "Address Book");    
 
@@ -186,8 +186,8 @@
         proxyModel->sort(0, Qt::AscendingOrder);
     
         connect(tableView->selectionModel(),
-            SIGNAL(selectionChanged(const QItemSelection &, const QItemSelection &)),
-            this, SIGNAL(selectionChanged(const QItemSelection &)));
+            SIGNAL(selectionChanged(QItemSelection,QItemSelection)),
+            this, SIGNAL(selectionChanged(QItemSelection)));
 
         addTab(tableView, str);
     }