summaryrefslogtreecommitdiff
path: root/core/pim/addressbook
authoralwin <alwin>2004-03-02 12:14:15 (UTC)
committer alwin <alwin>2004-03-02 12:14:15 (UTC)
commit0d59c780513da78033f4d9040475dee9db0256d4 (patch) (side-by-side diff)
tree503d320b4aa3daae9982082e7b34e3e2c48bdfb7 /core/pim/addressbook
parenta0981652d61776d70f25980f035748b21339e946 (diff)
downloadopie-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)
Diffstat (limited to 'core/pim/addressbook') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/abtable.cpp2
-rw-r--r--core/pim/addressbook/abview.cpp8
-rw-r--r--core/pim/addressbook/addressbook.cpp20
-rw-r--r--core/pim/addressbook/contacteditor.cpp60
4 files changed, 45 insertions, 45 deletions
diff --git a/core/pim/addressbook/abtable.cpp b/core/pim/addressbook/abtable.cpp
index f7bff58..29f4383 100644
--- a/core/pim/addressbook/abtable.cpp
+++ b/core/pim/addressbook/abtable.cpp
@@ -128,5 +128,5 @@ AbTable::AbTable( const QValueList<int> order, QWidget *parent, const char *name
init();
setSorting( TRUE );
- connect( this, SIGNAL(clicked(int,int,int,const QPoint &)),
+ connect( this, SIGNAL(clicked(int,int,int,const QPoint&)),
this, SLOT(itemClicked(int,int)) );
diff --git a/core/pim/addressbook/abview.cpp b/core/pim/addressbook/abview.cpp
index 670cdb0..8d61582 100644
--- a/core/pim/addressbook/abview.cpp
+++ b/core/pim/addressbook/abview.cpp
@@ -78,8 +78,8 @@ AbView::AbView ( QWidget* parent, const QValueList<int>& ordered ):
// Connect views to me
- connect ( m_abTable, SIGNAL( signalSwitch( void ) ),
- this, SLOT( slotSwitch( void ) ) );
- connect ( m_ablabel, SIGNAL( signalOkPressed( void ) ),
- this, SLOT( slotSwitch( void ) ) );
+ connect ( m_abTable, SIGNAL( signalSwitch(void) ),
+ this, SLOT( slotSwitch(void) ) );
+ connect ( m_ablabel, SIGNAL( signalOkPressed(void) ),
+ this, SLOT( slotSwitch(void) ) );
load();
diff --git a/core/pim/addressbook/addressbook.cpp b/core/pim/addressbook/addressbook.cpp
index 9cf55b3..8a5f9d5 100644
--- a/core/pim/addressbook/addressbook.cpp
+++ b/core/pim/addressbook/addressbook.cpp
@@ -136,6 +136,6 @@ AddressbookWindow::AddressbookWindow( QWidget *parent, const char *name,
#if !defined(QT_NO_COP)
QCopChannel *addressChannel = new QCopChannel("QPE/Addressbook" , this );
- connect (addressChannel, SIGNAL( received(const QCString &, const QByteArray &)),
- this, SLOT ( appMessage(const QCString &, const QByteArray &) ) );
+ connect (addressChannel, SIGNAL( received(const QCString&,const QByteArray&)),
+ this, SLOT ( appMessage(const QCString&,const QByteArray&) ) );
#endif
// #endif
@@ -157,6 +157,6 @@ AddressbookWindow::AddressbookWindow( QWidget *parent, const char *name,
searchBar->setStretchableWidget( searchEdit );
- connect( searchEdit, SIGNAL( returnPressed( ) ),
- this, SLOT( slotFind( ) ) );
+ connect( searchEdit, SIGNAL( returnPressed() ),
+ this, SLOT( slotFind() ) );
a = new QAction( tr( "Start Search" ), Resource::loadPixmap( "enter" ), QString::null, 0, this, 0 );
@@ -227,6 +227,6 @@ AddressbookWindow::AddressbookWindow( QWidget *parent, const char *name,
vb->addWidget( m_abView );
// abList->setHScrollBarMode( QScrollView::AlwaysOff );
- connect( m_abView, SIGNAL( signalViewSwitched ( int ) ),
- this, SLOT( slotViewSwitched( int ) ) );
+ connect( m_abView, SIGNAL( signalViewSwitched(int) ),
+ this, SLOT( slotViewSwitched(int) ) );
@@ -255,6 +255,6 @@ AddressbookWindow::AddressbookWindow( QWidget *parent, const char *name,
connect( qApp, SIGNAL( flush() ), this, SLOT( flush() ) );
connect( qApp, SIGNAL( reload() ), this, SLOT( reload() ) );
- connect( qApp, SIGNAL( appMessage(const QCString &, const QByteArray &) ),
- this, SLOT( appMessage(const QCString &, const QByteArray &) ) );
+ connect( qApp, SIGNAL( appMessage(const QCString&,const QByteArray&) ),
+ this, SLOT( appMessage(const QCString&,const QByteArray&) ) );
@@ -596,5 +596,5 @@ void AddressbookWindow::slotBeam()
Ir *ir = new Ir( this );
- connect( ir, SIGNAL( done( Ir * ) ), this, SLOT( beamDone( Ir * ) ) );
+ connect( ir, SIGNAL( done(Ir*) ), this, SLOT( beamDone(Ir*) ) );
QString description = c.fullName();
ir->send( beamFilename, description, "text/x-vCard" );
@@ -674,5 +674,5 @@ void AddressbookWindow::appMessage(const QCString &msg, const QByteArray &data)
Ir *ir = new Ir( this );
- connect( ir, SIGNAL( done( Ir * ) ), this, SLOT( beamDone( Ir * ) ) );
+ connect( ir, SIGNAL( done(Ir*) ), this, SLOT( beamDone(Ir*) ) );
QString description = "mycard.vcf";
ir->send( beamFilename, description, "text/x-vCard" );
diff --git a/core/pim/addressbook/contacteditor.cpp b/core/pim/addressbook/contacteditor.cpp
index b1eb042..8acf570 100644
--- a/core/pim/addressbook/contacteditor.cpp
+++ b/core/pim/addressbook/contacteditor.cpp
@@ -536,6 +536,6 @@ void ContactEditor::init() {
gl->addWidget( hBox, counter , 1 );
- connect( birthdayPicker, SIGNAL( dateClicked( int, int, int ) ),
- this, SLOT( slotBirthdayDateChanged( int, int, int ) ) );
+ connect( birthdayPicker, SIGNAL( dateClicked(int,int,int) ),
+ this, SLOT( slotBirthdayDateChanged(int,int,int) ) );
connect( deleteButton, SIGNAL( clicked() ), this, SLOT( slotRemoveBirthday() ) );
@@ -560,6 +560,6 @@ void ContactEditor::init() {
gl->addWidget( hBox, counter , 1 );
- connect( anniversaryPicker, SIGNAL( dateClicked( int, int, int ) ),
- this, SLOT( slotAnniversaryDateChanged( int, int, int ) ) );
+ connect( anniversaryPicker, SIGNAL( dateClicked(int,int,int) ),
+ this, SLOT( slotAnniversaryDateChanged(int,int,int) ) );
connect( deleteButton, SIGNAL( clicked() ), this, SLOT( slotRemoveAnniversary() ) );
@@ -645,30 +645,30 @@ void ContactEditor::init() {
connect( btnFullName, SIGNAL(clicked()), this, SLOT(slotName()) );
- connect( txtFullName, SIGNAL(textChanged(const QString &)),
- this, SLOT(slotFullNameChange(const QString &)) );
- connect( txtSuffix, SIGNAL(textChanged(const QString &)),
- this, SLOT(slotSuffixChange(const QString &)) );
- connect( txtOrganization, SIGNAL(textChanged(const QString &)),
- this, SLOT(slotOrganizationChange(const QString &)) );
- connect( txtChooserField1, SIGNAL(textChanged(const QString &)),
- this, SLOT(slotChooser1Change(const QString &)) );
- connect( txtChooserField2, SIGNAL(textChanged(const QString &)),
- this, SLOT(slotChooser2Change(const QString &)) );
- connect( txtChooserField3, SIGNAL(textChanged(const QString &)),
- this, SLOT(slotChooser3Change(const QString &)) );
- connect( txtChooserField4, SIGNAL(textChanged(const QString &)),
- this, SLOT(slotChooser4Change(const QString &)) );
- connect( txtAddress, SIGNAL(textChanged(const QString &)),
- this, SLOT(slotAddressChange(const QString &)) );
- connect( txtCity, SIGNAL(textChanged(const QString &)),
- this, SLOT(slotCityChange(const QString &)) );
- connect( txtState, SIGNAL(textChanged(const QString &)),
- this, SLOT(slotStateChange(const QString &)) );
- connect( txtZip, SIGNAL(textChanged(const QString &)),
- this, SLOT(slotZipChange(const QString &)) );
- connect( cmbCountry, SIGNAL(textChanged(const QString &)),
- this, SLOT(slotCountryChange(const QString &)) );
- connect( cmbCountry, SIGNAL(activated(const QString &)),
- this, SLOT(slotCountryChange(const QString &)) );
+ connect( txtFullName, SIGNAL(textChanged(const QString&)),
+ this, SLOT(slotFullNameChange(const QString&)) );
+ connect( txtSuffix, SIGNAL(textChanged(const QString&)),
+ this, SLOT(slotSuffixChange(const QString&)) );
+ connect( txtOrganization, SIGNAL(textChanged(const QString&)),
+ this, SLOT(slotOrganizationChange(const QString&)) );
+ connect( txtChooserField1, SIGNAL(textChanged(const QString&)),
+ this, SLOT(slotChooser1Change(const QString&)) );
+ connect( txtChooserField2, SIGNAL(textChanged(const QString&)),
+ this, SLOT(slotChooser2Change(const QString&)) );
+ connect( txtChooserField3, SIGNAL(textChanged(const QString&)),
+ this, SLOT(slotChooser3Change(const QString&)) );
+ connect( txtChooserField4, SIGNAL(textChanged(const QString&)),
+ this, SLOT(slotChooser4Change(const QString&)) );
+ connect( txtAddress, SIGNAL(textChanged(const QString&)),
+ this, SLOT(slotAddressChange(const QString&)) );
+ connect( txtCity, SIGNAL(textChanged(const QString&)),
+ this, SLOT(slotCityChange(const QString&)) );
+ connect( txtState, SIGNAL(textChanged(const QString&)),
+ this, SLOT(slotStateChange(const QString&)) );
+ connect( txtZip, SIGNAL(textChanged(const QString&)),
+ this, SLOT(slotZipChange(const QString&)) );
+ connect( cmbCountry, SIGNAL(textChanged(const QString&)),
+ this, SLOT(slotCountryChange(const QString&)) );
+ connect( cmbCountry, SIGNAL(activated(const QString&)),
+ this, SLOT(slotCountryChange(const QString&)) );
connect( cmbChooserField1, SIGNAL(activated(int)),
this, SLOT(slotCmbChooser1Change(int)) );