summaryrefslogtreecommitdiff
path: root/libopie2
authoralwin <alwin>2004-03-02 13:25:49 (UTC)
committer alwin <alwin>2004-03-02 13:25:49 (UTC)
commitac3e7c0a1ccbb984f06917ebe6156b1681b7de7f (patch) (side-by-side diff)
treedbfc670acbb2bee8032c1fa34b45948cf3b9631b /libopie2
parentb6b1c97559c0ed9f2e33632272426bf98f289232 (diff)
downloadopie-ac3e7c0a1ccbb984f06917ebe6156b1681b7de7f.zip
opie-ac3e7c0a1ccbb984f06917ebe6156b1681b7de7f.tar.gz
opie-ac3e7c0a1ccbb984f06917ebe6156b1681b7de7f.tar.bz2
applied changes from optimize_connect script
Diffstat (limited to 'libopie2') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/qt3/opieui/ocombobox.cpp20
-rw-r--r--libopie2/qt3/opieui/ocompletionbox.cpp10
-rw-r--r--libopie2/qt3/opieui/ojanuswidget.cpp10
-rw-r--r--libopie2/qt3/opieui/olineedit.cpp24
4 files changed, 32 insertions, 32 deletions
diff --git a/libopie2/qt3/opieui/ocombobox.cpp b/libopie2/qt3/opieui/ocombobox.cpp
index 8dbda8f..bd330e0 100644
--- a/libopie2/qt3/opieui/ocombobox.cpp
+++ b/libopie2/qt3/opieui/ocombobox.cpp
@@ -330,16 +330,16 @@ void OComboBox::setLineEdit( OLineEdit *edit )
if ( d->olineEdit ) {
- connect( d->olineEdit, SIGNAL( completion( const QString& )),
- SIGNAL( completion( const QString& )) );
- connect( d->olineEdit, SIGNAL( substringCompletion( const QString& )),
- SIGNAL( substringCompletion( const QString& )) );
+ connect( d->olineEdit, SIGNAL( completion(const QString&)),
+ SIGNAL( completion(const QString&)) );
+ connect( d->olineEdit, SIGNAL( substringCompletion(const QString&)),
+ SIGNAL( substringCompletion(const QString&)) );
connect( d->olineEdit,
- SIGNAL( textRotation( OCompletionBase::KeyBindingType )),
- SIGNAL( textRotation( OCompletionBase::KeyBindingType )) );
+ SIGNAL( textRotation(OCompletionBase::KeyBindingType)),
+ SIGNAL( textRotation(OCompletionBase::KeyBindingType)) );
connect( d->olineEdit,
- SIGNAL( completionModeChanged( OGlobalSettings::Completion )),
- SIGNAL( completionModeChanged( OGlobalSettings::Completion)));
+ SIGNAL( completionModeChanged(OGlobalSettings::Completion)),
+ SIGNAL( completionModeChanged(OGlobalSettings::Completion)));
connect( d->olineEdit,
- SIGNAL( aboutToShowContextMenu( QPopupMenu * )),
- SIGNAL( aboutToShowContextMenu( QPopupMenu * )) );
+ SIGNAL( aboutToShowContextMenu(QPopupMenu*)),
+ SIGNAL( aboutToShowContextMenu(QPopupMenu*)) );
}
diff --git a/libopie2/qt3/opieui/ocompletionbox.cpp b/libopie2/qt3/opieui/ocompletionbox.cpp
index b594b8e..b36123e 100644
--- a/libopie2/qt3/opieui/ocompletionbox.cpp
+++ b/libopie2/qt3/opieui/ocompletionbox.cpp
@@ -69,10 +69,10 @@ OCompletionBox::OCompletionBox( QWidget *parent, const char *name )
- connect( this, SIGNAL( doubleClicked( QListBoxItem * )),
- SLOT( slotActivated( QListBoxItem * )) );
+ connect( this, SIGNAL( doubleClicked(QListBoxItem*)),
+ SLOT( slotActivated(QListBoxItem*)) );
// grmbl, just QListBox workarounds :[ Thanks Volker.
- connect( this, SIGNAL( currentChanged( QListBoxItem * )),
+ connect( this, SIGNAL( currentChanged(QListBoxItem*)),
SLOT( slotCurrentChanged() ));
- connect( this, SIGNAL( clicked( QListBoxItem * )),
- SLOT( slotItemClicked( QListBoxItem * )) );
+ connect( this, SIGNAL( clicked(QListBoxItem*)),
+ SLOT( slotItemClicked(QListBoxItem*)) );
}
diff --git a/libopie2/qt3/opieui/ojanuswidget.cpp b/libopie2/qt3/opieui/ojanuswidget.cpp
index 0a037ff..063e393 100644
--- a/libopie2/qt3/opieui/ojanuswidget.cpp
+++ b/libopie2/qt3/opieui/ojanuswidget.cpp
@@ -111,3 +111,3 @@ OJanusWidget::OJanusWidget( QWidget *parent, const char *name, int face )
connect( mTreeList, SIGNAL(selectionChanged()), SLOT(slotShowPage()) );
- connect( mTreeList, SIGNAL(clicked(QListViewItem *)), SLOT(slotItemClicked(QListViewItem *)));
+ connect( mTreeList, SIGNAL(clicked(QListViewItem*)), SLOT(slotItemClicked(QListViewItem*)));
@@ -161,4 +161,4 @@ OJanusWidget::OJanusWidget( QWidget *parent, const char *name, int face )
mPageStack = new QWidgetStack( page );
- connect(mPageStack, SIGNAL(aboutToShow(QWidget *)),
- this, SIGNAL(aboutToShowPage(QWidget *)));
+ connect(mPageStack, SIGNAL(aboutToShow(QWidget*)),
+ this, SIGNAL(aboutToShowPage(QWidget*)));
vbox->addWidget( mPageStack, 10 );
@@ -865,5 +865,5 @@ void OJanusWidget::unfoldTreeList( bool persist )
if( persist )
- connect( mTreeList, SIGNAL( collapsed( QListViewItem * ) ), this, SLOT( slotReopen( QListViewItem * ) ) );
+ connect( mTreeList, SIGNAL( collapsed(QListViewItem*) ), this, SLOT( slotReopen(QListViewItem*) ) );
else
- disconnect( mTreeList, SIGNAL( collapsed( QListViewItem * ) ), this, SLOT( slotReopen( QListViewItem * ) ) );
+ disconnect( mTreeList, SIGNAL( collapsed(QListViewItem*) ), this, SLOT( slotReopen(QListViewItem*) ) );
diff --git a/libopie2/qt3/opieui/olineedit.cpp b/libopie2/qt3/opieui/olineedit.cpp
index 9cb0cff..6f66fc7 100644
--- a/libopie2/qt3/opieui/olineedit.cpp
+++ b/libopie2/qt3/opieui/olineedit.cpp
@@ -449,4 +449,4 @@ QPopupMenu *OLineEdit::createPopupMenu()
QPopupMenu *subMenu = new QPopupMenu( popup );
- connect( subMenu, SIGNAL( activated( int ) ),
- this, SLOT( completionMenuActivated( int ) ) );
+ connect( subMenu, SIGNAL( activated(int) ),
+ this, SLOT( completionMenuActivated(int) ) );
@@ -618,6 +618,6 @@ void OLineEdit::makeCompletionBox()
{
- connect( d->completionBox, SIGNAL(highlighted( const QString& )),
- SLOT(setText( const QString& )) );
- connect( d->completionBox, SIGNAL(userCancelled( const QString& )),
- SLOT(setText( const QString& )) );
+ connect( d->completionBox, SIGNAL(highlighted(const QString&)),
+ SLOT(setText(const QString&)) );
+ connect( d->completionBox, SIGNAL(userCancelled(const QString&)),
+ SLOT(setText(const QString&)) );
@@ -627,4 +627,4 @@ void OLineEdit::makeCompletionBox()
if ( parentWidget() && parentWidget()->inherits("KComboBox") )
- connect( d->completionBox, SIGNAL( activated( const QString& )),
- parentWidget(), SIGNAL( activated( const QString & )));
+ connect( d->completionBox, SIGNAL( activated(const QString&)),
+ parentWidget(), SIGNAL( activated(const QString&)));
}
@@ -708,8 +708,8 @@ void OLineEdit::setCompletionObject( OCompletion* comp, bool hsig )
if ( oldComp && handleSignals() )
- disconnect( oldComp, SIGNAL( matches( const QStringList& )),
- this, SLOT( setCompletedItems( const QStringList& )));
+ disconnect( oldComp, SIGNAL( matches(const QStringList&)),
+ this, SLOT( setCompletedItems(const QStringList&)));
if ( comp && hsig )
- connect( comp, SIGNAL( matches( const QStringList& )),
- this, SLOT( setCompletedItems( const QStringList& )));
+ connect( comp, SIGNAL( matches(const QStringList&)),
+ this, SLOT( setCompletedItems(const QStringList&)));