[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdepim] /: Normalize signal/Slots
From:       Montel Laurent <montel () kde ! org>
Date:       2012-09-13 16:18:31
Message-ID: 20120913161831.546B1A6094 () git ! kde ! org
[Download RAW message or body]

Git commit da77dd0c79cc845cfce2dac3cada45a06d8ece89 by Montel Laurent.
Committed on 13/09/2012 at 18:17.
Pushed by mlaurent into branch 'master'.

Normalize signal/Slots

M  +1    -1    mailcommon/filter/selectthunderbirdfilterfileswidget.cpp
M  +5    -5    messagecomposer/autocorrection/kmcomposerautocorrectionwidget.cpp
M  +1    -1    messagelist/utils/configureaggregationsdialog.cpp

http://commits.kde.org/kdepim/da77dd0c79cc845cfce2dac3cada45a06d8ece89

diff --git a/mailcommon/filter/selectthunderbirdfilterfileswidget.cpp \
b/mailcommon/filter/selectthunderbirdfilterfileswidget.cpp index 0b7356d..f6b1b53 \
                100644
--- a/mailcommon/filter/selectthunderbirdfilterfileswidget.cpp
+++ b/mailcommon/filter/selectthunderbirdfilterfileswidget.cpp
@@ -27,7 +27,7 @@ SelectThunderbirdFilterFilesWidget::SelectThunderbirdFilterFilesWidget(QWidget \
*  ui(new Ui::SelectThunderbirdFilterFilesWidget)
 {
   ui->setupUi(this);
-  connect(ui->buttonGroup,SIGNAL(buttonClicked \
(QAbstractButton*)),SLOT(slotButtonClicked(QAbstractButton*))); +  \
connect(ui->buttonGroup,SIGNAL(buttonClicked(QAbstractButton*)),SLOT(slotButtonClicked(QAbstractButton*)));
  connect(ui->profiles,SIGNAL(currentIndexChanged(int)),SLOT(slotProfileChanged(int)));
  
   ui->listFiles->setSelectionMode(QAbstractItemView::MultiSelection);
diff --git a/messagecomposer/autocorrection/kmcomposerautocorrectionwidget.cpp \
b/messagecomposer/autocorrection/kmcomposerautocorrectionwidget.cpp index \
                d0c48c5..3bba4c7 100644
--- a/messagecomposer/autocorrection/kmcomposerautocorrectionwidget.cpp
+++ b/messagecomposer/autocorrection/kmcomposerautocorrectionwidget.cpp
@@ -55,11 +55,11 @@ KMComposerAutoCorrectionWidget::KMComposerAutoCorrectionWidget(QWidget \
*parent)  connect(ui->advancedAutocorrection, SIGNAL(stateChanged(int)), this, \
SLOT(enableAdvAutocorrection(int)));  connect(ui->addButton, SIGNAL(clicked()), this, \
SLOT(addAutocorrectEntry()));  connect(ui->removeButton, SIGNAL(clicked()), this, \
                SLOT(removeAutocorrectEntry()));
-  connect(ui->tableWidget, SIGNAL(cellClicked(int, int)), this, \
                SLOT(setFindReplaceText(int, int)));
-  connect(ui->find, SIGNAL(textChanged(const QString &)), this, \
                SLOT(enableAddRemoveButton()));
-  connect(ui->replace, SIGNAL(textChanged(const QString &)), this, \
                SLOT(enableAddRemoveButton()));
-  connect(ui->abbreviation, SIGNAL(textChanged(const QString &)), this, \
                SLOT(abbreviationChanged(const QString &)));
-  connect(ui->twoUpperLetter, SIGNAL(textChanged(const QString &)), this, \
SLOT(twoUpperLetterChanged(const QString &))); +  connect(ui->tableWidget, \
SIGNAL(cellClicked(int,int)), this, SLOT(setFindReplaceText(int,int))); +  \
connect(ui->find, SIGNAL(textChanged(QString)), this, SLOT(enableAddRemoveButton())); \
+  connect(ui->replace, SIGNAL(textChanged(QString)), this, \
SLOT(enableAddRemoveButton())); +  connect(ui->abbreviation, \
SIGNAL(textChanged(QString)), this, SLOT(abbreviationChanged(QString))); +  \
connect(ui->twoUpperLetter, SIGNAL(textChanged(QString)), this, \
SLOT(twoUpperLetterChanged(QString)));  connect(ui->add1, SIGNAL(clicked()), this, \
SLOT(addAbbreviationEntry()));  connect(ui->remove1, SIGNAL(clicked()), this, \
SLOT(removeAbbreviationEntry()));  connect(ui->add2, SIGNAL(clicked()), this, \
                SLOT(addTwoUpperLetterEntry()));
diff --git a/messagelist/utils/configureaggregationsdialog.cpp \
b/messagelist/utils/configureaggregationsdialog.cpp index 1f7f8e1..9834d6a 100644
--- a/messagelist/utils/configureaggregationsdialog.cpp
+++ b/messagelist/utils/configureaggregationsdialog.cpp
@@ -109,7 +109,7 @@ ConfigureAggregationsDialog::ConfigureAggregationsDialog( QWidget \
*parent )  g->addWidget( d->mAggregationList, 0, 0, 7, 1 );
 
   connect( d->mAggregationList, SIGNAL(itemClicked(QListWidgetItem*)),
-           SLOT(aggregationListItemClicked(QListWidgetItem*) ));
+           SLOT(aggregationListItemClicked(QListWidgetItem*)));
 
   d->mNewAggregationButton = new QPushButton( i18n( "New Aggregation" ), base );
   d->mNewAggregationButton->setIcon( KIcon( QLatin1String( "document-new" ) ) );


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic