From 0d59c780513da78033f4d9040475dee9db0256d4 Mon Sep 17 00:00:00 2001
From: alwin <alwin>
Date: Tue, 02 Mar 2004 12:14:15 +0000
Subject: run the optimize_connect script

the whole cvs is tagged with "before_optimize_connect" if there are problems you
can check the diff (but it had compiled and run here)
---
(limited to 'examples')

diff --git a/examples/main-tab/simple.cpp b/examples/main-tab/simple.cpp
index 69dd00f..c5a6d5a 100644
--- a/examples/main-tab/simple.cpp
+++ b/examples/main-tab/simple.cpp
@@ -40,7 +40,7 @@ MainWindow::MainWindow(QWidget *parent,  const char* name, WFlags fl )
      */
     OTabWidget *tab = new OTabWidget(this);
     connect(tab, SIGNAL(currentChanged(QWidget*) ),
-            this, SLOT( slotCurrentChanged( QWidget* ) ) );
+            this, SLOT( slotCurrentChanged(QWidget*) ) );
     setCentralWidget( tab );
 
     Simple1 *simple1 = new Simple1( this );
diff --git a/examples/simple-pim/simple.cpp b/examples/simple-pim/simple.cpp
index 3e9fcd3..029e71b 100644
--- a/examples/simple-pim/simple.cpp
+++ b/examples/simple-pim/simple.cpp
@@ -79,10 +79,10 @@ MainWindow::MainWindow(QWidget *parent,  const char* name, WFlags fl )
      * connect the show signal of the PIMListView
      * to a slot to show a dialog
      */
-    connect(m_todoView, SIGNAL(showRecord(const OPimRecord& ) ),
-            this, SLOT(slotShowRecord(const OPimRecord& ) ) );
-    connect(m_dateView, SIGNAL(showRecord(const OPimRecord& ) ),
-            this, SLOT(slotShowRecord(const OPimRecord& ) ) );
+    connect(m_todoView, SIGNAL(showRecord(const OPimRecord&) ),
+            this, SLOT(slotShowRecord(const OPimRecord&) ) );
+    connect(m_dateView, SIGNAL(showRecord(const OPimRecord&) ),
+            this, SLOT(slotShowRecord(const OPimRecord&) ) );
 
     /*
      * Now comes the important lines of code for this example
@@ -189,8 +189,8 @@ void MainWindow::slotLoad() {
      * the flush is done it emits a signal on receive
      */
     m_desktopChannel = new QCopChannel("QPE/Desktop");
-    connect(m_desktopChannel, SIGNAL(received(const QCString&, const QByteArray& ) ),
-            this, SLOT(slotDesktopReceive(const QCString&, const QByteArray& ) ) );
+    connect(m_desktopChannel, SIGNAL(received(const QCString&,const QByteArray&) ),
+            this, SLOT(slotDesktopReceive(const QCString&,const QByteArray&) ) );
     /* the numberof synced channels will be set to zero */
     m_synced = 0;
 
@@ -307,8 +307,8 @@ void MainWindow::slotDate() {
     QPopupMenu *menu = new QPopupMenu();
     /* A Month to select a date from TRUE for auto close */
     DateBookMonth *month = new DateBookMonth(menu, 0, true );
-    connect(month, SIGNAL(dateClicked(int, int, int) ),
-            this, SLOT(slotLoadForDay(int, int, int) ) );
+    connect(month, SIGNAL(dateClicked(int,int,int) ),
+            this, SLOT(slotLoadForDay(int,int,int) ) );
 
     menu->insertItem( month );
 
--
cgit v0.9.0.2