examples/assistant/simpletextviewer/findfiledialog.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
child 7 f7bc934e204c
--- a/examples/assistant/simpletextviewer/findfiledialog.cpp	Tue Jan 26 12:42:25 2010 +0200
+++ b/examples/assistant/simpletextviewer/findfiledialog.cpp	Tue Feb 02 00:43:10 2010 +0200
@@ -176,9 +176,9 @@
     directoryComboBox->setSizePolicy(QSizePolicy::Expanding,
                                      QSizePolicy::Preferred);
 
-    connect(fileNameComboBox, SIGNAL(editTextChanged(const QString &)),
+    connect(fileNameComboBox, SIGNAL(editTextChanged(QString)),
             this, SLOT(update()));
-    connect(directoryComboBox, SIGNAL(currentIndexChanged(const QString &)),
+    connect(directoryComboBox, SIGNAL(currentIndexChanged(QString)),
             this, SLOT(update()));
 }
 
@@ -190,8 +190,8 @@
     foundFilesTree->setRootIsDecorated(false);
     foundFilesTree->setSelectionMode(QAbstractItemView::SingleSelection);
 
-    connect(foundFilesTree, SIGNAL(itemActivated(QTreeWidgetItem *, int)),
-            this, SLOT(openFile(QTreeWidgetItem *)));
+    connect(foundFilesTree, SIGNAL(itemActivated(QTreeWidgetItem*,int)),
+            this, SLOT(openFile(QTreeWidgetItem*)));
 }
 
 void FindFileDialog::createLabels()