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

List:       kde-commits
Subject:    [labplot] src: Normalized signal-slot connections.
From:       Alexander Semke <alexander.semke () web ! de>
Date:       2014-02-12 20:11:03
Message-ID: E1WDg99-0007hU-Vy () scm ! kde ! org
[Download RAW message or body]

Git commit 680179a3f3170e40cee7505344377b6ef4c52aa4 by Alexander Semke.
Committed on 12/02/2014 at 20:10.
Pushed by asemke into branch 'master'.

Normalized signal-slot connections.

M  +30   -30   src/backend/core/AbstractFilter.cpp
M  +16   -16   src/backend/core/AspectPrivate.cpp
M  +9    -9    src/backend/core/AspectTreeModel.cpp
M  +1    -1    src/backend/datasources/FileDataSource.cpp
M  +3    -3    src/backend/worksheet/Worksheet.cpp
M  +4    -4    src/backend/worksheet/plots/cartesian/CartesianPlot.cpp
M  +8    -8    src/commonfrontend/ProjectExplorer.cpp
M  +2    -2    src/commonfrontend/core/PartMdiView.cpp
M  +8    -8    src/commonfrontend/spreadsheet/SpreadsheetCommentsHeaderModel.cpp
M  +9    -9    src/commonfrontend/spreadsheet/SpreadsheetView.cpp
M  +1    -1    src/commonfrontend/widgets/TreeViewComboBox.cpp
M  +9    -9    src/kdefrontend/GuiObserver.cpp
M  +12   -12   src/kdefrontend/MainWin.cpp
M  +6    -6    src/kdefrontend/SettingsGeneralPage.cpp
M  +2    -2    src/kdefrontend/TemplateHandler.cpp
M  +1    -1    src/kdefrontend/datasources/ImportFileDialog.cpp
M  +1    -1    src/kdefrontend/datasources/ImportFileWidget.cpp
M  +21   -21   src/kdefrontend/dockwidgets/AxisDock.cpp
M  +4    -4    src/kdefrontend/dockwidgets/CartesianPlotDock.cpp
M  +8    -8    src/kdefrontend/dockwidgets/CartesianPlotLegendDock.cpp
M  +1    -1    src/kdefrontend/dockwidgets/ColumnDock.cpp
M  +3    -3    src/kdefrontend/dockwidgets/ProjectDock.cpp
M  +1    -1    src/kdefrontend/dockwidgets/SpreadsheetDock.cpp
M  +7    -7    src/kdefrontend/dockwidgets/WorksheetDock.cpp
M  +16   -16   src/kdefrontend/dockwidgets/XYCurveDock.cpp
M  +4    -4    src/kdefrontend/legacy/FunctionPlotDialog.cpp
M  +3    -3    src/kdefrontend/legacy/FunctionWidget.cpp
M  +1    -1    src/kdefrontend/spreadsheet/SortDialog.cpp
M  +12   -12   src/kdefrontend/widgets/LabelWidget.cpp
M  +1    -1    src/kdefrontend/worksheet/ExportWorksheetDialog.cpp

http://commits.kde.org/labplot/680179a3f3170e40cee7505344377b6ef4c52aa4

diff --git a/src/backend/core/AbstractFilter.cpp \
b/src/backend/core/AbstractFilter.cpp index 22f241a..52fb233 100644
--- a/src/backend/core/AbstractFilter.cpp
+++ b/src/backend/core/AbstractFilter.cpp
@@ -143,40 +143,40 @@ bool AbstractFilter::input(int port, const AbstractColumn* \
source)  inputPlotDesignationChanged(source);
 		inputDescriptionChanged(source);
 		// connect the source's signals
-		QObject::connect(source, SIGNAL(aspectDescriptionAboutToChange(const \
                AbstractAspect *)),
-				this, SLOT(inputDescriptionAboutToChange(const AbstractAspect *)));
-		QObject::connect(source, SIGNAL(aspectDescriptionChanged(const AbstractAspect *)),
-				this, SLOT(inputDescriptionChanged(const AbstractAspect *)));
-		QObject::connect(source, SIGNAL(plotDesignationAboutToChange(const AbstractColumn \
                *)),
-				this, SLOT(inputPlotDesignationAboutToChange(const AbstractColumn *)));
-		QObject::connect(source, SIGNAL(plotDesignationChanged(const AbstractColumn *)),
-				this, SLOT(inputPlotDesignationChanged(const AbstractColumn *)));
-		QObject::connect(source, SIGNAL(modeAboutToChange(const AbstractColumn *)),
-				this, SLOT(inputModeAboutToChange(const AbstractColumn *)));
-		QObject::connect(source, SIGNAL(modeChanged(const AbstractColumn *)),
-				this, SLOT(inputModeChanged(const AbstractColumn *)));
-		QObject::connect(source, SIGNAL(dataAboutToChange(const AbstractColumn *)),
-				this, SLOT(inputDataAboutToChange(const AbstractColumn *)));
-		QObject::connect(source, SIGNAL(dataChanged(const AbstractColumn *)),
-				this, SLOT(inputDataChanged(const AbstractColumn *)));
+		QObject::connect(source, SIGNAL(aspectDescriptionAboutToChange(const \
AbstractAspect*)), +				this, SLOT(inputDescriptionAboutToChange(const \
AbstractAspect*))); +		QObject::connect(source, SIGNAL(aspectDescriptionChanged(const \
AbstractAspect*)), +				this, SLOT(inputDescriptionChanged(const AbstractAspect*)));
+		QObject::connect(source, SIGNAL(plotDesignationAboutToChange(const \
AbstractColumn*)), +				this, SLOT(inputPlotDesignationAboutToChange(const \
AbstractColumn*))); +		QObject::connect(source, SIGNAL(plotDesignationChanged(const \
AbstractColumn*)), +				this, SLOT(inputPlotDesignationChanged(const \
AbstractColumn*))); +		QObject::connect(source, SIGNAL(modeAboutToChange(const \
AbstractColumn*)), +				this, SLOT(inputModeAboutToChange(const AbstractColumn*)));
+		QObject::connect(source, SIGNAL(modeChanged(const AbstractColumn*)),
+				this, SLOT(inputModeChanged(const AbstractColumn*)));
+		QObject::connect(source, SIGNAL(dataAboutToChange(const AbstractColumn*)),
+				this, SLOT(inputDataAboutToChange(const AbstractColumn*)));
+		QObject::connect(source, SIGNAL(dataChanged(const AbstractColumn*)),
+				this, SLOT(inputDataChanged(const AbstractColumn*)));
 		QObject::connect(source, 
-			SIGNAL(rowsAboutToBeInserted(const AbstractColumn *,int,int)),
-			this, SLOT(inputRowsAboutToBeInserted(const AbstractColumn *,int,int)));
+			SIGNAL(rowsAboutToBeInserted(const AbstractColumn*,int,int)),
+			this, SLOT(inputRowsAboutToBeInserted(const AbstractColumn*,int,int)));
 		QObject::connect(source, 
-			SIGNAL(rowsInserted(const AbstractColumn *,int,int)),
-			this, SLOT(inputRowsInserted(const AbstractColumn *,int,int)));
+			SIGNAL(rowsInserted(const AbstractColumn*,int,int)),
+			this, SLOT(inputRowsInserted(const AbstractColumn*,int,int)));
 		QObject::connect(source, 
-			SIGNAL(rowsAboutToBeRemoved(const AbstractColumn *,int,int)),
-			this, SLOT(inputRowsAboutToBeRemoved(const AbstractColumn *,int,int)));
+			SIGNAL(rowsAboutToBeRemoved(const AbstractColumn*,int,int)),
+			this, SLOT(inputRowsAboutToBeRemoved(const AbstractColumn*,int,int)));
 		QObject::connect(source, 
-			SIGNAL(rowsRemoved(const AbstractColumn *, int, int)),
-			this, SLOT(inputRowsRemoved(const AbstractColumn *,int,int)));
-		QObject::connect(source, SIGNAL(maskingAboutToChange(const AbstractColumn *)),
-				this, SLOT(inputMaskingAboutToChange(const AbstractColumn *)));
-		QObject::connect(source, SIGNAL(maskingChanged(const AbstractColumn *)),
-				this, SLOT(inputMaskingChanged(const AbstractColumn *)));
-		QObject::connect(source, SIGNAL(aboutToBeDestroyed(const AbstractColumn *)),
-				this, SLOT(inputAboutToBeDestroyed(const AbstractColumn *)));
+			SIGNAL(rowsRemoved(const AbstractColumn*,int,int)),
+			this, SLOT(inputRowsRemoved(const AbstractColumn*,int,int)));
+		QObject::connect(source, SIGNAL(maskingAboutToChange(const AbstractColumn*)),
+				this, SLOT(inputMaskingAboutToChange(const AbstractColumn*)));
+		QObject::connect(source, SIGNAL(maskingChanged(const AbstractColumn*)),
+				this, SLOT(inputMaskingChanged(const AbstractColumn*)));
+		QObject::connect(source, SIGNAL(aboutToBeDestroyed(const AbstractColumn*)),
+				this, SLOT(inputAboutToBeDestroyed(const AbstractColumn*)));
 	} else { // source==0, that is, the input port has been disconnected
 		// try to shrink m_inputs
 		int num_connected_inputs = m_inputs.size();
diff --git a/src/backend/core/AspectPrivate.cpp b/src/backend/core/AspectPrivate.cpp
index d66f5bd..d9b6fe3 100644
--- a/src/backend/core/AspectPrivate.cpp
+++ b/src/backend/core/AspectPrivate.cpp
@@ -55,24 +55,24 @@ void AbstractAspect::Private::insertChild(int index, \
AbstractAspect* child)  // Can't handle this case here since two undo commands have \
to be created.  Q_ASSERT(child->m_aspect_private->m_parent == 0);
 	child->m_aspect_private->m_parent = m_owner;
-	connect(child, SIGNAL(aspectDescriptionAboutToChange(const AbstractAspect *)), 
-			m_owner, SIGNAL(aspectDescriptionAboutToChange(const AbstractAspect *)));
-	connect(child, SIGNAL(aspectDescriptionChanged(const AbstractAspect *)), 
-			m_owner, SIGNAL(aspectDescriptionChanged(const AbstractAspect *)));
-	connect(child, SIGNAL(aspectAboutToBeAdded(const AbstractAspect *, const \
                AbstractAspect *, const AbstractAspect *)),
-			m_owner, SIGNAL(aspectAboutToBeAdded(const AbstractAspect *, const AbstractAspect \
                *, const AbstractAspect *)));
-	connect(child, SIGNAL(aspectAdded(const AbstractAspect *)),
-			m_owner, SIGNAL(aspectAdded(const AbstractAspect *)));
-	connect(child, SIGNAL(aspectAboutToBeRemoved(const AbstractAspect *)),
-			m_owner, SIGNAL(aspectAboutToBeRemoved(const AbstractAspect *)));
-	connect(child, SIGNAL(aspectRemoved(const AbstractAspect *, const AbstractAspect *, \
                const AbstractAspect *)),
-			m_owner, SIGNAL(aspectRemoved(const AbstractAspect *, const AbstractAspect *, \
                const AbstractAspect *)));
-	connect(child, SIGNAL(aspectHiddenAboutToChange(const AbstractAspect *)),
-			m_owner, SIGNAL(aspectHiddenAboutToChange(const AbstractAspect *)));
+	connect(child, SIGNAL(aspectDescriptionAboutToChange(const AbstractAspect*)), 
+			m_owner, SIGNAL(aspectDescriptionAboutToChange(const AbstractAspect*)));
+	connect(child, SIGNAL(aspectDescriptionChanged(const AbstractAspect*)), 
+			m_owner, SIGNAL(aspectDescriptionChanged(const AbstractAspect*)));
+	connect(child, SIGNAL(aspectAboutToBeAdded(const AbstractAspect*,const \
AbstractAspect*,const AbstractAspect*)), +			m_owner, \
SIGNAL(aspectAboutToBeAdded(const AbstractAspect*,const AbstractAspect*,const \
AbstractAspect*))); +	connect(child, SIGNAL(aspectAdded(const AbstractAspect*)),
+			m_owner, SIGNAL(aspectAdded(const AbstractAspect*)));
+	connect(child, SIGNAL(aspectAboutToBeRemoved(const AbstractAspect*)),
+			m_owner, SIGNAL(aspectAboutToBeRemoved(const AbstractAspect*)));
+	connect(child, SIGNAL(aspectRemoved(const AbstractAspect*,const \
AbstractAspect*,const AbstractAspect*)), +			m_owner, SIGNAL(aspectRemoved(const \
AbstractAspect*,const AbstractAspect*,const AbstractAspect*))); +	connect(child, \
SIGNAL(aspectHiddenAboutToChange(const AbstractAspect*)), +			m_owner, \
SIGNAL(aspectHiddenAboutToChange(const AbstractAspect*)));  connect(child, \
SIGNAL(aspectHiddenChanged(const AbstractAspect*)),  m_owner, \
                SIGNAL(aspectHiddenChanged(const AbstractAspect*)));
-	connect(child, SIGNAL(statusInfo(const QString&)),
-			m_owner, SIGNAL(statusInfo(const QString&)));
+	connect(child, SIGNAL(statusInfo(QString)),
+			m_owner, SIGNAL(statusInfo(QString)));
 }
 
 int AbstractAspect::Private::indexOfChild(const AbstractAspect *child) const
diff --git a/src/backend/core/AspectTreeModel.cpp \
b/src/backend/core/AspectTreeModel.cpp index 1224b19..a491e08 100644
--- a/src/backend/core/AspectTreeModel.cpp
+++ b/src/backend/core/AspectTreeModel.cpp
@@ -78,15 +78,15 @@ AspectTreeModel::AspectTreeModel(AbstractAspect* root, QObject* \
parent)  m_filterCaseSensitivity(Qt::CaseInsensitive),
 	  m_matchCompleteWord(false) {
 
-	connect(m_root, SIGNAL(aspectDescriptionChanged(const AbstractAspect *)),
-		this, SLOT(aspectDescriptionChanged(const AbstractAspect *)));
-	connect(m_root, SIGNAL(aspectAboutToBeAdded(const AbstractAspect *,const \
                AbstractAspect *,const AbstractAspect *)),
-		this, SLOT(aspectAboutToBeAdded(const AbstractAspect *,const AbstractAspect \
                *,const AbstractAspect*)));
-	connect(m_root, SIGNAL(aspectAboutToBeRemoved(const AbstractAspect *)),
-		this, SLOT(aspectAboutToBeRemoved(const AbstractAspect *)));
-	connect(m_root, SIGNAL(aspectAdded(const AbstractAspect *)),
-		this, SLOT(aspectAdded(const AbstractAspect *)));
-	connect(m_root, SIGNAL(aspectRemoved(const AbstractAspect *,const AbstractAspect *, \
const AbstractAspect*)), +	connect(m_root, SIGNAL(aspectDescriptionChanged(const \
AbstractAspect*)), +		this, SLOT(aspectDescriptionChanged(const AbstractAspect*)));
+	connect(m_root, SIGNAL(aspectAboutToBeAdded(const AbstractAspect*,const \
AbstractAspect*,const AbstractAspect*)), +		this, SLOT(aspectAboutToBeAdded(const \
AbstractAspect*,const AbstractAspect*,const AbstractAspect*))); +	connect(m_root, \
SIGNAL(aspectAboutToBeRemoved(const AbstractAspect*)), +		this, \
SLOT(aspectAboutToBeRemoved(const AbstractAspect*))); +	connect(m_root, \
SIGNAL(aspectAdded(const AbstractAspect*)), +		this, SLOT(aspectAdded(const \
AbstractAspect*))); +	connect(m_root, SIGNAL(aspectRemoved(const \
AbstractAspect*,const AbstractAspect*,const AbstractAspect*)),  this, \
SLOT(aspectRemoved()));  connect(m_root, SIGNAL(aspectHiddenAboutToChange(const \
AbstractAspect*)),  this, SLOT(aspectHiddenAboutToChange(const AbstractAspect*)));
diff --git a/src/backend/datasources/FileDataSource.cpp \
b/src/backend/datasources/FileDataSource.cpp index 93c1064..6003bc7 100644
--- a/src/backend/datasources/FileDataSource.cpp
+++ b/src/backend/datasources/FileDataSource.cpp
@@ -237,7 +237,7 @@ void FileDataSource::watch() {
   if (m_fileWatched) {
 	  if (!m_fileSystemWatcher) {
 		m_fileSystemWatcher = new QFileSystemWatcher();
-		connect (m_fileSystemWatcher, SIGNAL(fileChanged(const QString&)), this, \
SLOT(fileChanged())); +		connect (m_fileSystemWatcher, SIGNAL(fileChanged(QString)), \
this, SLOT(fileChanged()));  }
 
 	  if ( !m_fileSystemWatcher->files().contains(m_fileName) )
diff --git a/src/backend/worksheet/Worksheet.cpp \
b/src/backend/worksheet/Worksheet.cpp index 52c73d7..fccce98 100644
--- a/src/backend/worksheet/Worksheet.cpp
+++ b/src/backend/worksheet/Worksheet.cpp
@@ -69,8 +69,8 @@ Worksheet::Worksheet(AbstractScriptingEngine *engine, const QString \
&name)  this, SLOT(handleAspectAdded(const AbstractAspect*)));
 	connect(this, SIGNAL(aspectAboutToBeRemoved(const AbstractAspect*)),
 		this, SLOT(handleAspectAboutToBeRemoved(const AbstractAspect*)));
-	connect(this, SIGNAL( aspectRemoved(const AbstractAspect*, const AbstractAspect* , \
                const AbstractAspect*)),
-		this, SLOT(handleAspectRemoved(const AbstractAspect*, const AbstractAspect*, const \
AbstractAspect*)) ); +	connect(this, SIGNAL(aspectRemoved(const AbstractAspect*,const \
AbstractAspect*,const AbstractAspect*)), +		this, SLOT(handleAspectRemoved(const \
AbstractAspect*,const AbstractAspect*,const AbstractAspect*)) );  init();
 }
 
@@ -165,7 +165,7 @@ QMenu *Worksheet::createContextMenu() {
 QWidget *Worksheet::view() const {
 	if (!m_view) {
 		m_view = new WorksheetView(const_cast<Worksheet *>(this));
-		connect(m_view, SIGNAL(statusInfo(const QString&)), this, SIGNAL(statusInfo(const \
QString&))); +		connect(m_view, SIGNAL(statusInfo(QString)), this, \
SIGNAL(statusInfo(QString)));  }
 	return m_view;
 }
diff --git a/src/backend/worksheet/plots/cartesian/CartesianPlot.cpp \
b/src/backend/worksheet/plots/cartesian/CartesianPlot.cpp index ed89975..87f3870 \
                100644
--- a/src/backend/worksheet/plots/cartesian/CartesianPlot.cpp
+++ b/src/backend/worksheet/plots/cartesian/CartesianPlot.cpp
@@ -144,8 +144,8 @@ void CartesianPlot::init(){
 	initMenus();
 
 	connect(this, SIGNAL(aspectAdded(const AbstractAspect*)), this, \
                SLOT(childAdded(const AbstractAspect*)));
-	connect(this, SIGNAL(aspectRemoved(const AbstractAspect*, const AbstractAspect*, \
                const AbstractAspect*)),
-			this, SLOT(childRemoved(const AbstractAspect*, const AbstractAspect*, const \
AbstractAspect*))); +	connect(this, SIGNAL(aspectRemoved(const AbstractAspect*,const \
AbstractAspect*,const AbstractAspect*)), +			this, SLOT(childRemoved(const \
AbstractAspect*,const AbstractAspect*,const AbstractAspect*)));  \
graphicsItem()->setFlag(QGraphicsItem::ItemIsMovable, true);  \
graphicsItem()->setFlag(QGraphicsItem::ItemClipsChildrenToShape, true);  \
graphicsItem()->setFlag(QGraphicsItem::ItemIsSelectable, true); @@ -633,9 +633,9 @@ \
void CartesianPlot::addCurve(){  //update the legend on changes of the name, line and \
symbol styles  connect(curve, SIGNAL(aspectDescriptionChanged(const \
AbstractAspect*)), this, SLOT(updateLegend()));  connect(curve, \
                SIGNAL(lineTypeChanged(XYCurve::LineType)), this, \
                SLOT(updateLegend()));
-	connect(curve, SIGNAL(linePenChanged(const QPen&)), this, SLOT(updateLegend()));
+	connect(curve, SIGNAL(linePenChanged(QPen)), this, SLOT(updateLegend()));
 	connect(curve, SIGNAL(symbolsTypeIdChanged(QString)), this, SLOT(updateLegend()));
-	connect(curve, SIGNAL(symbolsPenChanged(const QPen&)), this, SLOT(updateLegend()));
+	connect(curve, SIGNAL(symbolsPenChanged(QPen)), this, SLOT(updateLegend()));
 }
 
 void CartesianPlot::addLegend(){
diff --git a/src/commonfrontend/ProjectExplorer.cpp \
b/src/commonfrontend/ProjectExplorer.cpp index e0c5f72..885648d 100644
--- a/src/commonfrontend/ProjectExplorer.cpp
+++ b/src/commonfrontend/ProjectExplorer.cpp
@@ -109,7 +109,7 @@ ProjectExplorer::ProjectExplorer(QWidget* parent) : \
m_projectLoading(false) {  m_columnToHide=0;
 	this->createActions();
 
-	connect(leFilter, SIGNAL(textChanged(const QString&)), this, \
SLOT(filterTextChanged(const QString&))); +	connect(leFilter, \
SIGNAL(textChanged(QString)), this, SLOT(filterTextChanged(QString)));  \
connect(bFilterOptions, SIGNAL(toggled(bool)), this, \
SLOT(toggleFilterOptionsMenu(bool)));  }
 
@@ -195,14 +195,14 @@ void ProjectExplorer::setModel(QAbstractItemModel * model){
 	AspectTreeModel* treeModel = qobject_cast<AspectTreeModel*>(model);
 
 	connect(treeModel, SIGNAL(renameRequested(QModelIndex)), m_treeView, \
                SLOT(edit(QModelIndex)));
-	connect(treeModel, SIGNAL(indexSelected(const QModelIndex&)), this, \
                SLOT(selectIndex(const QModelIndex&) ));
-	connect(treeModel, SIGNAL(indexDeselected(const QModelIndex&)), this, \
SLOT(deselectIndex(const QModelIndex&) )); +	connect(treeModel, \
SIGNAL(indexSelected(QModelIndex)), this, SLOT(selectIndex(QModelIndex))); \
+	connect(treeModel, SIGNAL(indexDeselected(QModelIndex)), this, \
SLOT(deselectIndex(QModelIndex)));  connect(treeModel, \
SIGNAL(hiddenAspectSelected(const AbstractAspect*)), this, \
SIGNAL(hiddenAspectSelected(const AbstractAspect*)));  
-	connect(m_treeView->selectionModel(), SIGNAL(currentChanged(const QModelIndex&, \
                const QModelIndex&)),
-							this, SLOT(currentChanged(const QModelIndex&, const QModelIndex&)) );
-	connect(m_treeView->selectionModel(), SIGNAL(selectionChanged(const \
                QItemSelection&, const QItemSelection&)), 
-					this, SLOT(selectionChanged(const QItemSelection&, const QItemSelection&) ) );
+	connect(m_treeView->selectionModel(), \
SIGNAL(currentChanged(QModelIndex,QModelIndex)), +							this, \
SLOT(currentChanged(QModelIndex,QModelIndex)) ); \
+	connect(m_treeView->selectionModel(), \
SIGNAL(selectionChanged(QItemSelection,QItemSelection)),  +					this, \
SLOT(selectionChanged(QItemSelection,QItemSelection)) );  
 	//create action for showing/hiding the columns in the tree.
 	//this is done here since the number of columns is  not available in \
createActions() yet. @@ -220,7 +220,7 @@ void \
ProjectExplorer::setModel(QAbstractItemModel * model){  }
 
 void ProjectExplorer::setProject( const Project* project) {
-	connect(project, SIGNAL(aspectAdded(const AbstractAspect *)), this, \
SLOT(aspectAdded(const AbstractAspect *))); +	connect(project, \
SIGNAL(aspectAdded(const AbstractAspect*)), this, SLOT(aspectAdded(const \
AbstractAspect*)));  connect(project, SIGNAL(loadStarted()), this, \
SLOT(projectLoadStarted()));  connect(project, SIGNAL(loadFinished()), this, \
SLOT(projectLoadFinished()));  connect(project, \
                SIGNAL(requestSaveState(QXmlStreamWriter*)), this, \
                SLOT(save(QXmlStreamWriter*)));
diff --git a/src/commonfrontend/core/PartMdiView.cpp \
b/src/commonfrontend/core/PartMdiView.cpp index 5898668..2db46b7 100644
--- a/src/commonfrontend/core/PartMdiView.cpp
+++ b/src/commonfrontend/core/PartMdiView.cpp
@@ -47,8 +47,8 @@ PartMdiView::PartMdiView(AbstractPart *part, QWidget * \
embedded_view)  {
 	setWindowIcon(m_part->icon());
 	handleAspectDescriptionChanged(m_part);
-	connect(m_part, SIGNAL(aspectDescriptionChanged(const AbstractAspect *)), 
-		this, SLOT(handleAspectDescriptionChanged(const AbstractAspect *)));
+	connect(m_part, SIGNAL(aspectDescriptionChanged(const AbstractAspect*)), 
+		this, SLOT(handleAspectDescriptionChanged(const AbstractAspect*)));
 	connect(m_part, SIGNAL(aspectAboutToBeRemoved(const AbstractAspect*)),
 			this, SLOT(handleAspectAboutToBeRemoved(const AbstractAspect*)));
 	setWidget(embedded_view);
diff --git a/src/commonfrontend/spreadsheet/SpreadsheetCommentsHeaderModel.cpp \
b/src/commonfrontend/spreadsheet/SpreadsheetCommentsHeaderModel.cpp index \
                575b005..e77e3d5 100644
--- a/src/commonfrontend/spreadsheet/SpreadsheetCommentsHeaderModel.cpp
+++ b/src/commonfrontend/spreadsheet/SpreadsheetCommentsHeaderModel.cpp
@@ -44,14 +44,14 @@ SpreadsheetCommentsHeaderModel::SpreadsheetCommentsHeaderModel( \
SpreadsheetModel  this, SIGNAL(headerDataChanged(Qt::Orientation,int,int)));
 	connect(m_spreadsheet_model, SIGNAL(headerDataChanged(Qt::Orientation,int,int)),
 		this, SIGNAL(headerDataChanged(Qt::Orientation,int,int)));
-	connect(m_spreadsheet_model, SIGNAL(columnsAboutToBeInserted(const \
                QModelIndex&,int,int)),
-		this, SIGNAL(columnsAboutToBeInserted(const QModelIndex&,int,int)));
-	connect(m_spreadsheet_model, SIGNAL(columnsAboutToBeRemoved(const \
                QModelIndex&,int,int)),
-		this, SIGNAL(columnsAboutToBeRemoved(const QModelIndex&,int,int)));
-	connect(m_spreadsheet_model, SIGNAL(columnsInserted(const QModelIndex&,int,int)),
-		this, SIGNAL(columnsInserted(const QModelIndex&,int,int)));
-	connect(m_spreadsheet_model, SIGNAL(columnsRemoved(const QModelIndex&,int,int)),
-		this, SIGNAL(columnsRemoved(const QModelIndex&,int,int)));
+	connect(m_spreadsheet_model, SIGNAL(columnsAboutToBeInserted(QModelIndex,int,int)),
+		this, SIGNAL(columnsAboutToBeInserted(QModelIndex,int,int)));
+	connect(m_spreadsheet_model, SIGNAL(columnsAboutToBeRemoved(QModelIndex,int,int)),
+		this, SIGNAL(columnsAboutToBeRemoved(QModelIndex,int,int)));
+	connect(m_spreadsheet_model, SIGNAL(columnsInserted(QModelIndex,int,int)),
+		this, SIGNAL(columnsInserted(QModelIndex,int,int)));
+	connect(m_spreadsheet_model, SIGNAL(columnsRemoved(QModelIndex,int,int)),
+		this, SIGNAL(columnsRemoved(QModelIndex,int,int)));
 }
 
 SpreadsheetCommentsHeaderModel::~SpreadsheetCommentsHeaderModel(){
diff --git a/src/commonfrontend/spreadsheet/SpreadsheetView.cpp \
b/src/commonfrontend/spreadsheet/SpreadsheetView.cpp index 9c2b58b..a093c38 100644
--- a/src/commonfrontend/spreadsheet/SpreadsheetView.cpp
+++ b/src/commonfrontend/spreadsheet/SpreadsheetView.cpp
@@ -98,7 +98,7 @@ void SpreadsheetView::init(){
 	m_horizontalHeader->installEventFilter(this);
 	connect(m_horizontalHeader, SIGNAL(sectionMoved(int,int,int)), this, \
SLOT(handleHorizontalSectionMoved(int,int,int)));  connect(m_horizontalHeader, \
SIGNAL(sectionDoubleClicked(int)), this, \
                SLOT(handleHorizontalHeaderDoubleClicked(int)));
-	connect(m_horizontalHeader, SIGNAL(sectionResized(int, int, int)), this, \
SLOT(handleHorizontalSectionResized(int, int, int))); +	connect(m_horizontalHeader, \
SIGNAL(sectionResized(int,int,int)), this, \
SLOT(handleHorizontalSectionResized(int,int,int)));  
 	// vertical header
 	QHeaderView * v_header = verticalHeader();
@@ -140,12 +140,12 @@ void SpreadsheetView::init(){
 	//selection relevant connections
 	QItemSelectionModel * sel_model = selectionModel();
 
-	connect(sel_model, SIGNAL(currentColumnChanged(const QModelIndex&, const \
                QModelIndex&)), 
-		this, SLOT(currentColumnChanged(const QModelIndex&, const QModelIndex&)));
-	connect(sel_model, SIGNAL(selectionChanged(const QItemSelection&,const \
                QItemSelection&)),
-		this, SLOT(selectionChanged(const QItemSelection&,const QItemSelection&)));
-	connect(sel_model, SIGNAL(selectionChanged(const QItemSelection&, const \
                QItemSelection&)), 
-			this, SLOT(selectionChanged(const QItemSelection&, const QItemSelection&) ) );
+	connect(sel_model, SIGNAL(currentColumnChanged(QModelIndex,QModelIndex)), 
+		this, SLOT(currentColumnChanged(QModelIndex,QModelIndex)));
+	connect(sel_model, SIGNAL(selectionChanged(QItemSelection,QItemSelection)),
+		this, SLOT(selectionChanged(QItemSelection,QItemSelection)));
+	connect(sel_model, SIGNAL(selectionChanged(QItemSelection,QItemSelection)), 
+			this, SLOT(selectionChanged(QItemSelection,QItemSelection)) );
 			
 	connect(m_spreadsheet, SIGNAL(columnSelected(int)), this, SLOT(selectColumn(int)) \
);   connect(m_spreadsheet, SIGNAL(columnDeselected(int)), this, \
SLOT(deselectColumn(int)) );  @@ -370,9 +370,9 @@ void \
SpreadsheetView::handleAspectAboutToBeRemoved(const AbstractAspect * aspect  }
 
 void SpreadsheetView::updateSectionSize(const Column* col){
-	disconnect(m_horizontalHeader, SIGNAL(sectionResized(int, int, int)), this, \
SLOT(handleHorizontalSectionResized(int, int, int))); \
+	disconnect(m_horizontalHeader, SIGNAL(sectionResized(int,int,int)), this, \
SLOT(handleHorizontalSectionResized(int,int,int)));  \
m_horizontalHeader->resizeSection(m_spreadsheet->indexOfChild<Column>(col), \
                col->width());
-	connect(m_horizontalHeader, SIGNAL(sectionResized(int, int, int)), this, \
SLOT(handleHorizontalSectionResized(int, int, int))); +	connect(m_horizontalHeader, \
SIGNAL(sectionResized(int,int,int)), this, \
SLOT(handleHorizontalSectionResized(int,int,int)));  }
 
 //TODO what for?!?
diff --git a/src/commonfrontend/widgets/TreeViewComboBox.cpp \
b/src/commonfrontend/widgets/TreeViewComboBox.cpp index f7158a5..5c7c82c 100644
--- a/src/commonfrontend/widgets/TreeViewComboBox.cpp
+++ b/src/commonfrontend/widgets/TreeViewComboBox.cpp
@@ -52,7 +52,7 @@ TreeViewComboBox::TreeViewComboBox(QWidget* \
parent):QComboBox(parent){  addItem("");
 	setCurrentIndex(0);
 	
-	connect(&m_treeView, SIGNAL(activated(const QModelIndex&)), this, \
SLOT(treeViewIndexActivated(const QModelIndex&) ) ); +	connect(&m_treeView, \
SIGNAL(activated(QModelIndex)), this, SLOT(treeViewIndexActivated(QModelIndex)) );  }
 
 void TreeViewComboBox::setTopLevelClasses(QList<const char *> list){
diff --git a/src/kdefrontend/GuiObserver.cpp b/src/kdefrontend/GuiObserver.cpp
index d1e33d9..183a8bf 100644
--- a/src/kdefrontend/GuiObserver.cpp
+++ b/src/kdefrontend/GuiObserver.cpp
@@ -71,9 +71,9 @@ Email (use @ for *)  	: alexander.semke*web.de
 
 GuiObserver::GuiObserver(MainWin* mainWin) : m_lastCartesianPlot(0){
 	connect(mainWin->m_projectExplorer, \
                SIGNAL(selectedAspectsChanged(QList<AbstractAspect*>&)), 
-					this, SLOT(selectedAspectsChanged(QList<AbstractAspect*>&) ) );
+					this, SLOT(selectedAspectsChanged(QList<AbstractAspect*>&)) );
 	connect(mainWin->m_projectExplorer, SIGNAL(hiddenAspectSelected(const \
                AbstractAspect*)), 
-					this, SLOT(hiddenAspectSelected(const AbstractAspect*) ) );	
+					this, SLOT(hiddenAspectSelected(const AbstractAspect*)) );	
 	mainWindow=mainWin;
 }
 
@@ -118,7 +118,7 @@ GuiObserver::GuiObserver(MainWin* mainWin) : \
m_lastCartesianPlot(0){  
 	if (!mainWindow->spreadsheetDock){
 	  mainWindow->spreadsheetDock = new SpreadsheetDock(mainWindow->stackedWidget);
-	  connect(mainWindow->spreadsheetDock, SIGNAL(info(const QString&)), \
mainWindow->statusBar(), SLOT(showMessage(const QString&))); +	  \
connect(mainWindow->spreadsheetDock, SIGNAL(info(QString)), mainWindow->statusBar(), \
SLOT(showMessage(QString)));  \
mainWindow->stackedWidget->addWidget(mainWindow->spreadsheetDock);  }
 
@@ -134,7 +134,7 @@ GuiObserver::GuiObserver(MainWin* mainWin) : \
m_lastCartesianPlot(0){  
 	if (!mainWindow->columnDock){
 	  mainWindow->columnDock = new ColumnDock(mainWindow->stackedWidget);
-	  connect(mainWindow->columnDock, SIGNAL(info(const QString&)), \
mainWindow->statusBar(), SLOT(showMessage(const QString&))); +	  \
connect(mainWindow->columnDock, SIGNAL(info(QString)), mainWindow->statusBar(), \
SLOT(showMessage(QString)));  \
mainWindow->stackedWidget->addWidget(mainWindow->columnDock);  }
 	
@@ -150,7 +150,7 @@ GuiObserver::GuiObserver(MainWin* mainWin) : \
m_lastCartesianPlot(0){  
 	if (!mainWindow->worksheetDock){
 	  mainWindow->worksheetDock = new WorksheetDock(mainWindow->stackedWidget);
-	  connect(mainWindow->worksheetDock, SIGNAL(info(const QString&)), \
mainWindow->statusBar(), SLOT(showMessage(const QString&))); +	  \
connect(mainWindow->worksheetDock, SIGNAL(info(QString)), mainWindow->statusBar(), \
SLOT(showMessage(QString)));  \
mainWindow->stackedWidget->addWidget(mainWindow->worksheetDock);  }
 	
@@ -166,7 +166,7 @@ GuiObserver::GuiObserver(MainWin* mainWin) : \
m_lastCartesianPlot(0){  
 	if (!mainWindow->cartesianPlotDock){
 	  mainWindow->cartesianPlotDock = new CartesianPlotDock(mainWindow->stackedWidget);
-	  connect(mainWindow->cartesianPlotDock, SIGNAL(info(const QString&)), \
mainWindow->statusBar(), SLOT(showMessage(const QString&))); +	  \
connect(mainWindow->cartesianPlotDock, SIGNAL(info(QString)), \
mainWindow->statusBar(), SLOT(showMessage(QString)));  \
mainWindow->stackedWidget->addWidget(mainWindow->cartesianPlotDock);  }
 	
@@ -182,7 +182,7 @@ GuiObserver::GuiObserver(MainWin* mainWin) : \
m_lastCartesianPlot(0){  
 	if (!mainWindow->cartesianPlotLegendDock){
 	  mainWindow->cartesianPlotLegendDock = new \
                CartesianPlotLegendDock(mainWindow->stackedWidget);
-	  connect(mainWindow->cartesianPlotLegendDock, SIGNAL(info(const QString&)), \
mainWindow->statusBar(), SLOT(showMessage(const QString&))); +	  \
connect(mainWindow->cartesianPlotLegendDock, SIGNAL(info(QString)), \
mainWindow->statusBar(), SLOT(showMessage(QString)));  \
mainWindow->stackedWidget->addWidget(mainWindow->cartesianPlotLegendDock);  }
 
@@ -198,7 +198,7 @@ GuiObserver::GuiObserver(MainWin* mainWin) : \
m_lastCartesianPlot(0){  
 	if (!mainWindow->axisDock){
 	  mainWindow->axisDock = new AxisDock(mainWindow->stackedWidget);
-	  connect(mainWindow->axisDock, SIGNAL(info(const QString&)), \
mainWindow->statusBar(), SLOT(showMessage(const QString&))); +	  \
connect(mainWindow->axisDock, SIGNAL(info(QString)), mainWindow->statusBar(), \
SLOT(showMessage(QString)));  \
mainWindow->stackedWidget->addWidget(mainWindow->axisDock);  }
 
@@ -217,7 +217,7 @@ GuiObserver::GuiObserver(MainWin* mainWin) : \
m_lastCartesianPlot(0){  
 	if (!mainWindow->xyCurveDock){
 	  mainWindow->xyCurveDock = new XYCurveDock(mainWindow->stackedWidget);
-	  connect(mainWindow->xyCurveDock, SIGNAL(info(const QString&)), \
mainWindow->statusBar(), SLOT(showMessage(const QString&))); +	  \
connect(mainWindow->xyCurveDock, SIGNAL(info(QString)), mainWindow->statusBar(), \
SLOT(showMessage(QString)));  \
mainWindow->stackedWidget->addWidget(mainWindow->xyCurveDock);  }
 	
diff --git a/src/kdefrontend/MainWin.cpp b/src/kdefrontend/MainWin.cpp
index 44f46a3..5649e22 100644
--- a/src/kdefrontend/MainWin.cpp
+++ b/src/kdefrontend/MainWin.cpp
@@ -198,7 +198,7 @@ void MainWin::initActions() {
 	//add some standard actions
  	action = KStandardAction::openNew(this, SLOT(newProject()),actionCollection());
 	action = KStandardAction::open(this, SLOT(openProject()),actionCollection());
-  	m_recentProjectsAction = KStandardAction::openRecent(this, \
SLOT(openRecentProject(const KUrl&)),actionCollection()); +  	m_recentProjectsAction \
= KStandardAction::openRecent(this, \
SLOT(openRecentProject(KUrl)),actionCollection());  m_closeAction = \
KStandardAction::close(this, SLOT(closeProject()),actionCollection());  m_saveAction \
= KStandardAction::save(this, SLOT(saveProject()),actionCollection());  \
m_saveAsAction = KStandardAction::saveAs(this, \
SLOT(saveProjectAs()),actionCollection()); @@ -549,8 +549,8 @@ bool \
MainWin::newProject(){  m_projectExplorer = new \
ProjectExplorer(m_projectExplorerDock);  \
m_projectExplorerDock->setWidget(m_projectExplorer);  
-		connect(m_projectExplorer, SIGNAL(currentAspectChanged(AbstractAspect *)),
-			this, SLOT(handleCurrentAspectChanged(AbstractAspect *)));
+		connect(m_projectExplorer, SIGNAL(currentAspectChanged(AbstractAspect*)),
+			this, SLOT(handleCurrentAspectChanged(AbstractAspect*)));
 			
 		//Properties dock
 		m_propertiesDock = new QDockWidget(this);
@@ -574,14 +574,14 @@ bool MainWin::newProject(){
 	updateGUIOnProjectChanges();
 
 	connect(m_project, SIGNAL(aspectAdded(const AbstractAspect*)), this, \
                SLOT(handleAspectAdded(const AbstractAspect*)));
-	connect(m_project, SIGNAL(aspectRemoved(const AbstractAspect*, const \
AbstractAspect*, const AbstractAspect*)), +	connect(m_project, \
SIGNAL(aspectRemoved(const AbstractAspect*,const AbstractAspect*,const \
AbstractAspect*)),  this, SLOT(handleAspectRemoved(const AbstractAspect*)));
 	connect(m_project, SIGNAL(aspectAboutToBeRemoved(const AbstractAspect*)),
 			this, SLOT(handleAspectAboutToBeRemoved(const AbstractAspect*)));
-	connect(m_project, SIGNAL(statusInfo(const QString&)), statusBar(), \
SLOT(showMessage(const QString&))); +	connect(m_project, SIGNAL(statusInfo(QString)), \
statusBar(), SLOT(showMessage(QString)));  connect(m_project, SIGNAL(changed()), \
this, SLOT(projectChanged()));  connect(m_project, \
                SIGNAL(requestProjectContextMenu(QMenu*)), this, \
                SLOT(createContextMenu(QMenu*)));
-	connect(m_project, SIGNAL(requestFolderContextMenu(const Folder*, QMenu*)), this, \
SLOT(createFolderContextMenu(const Folder*, QMenu*))); +	connect(m_project, \
SIGNAL(requestFolderContextMenu(const Folder*,QMenu*)), this, \
SLOT(createFolderContextMenu(const Folder*,QMenu*)));  connect(m_project, \
SIGNAL(mdiWindowVisibilityChanged()), this, SLOT(updateMdiWindowVisibility()));  
  	m_undoViewEmptyLabel = i18n("Project %1 created").arg(m_project->name());
@@ -962,8 +962,8 @@ void MainWin::handleAspectAboutToBeRemoved(const AbstractAspect \
*aspect){  if (!part) return;
 	PartMdiView *win = part->mdiSubWindow();
 	Q_ASSERT(win);
-	disconnect(win, SIGNAL(statusChanged(PartMdiView *, PartMdiView::SubWindowStatus, \
                PartMdiView::SubWindowStatus)),
-		this, SLOT(handleSubWindowStatusChange(PartMdiView *, \
PartMdiView::SubWindowStatus, PartMdiView::SubWindowStatus))); +	disconnect(win, \
SIGNAL(statusChanged(PartMdiView*,PartMdiView::SubWindowStatus,PartMdiView::SubWindowStatus)),
 +		this, SLOT(handleSubWindowStatusChange(PartMdiView*,PartMdiView::SubWindowStatus,PartMdiView::SubWindowStatus)));
  m_mdiArea->removeSubWindow(win);
 	updateGUI();
 }
@@ -998,8 +998,8 @@ void MainWin::activateSubWindowForAspect(const AbstractAspect* \
aspect) const {  PartMdiView* win = part->mdiSubWindow();
 		if (m_mdiArea->subWindowList().indexOf(win) == -1) {
 			m_mdiArea->addSubWindow(win);
-			connect(win, SIGNAL(statusChanged(PartMdiView*, PartMdiView::SubWindowStatus, \
                PartMdiView::SubWindowStatus)),
-				this, SLOT(handleSubWindowStatusChange(PartMdiView*, \
PartMdiView::SubWindowStatus, PartMdiView::SubWindowStatus))); +			connect(win, \
SIGNAL(statusChanged(PartMdiView*,PartMdiView::SubWindowStatus,PartMdiView::SubWindowStatus)),
 +				this, SLOT(handleSubWindowStatusChange(PartMdiView*,PartMdiView::SubWindowStatus,PartMdiView::SubWindowStatus)));
  }
 		win->show();
 		m_mdiArea->setActiveSubWindow(win);
@@ -1221,8 +1221,8 @@ void MainWin::historyDialog(){
 */
 void MainWin::importFileDialog(){
 	m_importFileDialog = new ImportFileDialog(this);
-	connect (m_importFileDialog, SIGNAL(newSpreadsheetRequested(const QString&)),
-			 this, SLOT(newSpreadsheetForImportFileDialog(const QString&)));
+	connect (m_importFileDialog, SIGNAL(newSpreadsheetRequested(QString)),
+			 this, SLOT(newSpreadsheetForImportFileDialog(QString)));
 	std::auto_ptr<QAbstractItemModel> model(new AspectTreeModel(m_project, this));
 	m_importFileDialog->setModel( model );
 	
diff --git a/src/kdefrontend/SettingsGeneralPage.cpp \
b/src/kdefrontend/SettingsGeneralPage.cpp index f7ed670..3049266 100644
--- a/src/kdefrontend/SettingsGeneralPage.cpp
+++ b/src/kdefrontend/SettingsGeneralPage.cpp
@@ -43,12 +43,12 @@ SettingsGeneralPage::SettingsGeneralPage(QWidget* parent) :
 	ui.setupUi(this);
 	retranslateUi();
 
-	connect(ui.cbLoadOnStart, SIGNAL(currentIndexChanged(int)), this, SLOT( changed()) \
                );
-	connect(ui.cbInterface, SIGNAL(currentIndexChanged(int)), this, SLOT( \
                interfaceChanged(int)) );
-	connect(ui.cbMdiVisibility, SIGNAL(currentIndexChanged(int)), this, SLOT( \
                changed()) );
-	connect(ui.cbTabPosition, SIGNAL(currentIndexChanged(int)), this, SLOT( changed()) \
                );
-	connect(ui.chkAutoSave, SIGNAL(stateChanged(int)), this, SLOT( changed()) );
-	connect(ui.sbAutoSaveInterval, SIGNAL(valueChanged(int)), this, SLOT( changed()) );
+	connect(ui.cbLoadOnStart, SIGNAL(currentIndexChanged(int)), this, SLOT(changed()) \
); +	connect(ui.cbInterface, SIGNAL(currentIndexChanged(int)), this, \
SLOT(interfaceChanged(int)) ); +	connect(ui.cbMdiVisibility, \
SIGNAL(currentIndexChanged(int)), this, SLOT(changed()) ); \
+	connect(ui.cbTabPosition, SIGNAL(currentIndexChanged(int)), this, SLOT(changed()) \
); +	connect(ui.chkAutoSave, SIGNAL(stateChanged(int)), this, SLOT(changed()) );
+	connect(ui.sbAutoSaveInterval, SIGNAL(valueChanged(int)), this, SLOT(changed()) );
 
 	loadSettings();
 	interfaceChanged(ui.cbInterface->currentIndex());
diff --git a/src/kdefrontend/TemplateHandler.cpp \
b/src/kdefrontend/TemplateHandler.cpp index d53acd8..87f61ff 100644
--- a/src/kdefrontend/TemplateHandler.cpp
+++ b/src/kdefrontend/TemplateHandler.cpp
@@ -158,8 +158,8 @@ void TemplateHandler::saveMenu() {
 
 	KLineEdit* leFilename = new KLineEdit("", frame);
 	layout->addWidget(leFilename);
-	connect(leFilename, SIGNAL(returnPressed(const QString&)), this, \
                SLOT(saveNewSelected(const QString&)));
-	connect(leFilename, SIGNAL(returnPressed(const QString&)), &menu, SLOT(close()));
+	connect(leFilename, SIGNAL(returnPressed(QString)), this, \
SLOT(saveNewSelected(QString))); +	connect(leFilename, \
SIGNAL(returnPressed(QString)), &menu, SLOT(close()));  
 	widgetAction->setDefaultWidget(frame);
 	menu.addAction(widgetAction);
diff --git a/src/kdefrontend/datasources/ImportFileDialog.cpp \
b/src/kdefrontend/datasources/ImportFileDialog.cpp index 3c7fc91..d2389eb 100644
--- a/src/kdefrontend/datasources/ImportFileDialog.cpp
+++ b/src/kdefrontend/datasources/ImportFileDialog.cpp
@@ -100,7 +100,7 @@ void ImportFileDialog::setModel(std::auto_ptr<QAbstractItemModel> \
model){  list<<"Folder"<<"Spreadsheet";
   cbAddTo->setTopLevelClasses(list);
   hLayout->addWidget( cbAddTo);
-  connect( cbAddTo, SIGNAL(currentModelIndexChanged(const QModelIndex&)), this, \
SLOT(currentAddToIndexChanged(const QModelIndex&)) ); +  connect( cbAddTo, \
SIGNAL(currentModelIndexChanged(QModelIndex)), this, \
SLOT(currentAddToIndexChanged(QModelIndex)) );  
   bNewSpreadsheet = new QPushButton(frameAddTo);
   bNewSpreadsheet->setIcon(KIcon("insert-table"));
diff --git a/src/kdefrontend/datasources/ImportFileWidget.cpp \
b/src/kdefrontend/datasources/ImportFileWidget.cpp index 182ba1f..f3df43e 100644
--- a/src/kdefrontend/datasources/ImportFileWidget.cpp
+++ b/src/kdefrontend/datasources/ImportFileWidget.cpp
@@ -78,7 +78,7 @@ ImportFileWidget::ImportFileWidget(QWidget* parent) : \
QWidget(parent) {  ui.bSaveFilter->setIcon( KIcon("document-save") );
 	ui.bRefreshPreview->setIcon( KIcon("view-refresh") );
 
-    connect( ui.kleFileName, SIGNAL(textChanged (const QString&)), \
SLOT(fileNameChanged(const QString&)) ); +    connect( ui.kleFileName, \
SIGNAL(textChanged(QString)), SLOT(fileNameChanged(QString)) );  connect( ui.bOpen, \
                SIGNAL(clicked()), this, SLOT (selectFile()) );
     connect( ui.bFileInfo, SIGNAL(clicked()), this, SLOT (fileInfoDialog()) );
 	connect( ui.bSaveFilter, SIGNAL(clicked()), this, SLOT (saveFilter()) );
diff --git a/src/kdefrontend/dockwidgets/AxisDock.cpp \
b/src/kdefrontend/dockwidgets/AxisDock.cpp index ddd83dd..394bd19 100644
--- a/src/kdefrontend/dockwidgets/AxisDock.cpp
+++ b/src/kdefrontend/dockwidgets/AxisDock.cpp
@@ -99,7 +99,7 @@ AxisDock::AxisDock(QWidget* parent):QWidget(parent), \
m_initializing(false){  
 	//"Line"-tab
 	connect( ui.cbLineStyle, SIGNAL(currentIndexChanged(int)), this, \
                SLOT(lineStyleChanged(int)) );
-	connect( ui.kcbLineColor, SIGNAL(changed (const QColor&)), this, \
SLOT(lineColorChanged(const QColor&)) ); +	connect( ui.kcbLineColor, \
SIGNAL(changed(QColor)), this, SLOT(lineColorChanged(QColor)) );  connect( \
ui.sbLineWidth, SIGNAL(valueChanged(double)), this, SLOT(lineWidthChanged(double)) ); \
connect( ui.sbLineOpacity, SIGNAL(valueChanged(int)), this, \
SLOT(lineOpacityChanged(int)) );	  
@@ -108,9 +108,9 @@ AxisDock::AxisDock(QWidget* parent):QWidget(parent), \
m_initializing(false){  connect( ui.cbMajorTicksType, \
SIGNAL(currentIndexChanged(int)), this, SLOT(majorTicksTypeChanged(int)) );  connect( \
ui.sbMajorTicksNumber, SIGNAL(valueChanged(int)), this, \
SLOT(majorTicksNumberChanged(int)) );  connect( ui.leMajorTicksIncrement, \
                SIGNAL(returnPressed()), this, SLOT(majorTicksIncrementChanged()) );
-	connect( cbMajorTicksColumn, SIGNAL(currentModelIndexChanged(const QModelIndex&)), \
this, SLOT(majorTicksColumnChanged(const QModelIndex&)) ); +	connect( \
cbMajorTicksColumn, SIGNAL(currentModelIndexChanged(QModelIndex)), this, \
SLOT(majorTicksColumnChanged(QModelIndex)) );  connect( ui.cbMajorTicksLineStyle, \
                SIGNAL(currentIndexChanged(int)), this, \
                SLOT(majorTicksLineStyleChanged(int)) );
-	connect( ui.kcbMajorTicksColor, SIGNAL(changed (const QColor&)), this, \
SLOT(majorTicksColorChanged(const QColor&)) ); +	connect( ui.kcbMajorTicksColor, \
SIGNAL(changed(QColor)), this, SLOT(majorTicksColorChanged(QColor)) );  connect( \
ui.sbMajorTicksWidth, SIGNAL(valueChanged(double)), this, \
SLOT(majorTicksWidthChanged(double)) );  connect( ui.sbMajorTicksLength, \
SIGNAL(valueChanged(double)), this, SLOT(majorTicksLengthChanged(double)) );  \
connect( ui.sbMajorTicksOpacity, SIGNAL(valueChanged(int)), this, \
SLOT(majorTicksOpacityChanged(int)) ); @@ -120,9 +120,9 @@ \
AxisDock::AxisDock(QWidget* parent):QWidget(parent), m_initializing(false){  connect( \
ui.cbMinorTicksType, SIGNAL(currentIndexChanged(int)), this, \
SLOT(minorTicksTypeChanged(int)) );  connect( ui.sbMinorTicksNumber, \
SIGNAL(valueChanged(int)), this, SLOT(minorTicksNumberChanged(int)) );  connect( \
ui.leMinorTicksIncrement, SIGNAL(returnPressed()), this, \
                SLOT(minorTicksIncrementChanged()) );
-	connect( cbMinorTicksColumn, SIGNAL(currentModelIndexChanged(const QModelIndex&)), \
this, SLOT(minorTicksColumnChanged(const QModelIndex&)) ); +	connect( \
cbMinorTicksColumn, SIGNAL(currentModelIndexChanged(QModelIndex)), this, \
SLOT(minorTicksColumnChanged(QModelIndex)) );  connect( ui.cbMinorTicksLineStyle, \
                SIGNAL(currentIndexChanged(int)), this, \
                SLOT(minorTicksLineStyleChanged(int)) );
-	connect( ui.kcbMinorTicksColor, SIGNAL(changed (const QColor&)), this, \
SLOT(minorTicksColorChanged(const QColor&)) ); +	connect( ui.kcbMinorTicksColor, \
SIGNAL(changed(QColor)), this, SLOT(minorTicksColorChanged(QColor)) );  connect( \
ui.sbMinorTicksWidth, SIGNAL(valueChanged(double)), this, \
SLOT(minorTicksWidthChanged(double)) );  connect( ui.sbMinorTicksLength, \
SIGNAL(valueChanged(double)), this, SLOT(minorTicksLengthChanged(double)) );  \
connect( ui.sbMinorTicksOpacity, SIGNAL(valueChanged(int)), this, \
SLOT(minorTicksOpacityChanged(int)) ); @@ -136,8 +136,8 @@ \
AxisDock::AxisDock(QWidget* parent):QWidget(parent), m_initializing(false){  connect( \
ui.cbLabelsPosition, SIGNAL(currentIndexChanged(int)), this, \
SLOT(labelsPositionChanged(int)) );  connect( ui.sbLabelsOffset, \
SIGNAL(valueChanged(double)), this, SLOT(labelsOffsetChanged(double)) );  connect( \
ui.sbLabelsRotation, SIGNAL(valueChanged(int)), this, \
                SLOT(labelsRotationChanged(int)) );
-	connect( ui.kfrLabelsFont, SIGNAL(fontSelected(const QFont& )), this, \
                SLOT(labelsFontChanged(const QFont&)) );
-	connect( ui.kcbLabelsFontColor, SIGNAL(changed (const QColor&)), this, \
SLOT(labelsFontColorChanged(const QColor&)) ); +	connect( ui.kfrLabelsFont, \
SIGNAL(fontSelected(QFont)), this, SLOT(labelsFontChanged(QFont)) ); +	connect( \
ui.kcbLabelsFontColor, SIGNAL(changed(QColor)), this, \
SLOT(labelsFontColorChanged(QColor)) );  connect( ui.leLabelsPrefix, \
SIGNAL(returnPressed()), this, SLOT(labelsPrefixChanged()) );  connect( \
ui.leLabelsSuffix, SIGNAL(returnPressed()), this, SLOT(labelsSuffixChanged()) );  \
connect( ui.sbLabelsOpacity, SIGNAL(valueChanged(int)), this, \
SLOT(labelsOpacityChanged(int)) ); @@ -145,17 +145,17 @@ AxisDock::AxisDock(QWidget* \
parent):QWidget(parent), m_initializing(false){  /*
 
 	connect( ui.sbLabelsPrecision, SIGNAL(valueChanged(int)), this, \
                SLOT(slotDataChanged()) );
-	connect( ui.cbLabelsFormat, SIGNAL(currentIndexChanged(const QString&)), this, \
                SLOT(labelFormatChanged(const QString&)) );
-	connect( ui.leLabelsDateFormat, SIGNAL(textChanged(const QString&)), this, \
SLOT(slotDataChanged()) ); +	connect( ui.cbLabelsFormat, \
SIGNAL(currentIndexChanged(QString)), this, SLOT(labelFormatChanged(QString)) ); \
+	connect( ui.leLabelsDateFormat, SIGNAL(textChanged(QString)), this, \
                SLOT(slotDataChanged()) );
 */
 	//"Grid"-tab
 	connect( ui.cbMajorGridStyle, SIGNAL(currentIndexChanged(int)), this, \
                SLOT(majorGridStyleChanged(int)) );
-	connect( ui.kcbMajorGridColor, SIGNAL(changed (const QColor&)), this, \
SLOT(majorGridColorChanged(const QColor&)) ); +	connect( ui.kcbMajorGridColor, \
SIGNAL(changed(QColor)), this, SLOT(majorGridColorChanged(QColor)) );  connect( \
ui.sbMajorGridWidth, SIGNAL(valueChanged(double)), this, \
SLOT(majorGridWidthChanged(double)) );  connect( ui.sbMajorGridOpacity, \
SIGNAL(valueChanged(int)), this, SLOT(majorGridOpacityChanged(int)) );  
 	connect( ui.cbMinorGridStyle, SIGNAL(currentIndexChanged(int)), this, \
                SLOT(minorGridStyleChanged(int)) );
-	connect( ui.kcbMinorGridColor, SIGNAL(changed (const QColor&)), this, \
SLOT(minorGridColorChanged(const QColor&)) ); +	connect( ui.kcbMinorGridColor, \
SIGNAL(changed(QColor)), this, SLOT(minorGridColorChanged(QColor)) );  connect( \
ui.sbMinorGridWidth, SIGNAL(valueChanged(double)), this, \
SLOT(minorGridWidthChanged(double)) );  connect( ui.sbMinorGridOpacity, \
SIGNAL(valueChanged(int)), this, SLOT(minorGridOpacityChanged(int)) );  
@@ -164,7 +164,7 @@ AxisDock::AxisDock(QWidget* parent):QWidget(parent), \
m_initializing(false){  ui.verticalLayout->addWidget(templateHandler);
 	connect(templateHandler, SIGNAL(loadConfigRequested(KConfig&)), this, \
SLOT(loadConfigFromTemplate(KConfig&)));  connect(templateHandler, \
                SIGNAL(saveConfigRequested(KConfig&)), this, \
                SLOT(saveConfig(KConfig&)));
-	connect(templateHandler, SIGNAL(info(const QString&)), this, SIGNAL(info(const \
QString&))); +	connect(templateHandler, SIGNAL(info(QString)), this, \
SIGNAL(info(QString)));  
 	init();
 }
@@ -289,7 +289,7 @@ void AxisDock::setAxes(QList<Axis*> list){
 	connect(m_axis, SIGNAL(scalingFactorChanged(qreal)), this, \
SLOT(axisScalingFactorChanged(qreal)));  
 	// line
-	connect(m_axis, SIGNAL(linePenChanged(const QPen&)), this, \
SLOT(axisLinePenChanged(const QPen&))); +	connect(m_axis, \
SIGNAL(linePenChanged(QPen)), this, SLOT(axisLinePenChanged(QPen)));  connect(m_axis, \
SIGNAL(lineOpacityChanged(qreal)), this, SLOT(axisLineOpacityChanged(qreal)));  
 	// ticks
@@ -297,14 +297,14 @@ void AxisDock::setAxes(QList<Axis*> list){
 	connect(m_axis, SIGNAL(majorTicksTypeChanged(Axis::TicksType)), this, \
SLOT(axisMajorTicksTypeChanged(Axis::TicksType)));  connect(m_axis, \
SIGNAL(majorTicksNumberChanged(int)), this, SLOT(axisMajorTicksNumberChanged(int)));  \
connect(m_axis, SIGNAL(majorTicksIncrementChanged(qreal)), this, \
                SLOT(axisMajorTicksIncrementChanged(qreal)));
-	connect(m_axis, SIGNAL(majorTicksPenChanged(const QPen&)), this, \
SLOT(axisMajorTicksPenChanged(const QPen&))); +	connect(m_axis, \
SIGNAL(majorTicksPenChanged(QPen)), this, SLOT(axisMajorTicksPenChanged(QPen)));  \
connect(m_axis, SIGNAL(majorTicksLengthChanged(qreal)), this, \
SLOT(axisMajorTicksLengthChanged(qreal)));  connect(m_axis, \
SIGNAL(majorTicksOpacityChanged(qreal)), this, \
SLOT(axisMajorTicksOpacityChanged(qreal)));  connect(m_axis, \
SIGNAL(minorTicksDirectionChanged(Axis::TicksDirection)), this, \
SLOT(axisMinorTicksDirectionChanged(Axis::TicksDirection)));  connect(m_axis, \
SIGNAL(minorTicksTypeChanged(Axis::TicksType)), this, \
SLOT(axisMinorTicksTypeChanged(Axis::TicksType)));  connect(m_axis, \
SIGNAL(minorTicksNumberChanged(int)), this, SLOT(axisMinorTicksNumberChanged(int)));  \
connect(m_axis, SIGNAL(minorTicksIncrementChanged(qreal)), this, \
                SLOT(axisMinorTicksIncrementChanged(qreal)));
-	connect(m_axis, SIGNAL(minorTicksPenChanged(const QPen&)), this, \
SLOT(axisMinorTicksPenChanged(const QPen&))); +	connect(m_axis, \
SIGNAL(minorTicksPenChanged(QPen)), this, SLOT(axisMinorTicksPenChanged(QPen)));  \
connect(m_axis, SIGNAL(minorTicksLengthChanged(qreal)), this, \
SLOT(axisMinorTicksLengthChanged(qreal)));  connect(m_axis, \
SIGNAL(minorTicksOpacityChanged(qreal)), this, \
SLOT(axisMinorTicksOpacityChanged(qreal)));  
@@ -315,16 +315,16 @@ void AxisDock::setAxes(QList<Axis*> list){
 	connect(m_axis, SIGNAL(labelsPositionChanged(Axis::LabelsPosition)), this, \
SLOT(axisLabelsPositionChanged(Axis::LabelsPosition)));  connect(m_axis, \
SIGNAL(labelsOffsetChanged(float)), this, SLOT(axisLabelsOffsetChanged(float)));  \
connect(m_axis, SIGNAL(labelsRotationAngleChanged(qreal)), this, \
                SLOT(axisLabelsRotationAngleChanged(qreal)));
-	connect(m_axis, SIGNAL(labelsFontChanged(const QFont&)), this, \
                SLOT(axisLabelsFontChanged(const QFont&)));
-	connect(m_axis, SIGNAL(labelsColorChanged(const QColor&)), this, \
                SLOT(axisLabelsFontColorChanged(const QColor&)));
-	connect(m_axis, SIGNAL(labelsPrefixChanged(const QString&)), this, \
                SLOT(axisLabelsPrefixChanged(const QString&)));
-	connect(m_axis, SIGNAL(labelsSuffixChanged(const QString&)), this, \
SLOT(axisLabelsSuffixChanged(const QString&))); +	connect(m_axis, \
SIGNAL(labelsFontChanged(QFont)), this, SLOT(axisLabelsFontChanged(QFont))); \
+	connect(m_axis, SIGNAL(labelsColorChanged(QColor)), this, \
SLOT(axisLabelsFontColorChanged(QColor))); +	connect(m_axis, \
SIGNAL(labelsPrefixChanged(QString)), this, SLOT(axisLabelsPrefixChanged(QString))); \
+	connect(m_axis, SIGNAL(labelsSuffixChanged(QString)), this, \
SLOT(axisLabelsSuffixChanged(QString)));  connect(m_axis, \
SIGNAL(labelsOpacityChanged(qreal)), this, SLOT(axisLabelsOpacityChanged(qreal)));  
 	// grids
-	connect(m_axis, SIGNAL(majorGridPenChanged(const QPen&)), this, \
SLOT(axisMajorGridPenChanged(const QPen&))); +	connect(m_axis, \
SIGNAL(majorGridPenChanged(QPen)), this, SLOT(axisMajorGridPenChanged(QPen)));  \
connect(m_axis, SIGNAL(majorGridOpacityChanged(qreal)), this, \
                SLOT(axisMajorGridOpacityChanged(qreal)));
-	connect(m_axis, SIGNAL(minorGridPenChanged(const QPen&)), this, \
SLOT(axisMinorGridPenChanged(const QPen&))); +	connect(m_axis, \
SIGNAL(minorGridPenChanged(QPen)), this, SLOT(axisMinorGridPenChanged(QPen)));  \
connect(m_axis, SIGNAL(minorGridOpacityChanged(qreal)), this, \
SLOT(axisMinorGridOpacityChanged(qreal)));  
 	connect(m_axis, SIGNAL(visibleChanged(bool)), this, \
                SLOT(axisVisibleChanged(bool)));
diff --git a/src/kdefrontend/dockwidgets/CartesianPlotDock.cpp \
b/src/kdefrontend/dockwidgets/CartesianPlotDock.cpp index 8a49dc5..6295d52 100644
--- a/src/kdefrontend/dockwidgets/CartesianPlotDock.cpp
+++ b/src/kdefrontend/dockwidgets/CartesianPlotDock.cpp
@@ -122,13 +122,13 @@ CartesianPlotDock::CartesianPlotDock(QWidget *parent): \
QWidget(parent),  connect(ui.bOpen, SIGNAL(clicked(bool)), this, SLOT(selectFile()));
 	connect( ui.kleBackgroundFileName, SIGNAL(returnPressed()), this, \
SLOT(fileNameChanged()) );  connect( ui.kleBackgroundFileName, \
                SIGNAL(clearButtonClicked()), this, SLOT(fileNameChanged()) );
-	connect( ui.kcbBackgroundFirstColor, SIGNAL(changed (const QColor &)), this, \
                SLOT(backgroundFirstColorChanged(const QColor&)) );
-	connect( ui.kcbBackgroundSecondColor, SIGNAL(changed (const QColor &)), this, \
SLOT(backgroundSecondColorChanged(const QColor&)) ); +	connect( \
ui.kcbBackgroundFirstColor, SIGNAL(changed(QColor)), this, \
SLOT(backgroundFirstColorChanged(QColor)) ); +	connect( ui.kcbBackgroundSecondColor, \
SIGNAL(changed(QColor)), this, SLOT(backgroundSecondColorChanged(QColor)) );  \
connect( ui.sbBackgroundOpacity, SIGNAL(valueChanged(int)), this, \
SLOT(backgroundOpacityChanged(int)) );  
 	//Border 
 	connect( ui.cbBorderStyle, SIGNAL(currentIndexChanged(int)), this, \
                SLOT(borderStyleChanged(int)) );
-	connect( ui.kcbBorderColor, SIGNAL(changed (const QColor &)), this, \
SLOT(borderColorChanged(const QColor&)) ); +	connect( ui.kcbBorderColor, \
SIGNAL(changed(QColor)), this, SLOT(borderColorChanged(QColor)) );  connect( \
ui.sbBorderWidth, SIGNAL(valueChanged(double)), this, \
SLOT(borderWidthChanged(double)) );  connect( ui.sbBorderOpacity, \
SIGNAL(valueChanged(int)), this, SLOT(borderOpacityChanged(int)) );  
@@ -141,7 +141,7 @@ CartesianPlotDock::CartesianPlotDock(QWidget *parent): \
QWidget(parent),  templateHandler->show();
 	connect(templateHandler, SIGNAL(loadConfigRequested(KConfig&)), this, \
SLOT(loadConfigFromTemplate(KConfig&)));  connect(templateHandler, \
                SIGNAL(saveConfigRequested(KConfig&)), this, \
                SLOT(saveConfig(KConfig&)));
-	connect(templateHandler, SIGNAL(info(const QString&)), this, SIGNAL(info(const \
QString&))); +	connect(templateHandler, SIGNAL(info(QString)), this, \
SIGNAL(info(QString)));  
 	//TODO: activate the tab for scale breakings later again
 	ui.tabWidget->removeTab(2);
diff --git a/src/kdefrontend/dockwidgets/CartesianPlotLegendDock.cpp \
b/src/kdefrontend/dockwidgets/CartesianPlotLegendDock.cpp index 0919366..8e293e8 \
                100644
--- a/src/kdefrontend/dockwidgets/CartesianPlotLegendDock.cpp
+++ b/src/kdefrontend/dockwidgets/CartesianPlotLegendDock.cpp
@@ -84,8 +84,8 @@ CartesianPlotLegendDock::CartesianPlotLegendDock(QWidget *parent): \
QWidget(paren  connect( ui.leName, SIGNAL(returnPressed()), this, SLOT(nameChanged()) \
);  connect( ui.leComment, SIGNAL(returnPressed()), this, SLOT(commentChanged()) );
 	connect( ui.chkVisible, SIGNAL(stateChanged(int)), this, \
                SLOT(visibilityChanged(int)) );
-	connect( ui.kfrLabelFont, SIGNAL(fontSelected(const QFont&)), this, \
                SLOT(labelFontChanged(const QFont&)) );
-	connect( ui.kcbLabelColor, SIGNAL(changed(const QColor&)), this, \
SLOT(labelColorChanged(const QColor&)) ); +	connect( ui.kfrLabelFont, \
SIGNAL(fontSelected(QFont)), this, SLOT(labelFontChanged(QFont)) ); +	connect( \
ui.kcbLabelColor, SIGNAL(changed(QColor)), this, SLOT(labelColorChanged(QColor)) );  \
connect( ui.cbOrder, SIGNAL(currentIndexChanged(int)), this, \
SLOT(labelOrderChanged(int)) );  connect( ui.sbLineSymbolWidth, \
SIGNAL(valueChanged(double)), this, SLOT(lineSymbolWidthChanged(double)) );  
@@ -102,13 +102,13 @@ CartesianPlotLegendDock::CartesianPlotLegendDock(QWidget \
*parent): QWidget(paren  connect(ui.bOpen, SIGNAL(clicked(bool)), this, \
SLOT(selectFile()));  connect( ui.kleBackgroundFileName, SIGNAL(returnPressed()), \
this, SLOT(fileNameChanged()) );  connect( ui.kleBackgroundFileName, \
                SIGNAL(clearButtonClicked()), this, SLOT(fileNameChanged()) );
-	connect( ui.kcbBackgroundFirstColor, SIGNAL(changed (const QColor &)), this, \
                SLOT(backgroundFirstColorChanged(const QColor&)) );
-	connect( ui.kcbBackgroundSecondColor, SIGNAL(changed (const QColor &)), this, \
SLOT(backgroundSecondColorChanged(const QColor&)) ); +	connect( \
ui.kcbBackgroundFirstColor, SIGNAL(changed(QColor)), this, \
SLOT(backgroundFirstColorChanged(QColor)) ); +	connect( ui.kcbBackgroundSecondColor, \
SIGNAL(changed(QColor)), this, SLOT(backgroundSecondColorChanged(QColor)) );  \
connect( ui.sbBackgroundOpacity, SIGNAL(valueChanged(int)), this, \
SLOT(backgroundOpacityChanged(int)) );  
 	//Border 
 	connect( ui.cbBorderStyle, SIGNAL(currentIndexChanged(int)), this, \
                SLOT(borderStyleChanged(int)) );
-	connect( ui.kcbBorderColor, SIGNAL(changed (const QColor &)), this, \
SLOT(borderColorChanged(const QColor&)) ); +	connect( ui.kcbBorderColor, \
SIGNAL(changed(QColor)), this, SLOT(borderColorChanged(QColor)) );  connect( \
ui.sbBorderWidth, SIGNAL(valueChanged(double)), this, \
SLOT(borderWidthChanged(double)) );  connect( ui.sbBorderOpacity, \
SIGNAL(valueChanged(int)), this, SLOT(borderOpacityChanged(int)) );  
@@ -126,7 +126,7 @@ CartesianPlotLegendDock::CartesianPlotLegendDock(QWidget \
*parent): QWidget(paren  templateHandler->show();
 	connect(templateHandler, SIGNAL(loadConfigRequested(KConfig&)), this, \
SLOT(loadConfigFromTemplate(KConfig&)));  connect(templateHandler, \
                SIGNAL(saveConfigRequested(KConfig&)), this, \
                SLOT(saveConfig(KConfig&)));
-	connect(templateHandler, SIGNAL(info(const QString&)), this, SIGNAL(info(const \
QString&))); +	connect(templateHandler, SIGNAL(info(QString)), this, \
SIGNAL(info(QString)));  
 	init();
 }
@@ -179,8 +179,8 @@ void \
CartesianPlotLegendDock::setLegends(QList<CartesianPlotLegend*> list) {  connect( \
m_legend, SIGNAL(labelFontChanged(QFont&)), this, \
SLOT(legendLabelFontChanged(QFont&)) );  connect( m_legend, \
SIGNAL(labelColorChanged(QColor&)), this, SLOT(legendLabelColorChanged(QColor&)) );  \
connect( m_legend, SIGNAL(labelColumnMajorChanged(bool)), this, \
                SLOT(legendLabelOrderChanged(bool)) );
-	connect( m_legend, SIGNAL(positionChanged(const \
                CartesianPlotLegend::PositionWrapper&)),
-			 this, SLOT(legendPositionChanged(const CartesianPlotLegend::PositionWrapper&)) \
); +	connect( m_legend, \
SIGNAL(positionChanged(CartesianPlotLegend::PositionWrapper)), +			 this, \
SLOT(legendPositionChanged(CartesianPlotLegend::PositionWrapper)) );  connect( \
m_legend, SIGNAL(lineSymbolWidthChanged(float)), this, \
SLOT(legendLineSymbolWidthChanged(float)) );  
 	//background
diff --git a/src/kdefrontend/dockwidgets/ColumnDock.cpp \
b/src/kdefrontend/dockwidgets/ColumnDock.cpp index 15e7877..0626f52 100644
--- a/src/kdefrontend/dockwidgets/ColumnDock.cpp
+++ b/src/kdefrontend/dockwidgets/ColumnDock.cpp
@@ -133,7 +133,7 @@ void ColumnDock::setColumns(QList<Column*> list){
 	connect(m_column, SIGNAL(aspectDescriptionChanged(const AbstractAspect*)),this, \
SLOT(columnDescriptionChanged(const AbstractAspect*)));  \
connect(m_column->outputFilter(), SIGNAL(formatChanged()),this, \
SLOT(columnFormatChanged()));  connect(m_column->outputFilter(), \
                SIGNAL(digitsChanged()),this, SLOT(columnPrecisionChanged()));
-	connect(m_column, SIGNAL(plotDesignationChanged(const AbstractColumn*)),this, \
SLOT(columnPlotDesignationChanged(const AbstractColumn *))); +	connect(m_column, \
SIGNAL(plotDesignationChanged(const AbstractColumn*)),this, \
SLOT(columnPlotDesignationChanged(const AbstractColumn*)));  
 	m_initializing=false;
 }
diff --git a/src/kdefrontend/dockwidgets/ProjectDock.cpp \
b/src/kdefrontend/dockwidgets/ProjectDock.cpp index 35ec2c0..9ac6b02 100644
--- a/src/kdefrontend/dockwidgets/ProjectDock.cpp
+++ b/src/kdefrontend/dockwidgets/ProjectDock.cpp
@@ -43,9 +43,9 @@ ProjectDock::ProjectDock(QWidget *parent): \
QWidget(parent),	m_project(0), m_init  ui.setupUi(this);
 
 	// SLOTS
-	connect(ui.leName, SIGNAL( textChanged(const QString&) ), this, SLOT( \
                titleChanged(const QString&) ) );
-	connect(ui.leAuthor, SIGNAL( textChanged(const QString&) ), this, SLOT( \
                authorChanged(const QString&) ) );
-	connect(ui.tbComment, SIGNAL( textChanged() ), this, SLOT( commentChanged() ) );
+	connect(ui.leName, SIGNAL(textChanged(QString)), this, SLOT(titleChanged(QString)) \
); +	connect(ui.leAuthor, SIGNAL(textChanged(QString)), this, \
SLOT(authorChanged(QString)) ); +	connect(ui.tbComment, SIGNAL(textChanged()), this, \
SLOT(commentChanged()) );  
 	TemplateHandler* templateHandler = new TemplateHandler(this, \
TemplateHandler::Worksheet);  ui.verticalLayout->addWidget(templateHandler, 0, 0);
diff --git a/src/kdefrontend/dockwidgets/SpreadsheetDock.cpp \
b/src/kdefrontend/dockwidgets/SpreadsheetDock.cpp index ff43cb7..99ee720 100644
--- a/src/kdefrontend/dockwidgets/SpreadsheetDock.cpp
+++ b/src/kdefrontend/dockwidgets/SpreadsheetDock.cpp
@@ -56,7 +56,7 @@ SpreadsheetDock::SpreadsheetDock(QWidget *parent): QWidget(parent){
 	templateHandler->show();
 	connect(templateHandler, SIGNAL(loadConfigRequested(KConfig&)), this, \
SLOT(loadConfigFromTemplate(KConfig&)));  connect(templateHandler, \
                SIGNAL(saveConfigRequested(KConfig&)), this, \
                SLOT(saveConfig(KConfig&)));
-	connect(templateHandler, SIGNAL(info(const QString&)), this, SIGNAL(info(const \
QString&))); +	connect(templateHandler, SIGNAL(info(QString)), this, \
SIGNAL(info(QString)));  }
 
 /*!
diff --git a/src/kdefrontend/dockwidgets/WorksheetDock.cpp \
b/src/kdefrontend/dockwidgets/WorksheetDock.cpp index 6c9dc0b..76cc4a3 100644
--- a/src/kdefrontend/dockwidgets/WorksheetDock.cpp
+++ b/src/kdefrontend/dockwidgets/WorksheetDock.cpp
@@ -120,8 +120,8 @@ WorksheetDock::WorksheetDock(QWidget *parent): QWidget(parent){
 	connect( ui.bOpen, SIGNAL(clicked(bool)), this, SLOT(selectFile()));
 	connect( ui.kleBackgroundFileName, SIGNAL(returnPressed()), this, \
SLOT(fileNameChanged()) );  connect( ui.kleBackgroundFileName, \
                SIGNAL(clearButtonClicked()), this, SLOT(fileNameChanged()) );
-	connect( ui.kcbBackgroundFirstColor, SIGNAL(changed (const QColor &)), this, \
                SLOT(backgroundFirstColorChanged(const QColor&)) );
-	connect( ui.kcbBackgroundSecondColor, SIGNAL(changed (const QColor &)), this, \
SLOT(backgroundSecondColorChanged(const QColor&)) ); +	connect( \
ui.kcbBackgroundFirstColor, SIGNAL(changed(QColor)), this, \
SLOT(backgroundFirstColorChanged(QColor)) ); +	connect( ui.kcbBackgroundSecondColor, \
SIGNAL(changed(QColor)), this, SLOT(backgroundSecondColorChanged(QColor)) );  \
connect( ui.sbBackgroundOpacity, SIGNAL(valueChanged(int)), this, \
SLOT(backgroundOpacityChanged(int)) );  
 	//Layout
@@ -139,7 +139,7 @@ WorksheetDock::WorksheetDock(QWidget *parent): QWidget(parent){
 	templateHandler->show();
 	connect(templateHandler, SIGNAL(loadConfigRequested(KConfig&)), this, \
SLOT(loadConfigFromTemplate(KConfig&)));  connect(templateHandler, \
                SIGNAL(saveConfigRequested(KConfig&)), this, \
                SLOT(saveConfig(KConfig&)));
-	connect(templateHandler, SIGNAL(info(const QString&)), this, SIGNAL(info(const \
QString&))); +	connect(templateHandler, SIGNAL(info(QString)), this, \
SIGNAL(info(QString)));  
 	this->retranslateUi();
 }
@@ -173,15 +173,15 @@ void WorksheetDock::setWorksheets(QList<Worksheet*> list){
 	this->worksheetLayoutChanged(m_worksheet->layout());
 
 	connect(m_worksheet, SIGNAL(aspectDescriptionChanged(const AbstractAspect*)),this, \
                SLOT(worksheetDescriptionChanged(const AbstractAspect*)));
-	connect(m_worksheet, SIGNAL(pageRectChanged(const QRectF&)),this, \
SLOT(worksheetPageRectChanged(const QRectF&))); +	connect(m_worksheet, \
SIGNAL(pageRectChanged(QRectF)),this, SLOT(worksheetPageRectChanged(QRectF)));  
 	connect(m_worksheet,SIGNAL(backgroundTypeChanged(PlotArea::BackgroundType)),this,SLOT(worksheetBackgroundTypeChanged(PlotArea::BackgroundType)));
  connect(m_worksheet,SIGNAL(backgroundColorStyleChanged(PlotArea::BackgroundColorStyl \
e)),this,SLOT(worksheetBackgroundColorStyleChanged(PlotArea::BackgroundColorStyle))); \
connect(m_worksheet,SIGNAL(backgroundImageStyleChanged(PlotArea::BackgroundImageStyle) \
),this,SLOT(worksheetBackgroundImageStyleChanged(PlotArea::BackgroundImageStyle)));  \
connect(m_worksheet,SIGNAL(backgroundBrushStyleChanged(Qt::BrushStyle)),this,SLOT(worksheetBackgroundBrushStyleChanged(Qt::BrushStyle)));
                
-	connect(m_worksheet,SIGNAL(backgroundFirstColorChanged(const \
                QColor&)),this,SLOT(worksheetBackgroundFirstColorChanged(const \
                QColor&)));
-	connect(m_worksheet,SIGNAL(backgroundSecondColorChanged(const \
                QColor&)),this,SLOT(worksheetBackgroundSecondColorChanged(const \
                QColor&)));
-	connect(m_worksheet,SIGNAL(backgroundFileNameChanged(const \
QString&)),this,SLOT(worksheetBackgroundFileNameChanged(const QString&))); \
+	connect(m_worksheet,SIGNAL(backgroundFirstColorChanged(QColor)),this,SLOT(worksheetBackgroundFirstColorChanged(QColor)));
 +	connect(m_worksheet,SIGNAL(backgroundSecondColorChanged(QColor)),this,SLOT(worksheetBackgroundSecondColorChanged(QColor)));
 +	connect(m_worksheet,SIGNAL(backgroundFileNameChanged(QString)),this,SLOT(worksheetBackgroundFileNameChanged(QString)));
  connect(m_worksheet,SIGNAL(backgroundOpacityChanged(float)),this,SLOT(worksheetBackgroundOpacityChanged(float)));
  
 	connect(m_worksheet,SIGNAL(layoutChanged(Worksheet::Layout)),this,SLOT(worksheetLayoutChanged(Worksheet::Layout)));
                
diff --git a/src/kdefrontend/dockwidgets/XYCurveDock.cpp \
b/src/kdefrontend/dockwidgets/XYCurveDock.cpp index 96ba9eb..3835248 100644
--- a/src/kdefrontend/dockwidgets/XYCurveDock.cpp
+++ b/src/kdefrontend/dockwidgets/XYCurveDock.cpp
@@ -108,20 +108,20 @@ XYCurveDock::XYCurveDock(QWidget *parent): QWidget(parent){
 	connect( ui.leName, SIGNAL(returnPressed()), this, SLOT(nameChanged()) );
 	connect( ui.leComment, SIGNAL(returnPressed()), this, SLOT(commentChanged()) );
 	connect( ui.chkVisible, SIGNAL(clicked(bool)), this, SLOT(visibilityChanged(bool)) \
                );
-	connect( cbXColumn, SIGNAL(currentModelIndexChanged(const QModelIndex&)), this, \
                SLOT(xColumnChanged(const QModelIndex&)) );
-	connect( cbYColumn, SIGNAL(currentModelIndexChanged(const QModelIndex&)), this, \
SLOT(yColumnChanged(const QModelIndex&)) ); +	connect( cbXColumn, \
SIGNAL(currentModelIndexChanged(QModelIndex)), this, \
SLOT(xColumnChanged(QModelIndex)) ); +	connect( cbYColumn, \
SIGNAL(currentModelIndexChanged(QModelIndex)), this, \
SLOT(yColumnChanged(QModelIndex)) );  
 	//Lines
 	connect( ui.cbLineType, SIGNAL(currentIndexChanged(int)), this, \
SLOT(lineTypeChanged(int)) );  connect( ui.sbLineInterpolationPointsCount, \
SIGNAL(valueChanged(int)), this, SLOT(lineInterpolationPointsCountChanged(int)) );  \
connect( ui.cbLineStyle, SIGNAL(currentIndexChanged(int)), this, \
                SLOT(lineStyleChanged(int)) );
-	connect( ui.kcbLineColor, SIGNAL(changed (const QColor &)), this, \
SLOT(lineColorChanged(const QColor&)) ); +	connect( ui.kcbLineColor, \
SIGNAL(changed(QColor)), this, SLOT(lineColorChanged(QColor)) );  connect( \
ui.sbLineWidth, SIGNAL(valueChanged(double)), this, SLOT(lineWidthChanged(double)) ); \
connect( ui.sbLineOpacity, SIGNAL(valueChanged(int)), this, \
SLOT(lineOpacityChanged(int)) );  
 	connect( ui.cbDropLineType, SIGNAL(currentIndexChanged(int)), this, \
SLOT(dropLineTypeChanged(int)) );  connect( ui.cbDropLineStyle, \
                SIGNAL(currentIndexChanged(int)), this, \
                SLOT(dropLineStyleChanged(int)) );
-	connect( ui.kcbDropLineColor, SIGNAL(changed (const QColor &)), this, \
SLOT(dropLineColorChanged(const QColor&)) ); +	connect( ui.kcbDropLineColor, \
SIGNAL(changed(QColor)), this, SLOT(dropLineColorChanged(QColor)) );  connect( \
ui.sbDropLineWidth, SIGNAL(valueChanged(double)), this, \
SLOT(dropLineWidthChanged(double)) );  connect( ui.sbDropLineOpacity, \
SIGNAL(valueChanged(int)), this, SLOT(dropLineOpacityChanged(int)) );  
@@ -132,15 +132,15 @@ XYCurveDock::XYCurveDock(QWidget *parent): QWidget(parent){
 	connect( ui.sbSymbolOpacity, SIGNAL(valueChanged(int)), this, \
SLOT(symbolsOpacityChanged(int)) );  
 	connect( ui.cbSymbolFillingStyle, SIGNAL(currentIndexChanged(int)), this, \
                SLOT(symbolsFillingStyleChanged(int)) );
-	connect( ui.kcbSymbolFillingColor, SIGNAL(changed (const QColor &)), this, \
SLOT(symbolsFillingColorChanged(const QColor)) ); +	connect( \
ui.kcbSymbolFillingColor, SIGNAL(changed(QColor)), this, \
SLOT(symbolsFillingColorChanged(QColor)) );  
 	connect( ui.cbSymbolBorderStyle, SIGNAL(currentIndexChanged(int)), this, \
                SLOT(symbolsBorderStyleChanged(int)) );
-	connect( ui.kcbSymbolBorderColor, SIGNAL(changed (const QColor &)), this, \
SLOT(symbolsBorderColorChanged(const QColor&)) ); +	connect( ui.kcbSymbolBorderColor, \
SIGNAL(changed(QColor)), this, SLOT(symbolsBorderColorChanged(QColor)) );  connect( \
ui.sbSymbolBorderWidth, SIGNAL(valueChanged(double)), this, \
SLOT(symbolsBorderWidthChanged(double)) );  
 	//Values
 	connect( ui.cbValuesType, SIGNAL(currentIndexChanged(int)), this, \
                SLOT(valuesTypeChanged(int)) );
-	connect( cbValuesColumn, SIGNAL(currentModelIndexChanged(const QModelIndex&)), \
this, SLOT(valuesColumnChanged(const QModelIndex&)) ); +	connect( cbValuesColumn, \
SIGNAL(currentModelIndexChanged(QModelIndex)), this, \
SLOT(valuesColumnChanged(QModelIndex)) );  connect( ui.cbValuesPosition, \
SIGNAL(currentIndexChanged(int)), this, SLOT(valuesPositionChanged(int)) );  connect( \
ui.sbValuesDistance, SIGNAL(valueChanged(double)), this, \
SLOT(valuesDistanceChanged(double)) );  connect( ui.sbValuesRotation, \
SIGNAL(valueChanged(int)), this, SLOT(valuesRotationChanged(int)) ); @@ -149,20 \
+149,20 @@ XYCurveDock::XYCurveDock(QWidget *parent): QWidget(parent){  //TODO \
connect( ui.cbValuesFormat, SIGNAL(currentIndexChanged(int)), this, \
SLOT(valuesColumnFormatChanged(int)) );  connect( ui.leValuesPrefix, \
SIGNAL(returnPressed()), this, SLOT(valuesPrefixChanged()) );  connect( \
                ui.leValuesSuffix, SIGNAL(returnPressed()), this, \
                SLOT(valuesSuffixChanged()) );
-	connect( ui.kfrValuesFont, SIGNAL(fontSelected(const QFont& )), this, \
                SLOT(valuesFontChanged(const QFont&)) );
-	connect( ui.kcbValuesColor, SIGNAL(changed(const QColor &)), this, \
SLOT(valuesColorChanged(const QColor&)) ); +	connect( ui.kfrValuesFont, \
SIGNAL(fontSelected(QFont)), this, SLOT(valuesFontChanged(QFont)) ); +	connect( \
ui.kcbValuesColor, SIGNAL(changed(QColor)), this, SLOT(valuesColorChanged(QColor)) ); \
  //Error bars
 	connect( ui.cbXErrorType, SIGNAL(currentIndexChanged(int)), this, \
                SLOT(xErrorTypeChanged(int)) );
-	connect( cbXErrorPlusColumn, SIGNAL(currentModelIndexChanged(const QModelIndex&)), \
                this, SLOT(xErrorPlusColumnChanged(const QModelIndex&)) );
-	connect( cbXErrorMinusColumn, SIGNAL(currentModelIndexChanged(const QModelIndex&)), \
this, SLOT(xErrorMinusColumnChanged(const QModelIndex&)) ); +	connect( \
cbXErrorPlusColumn, SIGNAL(currentModelIndexChanged(QModelIndex)), this, \
SLOT(xErrorPlusColumnChanged(QModelIndex)) ); +	connect( cbXErrorMinusColumn, \
SIGNAL(currentModelIndexChanged(QModelIndex)), this, \
SLOT(xErrorMinusColumnChanged(QModelIndex)) );  connect( ui.cbYErrorType, \
                SIGNAL(currentIndexChanged(int)), this, SLOT(yErrorTypeChanged(int)) \
                );
-	connect( cbYErrorPlusColumn, SIGNAL(currentModelIndexChanged(const QModelIndex&)), \
                this, SLOT(yErrorPlusColumnChanged(const QModelIndex&)) );
-	connect( cbYErrorMinusColumn, SIGNAL(currentModelIndexChanged(const QModelIndex&)), \
this, SLOT(yErrorMinusColumnChanged(const QModelIndex&)) ); +	connect( \
cbYErrorPlusColumn, SIGNAL(currentModelIndexChanged(QModelIndex)), this, \
SLOT(yErrorPlusColumnChanged(QModelIndex)) ); +	connect( cbYErrorMinusColumn, \
SIGNAL(currentModelIndexChanged(QModelIndex)), this, \
SLOT(yErrorMinusColumnChanged(QModelIndex)) );  connect( ui.cbErrorBarsType, \
SIGNAL(currentIndexChanged(int)), this, SLOT(errorBarsTypeChanged(int)) );  connect( \
ui.sbErrorBarsCapSize, SIGNAL(valueChanged(double)), this, \
SLOT(errorBarsCapSizeChanged(double)) );  connect( ui.cbErrorBarsStyle, \
                SIGNAL(currentIndexChanged(int)), this, \
                SLOT(errorBarsStyleChanged(int)) );
-	connect( ui.kcbErrorBarsColor, SIGNAL(changed (const QColor &)), this, \
SLOT(errorBarsColorChanged(const QColor&)) ); +	connect( ui.kcbErrorBarsColor, \
SIGNAL(changed(QColor)), this, SLOT(errorBarsColorChanged(QColor)) );  connect( \
ui.sbErrorBarsWidth, SIGNAL(valueChanged(double)), this, \
SLOT(errorBarsWidthChanged(double)) );  connect( ui.sbErrorBarsOpacity, \
SIGNAL(valueChanged(int)), this, SLOT(errorBarsOpacityChanged(int)) );  
@@ -172,7 +172,7 @@ XYCurveDock::XYCurveDock(QWidget *parent): QWidget(parent){
 	templateHandler->show();
 	connect(templateHandler, SIGNAL(loadConfigRequested(KConfig&)), this, \
SLOT(loadConfigFromTemplate(KConfig&)));  connect(templateHandler, \
                SIGNAL(saveConfigRequested(KConfig&)), this, \
                SLOT(saveConfig(KConfig&)));
-	connect(templateHandler, SIGNAL(info(const QString&)), this, SIGNAL(info(const \
QString&))); +	connect(templateHandler, SIGNAL(info(QString)), this, \
SIGNAL(info(QString)));  
 	ui.tabWidget->removeTab(ui.tabWidget->indexOf(ui.tabAreaFilling)); //TODO
 
@@ -501,7 +501,7 @@ void XYCurveDock::setCurves(QList<XYCurve*> list){
 	connect(m_curve, SIGNAL(symbolsRotationAngleChanged(qreal)), this, \
SLOT(curveSymbolsRotationAngleChanged(qreal)));  connect(m_curve, \
SIGNAL(symbolsOpacityChanged(qreal)), this, SLOT(curveSymbolsOpacityChanged(qreal))); \
connect(m_curve, SIGNAL(symbolsBrushChanged(QBrush)), this, \
                SLOT(curveSymbolsBrushChanged(QBrush)));
-	connect(m_curve, SIGNAL(symbolsPenChanged(const QPen&)), this, \
SLOT(curveSymbolsPenChanged(const QPen&))); +	connect(m_curve, \
SIGNAL(symbolsPenChanged(QPen)), this, SLOT(curveSymbolsPenChanged(QPen)));  
 	//Values-Tab
 	connect(m_curve, SIGNAL(valuesTypeChanged(XYCurve::ValuesType)), this, \
                SLOT(curveValuesTypeChanged(XYCurve::ValuesType)));
diff --git a/src/kdefrontend/legacy/FunctionPlotDialog.cpp \
b/src/kdefrontend/legacy/FunctionPlotDialog.cpp index 3b62a52..7524989 100644
--- a/src/kdefrontend/legacy/FunctionPlotDialog.cpp
+++ b/src/kdefrontend/legacy/FunctionPlotDialog.cpp
@@ -96,10 +96,10 @@ FunctionPlotDialog::FunctionPlotDialog(MainWin *mw, const \
Plot::PlotType& type)  this->setWindowIcon(QIcon(newFunction_xpm));
 
 	//SLOTs
-	connect( this, SIGNAL( applyClicked() ), this, SLOT( apply() ) );
- 	connect( this, SIGNAL( okClicked() ), this, SLOT( save() ) );
-	connect( this, SIGNAL( changed( bool ) ), this, SLOT( enableButtonApply( bool ) ) \
                ); //TODO
-	connect(functionWidget, SIGNAL( functionChanged(const QString&) ), labelWidget, \
SLOT( setText(const QString&) ) ); +	connect( this, SIGNAL(applyClicked()), this, \
SLOT(apply()) ); + 	connect( this, SIGNAL(okClicked()), this, SLOT(save()) );
+	connect( this, SIGNAL(changed(bool)), this, SLOT(enableButtonApply(bool)) ); //TODO
+	connect(functionWidget, SIGNAL(functionChanged(QString)), labelWidget, \
SLOT(setText(QString)) );  
 	functionWidget->init(); //call this to trigger the signal in FunctionWidget in \
order to update of the Label text  resize( QSize(200,400) );
diff --git a/src/kdefrontend/legacy/FunctionWidget.cpp \
b/src/kdefrontend/legacy/FunctionWidget.cpp index a8571cb..f276a84 100644
--- a/src/kdefrontend/legacy/FunctionWidget.cpp
+++ b/src/kdefrontend/legacy/FunctionWidget.cpp
@@ -103,9 +103,9 @@ FunctionWidget::FunctionWidget(QWidget* parent, const \
Plot::PlotType& type)  //SLOTS
 	connect( ui.bClear, SIGNAL(clicked()), ui.leFunction, SLOT(clear()) );
 	connect( ui.bSync, SIGNAL(toggled(bool)),  SLOT(syncStatusChangedSlot(bool)) );
- 	connect( ui.cbFunctions,SIGNAL(activated(const QString&)),SLOT(insertSlot(const \
                QString&)) );
-	connect( ui.cbConstants,SIGNAL(activated(const QString&)),SLOT(insertSlot(const \
                QString&)) );
-	connect( ui.leFunction, SIGNAL(textChanged (const QString&)), \
SLOT(functionChangedSlot(const QString&)) ); + 	connect( \
ui.cbFunctions,SIGNAL(activated(QString)),SLOT(insertSlot(QString)) ); +	connect( \
ui.cbConstants,SIGNAL(activated(QString)),SLOT(insertSlot(QString)) ); +	connect( \
ui.leFunction, SIGNAL(textChanged(QString)), SLOT(functionChangedSlot(QString)) );  
 	emit functionChanged(ui.leFunction->text());
 }
diff --git a/src/kdefrontend/spreadsheet/SortDialog.cpp \
b/src/kdefrontend/spreadsheet/SortDialog.cpp index f2372a4..7e886c7 100644
--- a/src/kdefrontend/spreadsheet/SortDialog.cpp
+++ b/src/kdefrontend/spreadsheet/SortDialog.cpp
@@ -82,7 +82,7 @@ SortDialog::SortDialog( QWidget* parent, Qt::WFlags fl ) : KDialog( \
parent, fl )  setButtonText(KDialog::Ok, i18n("&Sort"));
 
 	connect(this, SIGNAL(okClicked()), this, SLOT(sort()));
-    connect( cbType, SIGNAL( currentIndexChanged(int) ), this, \
SLOT(changeType(int))); +    connect( cbType, SIGNAL(currentIndexChanged(int)), this, \
SLOT(changeType(int)));  
 	this->resize(400,0);
 }
diff --git a/src/kdefrontend/widgets/LabelWidget.cpp \
b/src/kdefrontend/widgets/LabelWidget.cpp index 574e339..c50c46f 100644
--- a/src/kdefrontend/widgets/LabelWidget.cpp
+++ b/src/kdefrontend/widgets/LabelWidget.cpp
@@ -72,9 +72,9 @@ LabelWidget::LabelWidget(QWidget *parent): QWidget(parent){
 	// text properties
 	connect(ui.tbTexUsed, SIGNAL(clicked(bool)), this, SLOT(teXUsedChanged(bool)) );
 	connect(ui.teLabel, SIGNAL(textChanged()), this, SLOT(textChanged()));
-	connect(ui.teLabel, SIGNAL(currentCharFormatChanged(const QTextCharFormat&)), 
-			this, SLOT(charFormatChanged(const QTextCharFormat&)));
-	connect(ui.kcbFontColor, SIGNAL(changed(const QColor&)), this, \
SLOT(fontColorChanged(const QColor&))); +	connect(ui.teLabel, \
SIGNAL(currentCharFormatChanged(QTextCharFormat)),  +			this, \
SLOT(charFormatChanged(QTextCharFormat))); +	connect(ui.kcbFontColor, \
SIGNAL(changed(QColor)), this, SLOT(fontColorChanged(QColor)));  \
connect(ui.tbFontBold, SIGNAL(clicked(bool)), this, SLOT(fontBoldChanged(bool)));  \
connect(ui.tbFontItalic, SIGNAL(clicked(bool)), this, SLOT(fontItalicChanged(bool))); \
connect(ui.tbFontUnderline, SIGNAL(clicked(bool)), this, \
SLOT(fontUnderlineChanged(bool))); @@ -82,7 +82,7 @@ LabelWidget::LabelWidget(QWidget \
*parent): QWidget(parent){  connect(ui.tbFontSuperScript, SIGNAL(clicked(bool)), \
this, SLOT(fontSuperScriptChanged(bool)));  connect(ui.tbFontSubScript, \
SIGNAL(clicked(bool)), this, SLOT(fontSubScriptChanged(bool)));  \
                connect(ui.tbSymbols, SIGNAL(clicked(bool)), this, SLOT(charMenu()));
-	connect(ui.kfontRequester, SIGNAL(fontSelected(const QFont&)), this, \
SLOT(fontChanged(const QFont&))); +	connect(ui.kfontRequester, \
SIGNAL(fontSelected(QFont)), this, SLOT(fontChanged(QFont)));  connect(ui.sbFontSize, \
SIGNAL(valueChanged(int)), this, SLOT(fontSizeChanged(int)) );  
 	// geometry
@@ -148,14 +148,14 @@ void LabelWidget::setAxes(QList<Axis*> axes){
 }
 
 void LabelWidget::initConnections() {
-	connect( m_label, SIGNAL(textWrapperChanged(const TextLabel::TextWrapper&)),
-			 this, SLOT(labelTextWrapperChanged(const TextLabel::TextWrapper&)) );
-	connect( m_label, SIGNAL(teXFontSizeChanged(const int)),
-			 this, SLOT(labelTeXFontSizeChanged(const int)) );
-	connect( m_label, SIGNAL(teXFontColorChanged(const QColor)),
-			 this, SLOT(labelTeXFontColorChanged(const QColor)) );
-	connect( m_label, SIGNAL(positionChanged(const TextLabel::PositionWrapper&)),
-			 this, SLOT(labelPositionChanged(const TextLabel::PositionWrapper&)) );
+	connect( m_label, SIGNAL(textWrapperChanged(TextLabel::TextWrapper)),
+			 this, SLOT(labelTextWrapperChanged(TextLabel::TextWrapper)) );
+	connect( m_label, SIGNAL(teXFontSizeChanged(int)),
+			 this, SLOT(labelTeXFontSizeChanged(int)) );
+	connect( m_label, SIGNAL(teXFontColorChanged(QColor)),
+			 this, SLOT(labelTeXFontColorChanged(QColor)) );
+	connect( m_label, SIGNAL(positionChanged(TextLabel::PositionWrapper)),
+			 this, SLOT(labelPositionChanged(TextLabel::PositionWrapper)) );
 	connect( m_label, SIGNAL(horizontalAlignmentChanged(TextLabel::HorizontalAlignment)),
                
 			 this, SLOT(labelHorizontalAlignmentChanged(TextLabel::HorizontalAlignment)) );
 	connect( m_label, SIGNAL(verticalAlignmentChanged(TextLabel::VerticalAlignment)),
diff --git a/src/kdefrontend/worksheet/ExportWorksheetDialog.cpp \
b/src/kdefrontend/worksheet/ExportWorksheetDialog.cpp index 45e54b3..b0c49d8 100644
--- a/src/kdefrontend/worksheet/ExportWorksheetDialog.cpp
+++ b/src/kdefrontend/worksheet/ExportWorksheetDialog.cpp
@@ -69,7 +69,7 @@ ExportWorksheetDialog::ExportWorksheetDialog(QWidget* parent) : \
KDialog(parent)  
 	connect( ui.cbFormat, SIGNAL(currentIndexChanged(int)), SLOT(formatChanged(int)) );
 	connect( ui.bOpen, SIGNAL(clicked()), this, SLOT (selectFile()) );
-	connect( ui.kleFileName, SIGNAL(textChanged(const QString&)), this, \
SLOT(fileNameChanged(const QString&)) ); +	connect( ui.kleFileName, \
SIGNAL(textChanged(QString)), this, SLOT(fileNameChanged(QString)) );  \
connect(this,SIGNAL(user1Clicked()), this, SLOT(toggleOptions()));  
 	setCaption(i18n("Export worksheet"));


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

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