author | alwin <alwin> | 2004-03-02 12:14:15 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-03-02 12:14:15 (UTC) |
commit | 0d59c780513da78033f4d9040475dee9db0256d4 (patch) (unidiff) | |
tree | 503d320b4aa3daae9982082e7b34e3e2c48bdfb7 /examples | |
parent | a0981652d61776d70f25980f035748b21339e946 (diff) | |
download | opie-0d59c780513da78033f4d9040475dee9db0256d4.zip opie-0d59c780513da78033f4d9040475dee9db0256d4.tar.gz opie-0d59c780513da78033f4d9040475dee9db0256d4.tar.bz2 |
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)
-rw-r--r-- | examples/main-tab/simple.cpp | 2 | ||||
-rw-r--r-- | examples/simple-pim/simple.cpp | 16 |
2 files changed, 9 insertions, 9 deletions
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 ) | |||
40 | */ | 40 | */ |
41 | OTabWidget *tab = new OTabWidget(this); | 41 | OTabWidget *tab = new OTabWidget(this); |
42 | connect(tab, SIGNAL(currentChanged(QWidget*) ), | 42 | connect(tab, SIGNAL(currentChanged(QWidget*) ), |
43 | this, SLOT( slotCurrentChanged( QWidget* ) ) ); | 43 | this, SLOT( slotCurrentChanged(QWidget*) ) ); |
44 | setCentralWidget( tab ); | 44 | setCentralWidget( tab ); |
45 | 45 | ||
46 | Simple1 *simple1 = new Simple1( this ); | 46 | 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 ) | |||
79 | * connect the show signal of the PIMListView | 79 | * connect the show signal of the PIMListView |
80 | * to a slot to show a dialog | 80 | * to a slot to show a dialog |
81 | */ | 81 | */ |
82 | connect(m_todoView, SIGNAL(showRecord(const OPimRecord& ) ), | 82 | connect(m_todoView, SIGNAL(showRecord(const OPimRecord&) ), |
83 | this, SLOT(slotShowRecord(const OPimRecord& ) ) ); | 83 | this, SLOT(slotShowRecord(const OPimRecord&) ) ); |
84 | connect(m_dateView, SIGNAL(showRecord(const OPimRecord& ) ), | 84 | connect(m_dateView, SIGNAL(showRecord(const OPimRecord&) ), |
85 | this, SLOT(slotShowRecord(const OPimRecord& ) ) ); | 85 | this, SLOT(slotShowRecord(const OPimRecord&) ) ); |
86 | 86 | ||
87 | /* | 87 | /* |
88 | * Now comes the important lines of code for this example | 88 | * Now comes the important lines of code for this example |
@@ -189,8 +189,8 @@ void MainWindow::slotLoad() { | |||
189 | * the flush is done it emits a signal on receive | 189 | * the flush is done it emits a signal on receive |
190 | */ | 190 | */ |
191 | m_desktopChannel = new QCopChannel("QPE/Desktop"); | 191 | m_desktopChannel = new QCopChannel("QPE/Desktop"); |
192 | connect(m_desktopChannel, SIGNAL(received(const QCString&, const QByteArray& ) ), | 192 | connect(m_desktopChannel, SIGNAL(received(const QCString&,const QByteArray&) ), |
193 | this, SLOT(slotDesktopReceive(const QCString&, const QByteArray& ) ) ); | 193 | this, SLOT(slotDesktopReceive(const QCString&,const QByteArray&) ) ); |
194 | /* the numberof synced channels will be set to zero */ | 194 | /* the numberof synced channels will be set to zero */ |
195 | m_synced = 0; | 195 | m_synced = 0; |
196 | 196 | ||
@@ -307,8 +307,8 @@ void MainWindow::slotDate() { | |||
307 | QPopupMenu *menu = new QPopupMenu(); | 307 | QPopupMenu *menu = new QPopupMenu(); |
308 | /* A Month to select a date from TRUE for auto close */ | 308 | /* A Month to select a date from TRUE for auto close */ |
309 | DateBookMonth *month = new DateBookMonth(menu, 0, true ); | 309 | DateBookMonth *month = new DateBookMonth(menu, 0, true ); |
310 | connect(month, SIGNAL(dateClicked(int, int, int) ), | 310 | connect(month, SIGNAL(dateClicked(int,int,int) ), |
311 | this, SLOT(slotLoadForDay(int, int, int) ) ); | 311 | this, SLOT(slotLoadForDay(int,int,int) ) ); |
312 | 312 | ||
313 | menu->insertItem( month ); | 313 | menu->insertItem( month ); |
314 | 314 | ||