[rkward-cvs] [rkward] rkward: Normalize signal/slot connections (using qt's normalize tool).

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Thu Nov 20 12:47:21 UTC 2014


Git commit 57c7c7755cf7c8df991428ea649b04fa5d998c0f by Thomas Friedrichsmeier.
Committed on 20/11/2014 at 12:45.
Pushed by tfry into branch 'master'.

Normalize signal/slot connections (using qt's normalize tool).
Fixes one half of rkward's krazy checker issues.

M  +1    -1    rkward/agents/rkprintagent.cpp
M  +4    -4    rkward/agents/rkquitagent.cpp
M  +1    -1    rkward/agents/showedittextfileagent.cpp
M  +1    -1    rkward/core/robjectlist.cpp
M  +3    -3    rkward/dataeditor/twintable.cpp
M  +4    -4    rkward/dataeditor/twintablemember.cpp
M  +1    -1    rkward/dialogs/rkimportdialog.cpp
M  +17   -17   rkward/dialogs/rkloadlibsdialog.cpp
M  +1    -1    rkward/dialogs/rkrecoverdialog.cpp
M  +3    -3    rkward/dialogs/startupdialog.cpp
M  +1    -1    rkward/misc/celleditor.cpp
M  +1    -1    rkward/misc/editformatdialog.cpp
M  +3    -3    rkward/misc/editlabelsdialog.cpp
M  +1    -1    rkward/misc/getfilenamewidget.cpp
M  +6    -6    rkward/misc/multistringselector.cpp
M  +5    -5    rkward/misc/rkobjectlistview.cpp
M  +2    -2    rkward/misc/rkprogresscontrol.cpp
M  +3    -3    rkward/misc/rksaveobjectchooser.cpp
M  +1    -1    rkward/misc/rkstandardactions.cpp
M  +2    -2    rkward/plugin/rkabstractoptionselector.cpp
M  +2    -2    rkward/plugin/rkcheckbox.cpp
M  +3    -3    rkward/plugin/rkcomponent.cpp
M  +3    -3    rkward/plugin/rkcomponentproperties.cpp
M  +1    -1    rkward/plugin/rkdropdown.cpp
M  +5    -5    rkward/plugin/rkformula.cpp
M  +4    -4    rkward/plugin/rkinput.cpp
M  +2    -2    rkward/plugin/rkoptionset.cpp
M  +2    -2    rkward/plugin/rkpluginbrowser.cpp
M  +1    -1    rkward/plugin/rkpluginframe.cpp
M  +6    -6    rkward/plugin/rkpluginsaveobject.cpp
M  +3    -3    rkward/plugin/rkpluginspinbox.cpp
M  +4    -4    rkward/plugin/rkpreviewbox.cpp
M  +1    -1    rkward/plugin/rkradio.cpp
M  +9    -9    rkward/plugin/rkstandardcomponent.cpp
M  +12   -12   rkward/plugin/rkstandardcomponentgui.cpp
M  +2    -2    rkward/plugin/rktabpage.cpp
M  +1    -1    rkward/plugin/rktext.cpp
M  +1    -1    rkward/plugin/rkvalueselector.cpp
M  +1    -1    rkward/plugin/rkvarselector.cpp
M  +3    -3    rkward/plugin/rkvarslot.cpp
M  +2    -2    rkward/rbackend/rkfrontendtransmitter.cpp
M  +1    -1    rkward/rbackend/rktransmitter.cpp
M  +2    -2    rkward/rbackend/rkwarddevice/rkgraphicsdevice.cpp
M  +2    -2    rkward/rbackend/rkwarddevice/rkgraphicsdevice_frontendtransmitter.cpp
M  +3    -3    rkward/rkconsole.cpp
M  +10   -10   rkward/rkward.cpp
M  +3    -3    rkward/robjectviewer.cpp
M  +3    -3    rkward/scriptbackends/qtscriptbackend.cpp
M  +1    -1    rkward/settings/rksettings.cpp
M  +6    -6    rkward/settings/rksettingsmoduleconsole.cpp
M  +7    -7    rkward/settings/rksettingsmodulegeneral.cpp
M  +6    -6    rkward/settings/rksettingsmodulegraphics.cpp
M  +3    -3    rkward/settings/rksettingsmoduleobjectbrowser.cpp
M  +6    -6    rkward/settings/rksettingsmoduleoutput.cpp
M  +4    -4    rkward/settings/rksettingsmoduleplugins.cpp
M  +19   -19   rkward/settings/rksettingsmoduler.cpp
M  +5    -5    rkward/settings/rksettingsmodulewatch.cpp
M  +2    -2    rkward/windows/detachedwindowcontainer.cpp
M  +3    -3    rkward/windows/rcontrolwindow.cpp
M  +10   -10   rkward/windows/rkcommandeditorwindow.cpp
M  +1    -1    rkward/windows/rkcommandlog.cpp
M  +4    -4    rkward/windows/rkfilebrowser.cpp
M  +3    -3    rkward/windows/rkhelpsearchwindow.cpp
M  +7    -7    rkward/windows/rkhtmlwindow.cpp
M  +1    -1    rkward/windows/rktoplevelwindowgui.cpp
M  +6    -6    rkward/windows/rkwindowcatcher.cpp
M  +1    -1    rkward/windows/rkworkplace.cpp
M  +3    -3    rkward/windows/rkworkplaceview.cpp
M  +4    -4    rkward/windows/robjectbrowser.cpp

http://commits.kde.org/rkward/57c7c7755cf7c8df991428ea649b04fa5d998c0f

diff --git a/rkward/agents/rkprintagent.cpp b/rkward/agents/rkprintagent.cpp
index af0a8b8..fd2307c 100644
--- a/rkward/agents/rkprintagent.cpp
+++ b/rkward/agents/rkprintagent.cpp
@@ -85,7 +85,7 @@ void RKPrintAgent::printPostscript (const QString &file, bool delete_file) {
 	ts.start ();
 	printaction->trigger ();
 	if (ts.elapsed () < 5000) {
-		QTimer::singleShot (1800000, agent, SLOT (deleteLater ()));
+		QTimer::singleShot (1800000, agent, SLOT (deleteLater()));
 	} else {
 		agent->deleteLater ();
 	}
diff --git a/rkward/agents/rkquitagent.cpp b/rkward/agents/rkquitagent.cpp
index 68f5a97..95a94ba 100644
--- a/rkward/agents/rkquitagent.cpp
+++ b/rkward/agents/rkquitagent.cpp
@@ -40,14 +40,14 @@ RKQuitAgent::RKQuitAgent (QObject *parent) : QObject (parent) {
 	RKWardMainWindow::getMain ()->hide ();
 	cancel_dialog = new RKProgressControl (this, i18n ("Waiting for remaining R commands to finish. To quit immediately, press Cancel (WARNING: This may result in loss of data)"), i18n ("Waiting for R to finish"), RKProgressControl::AllowCancel | RKProgressControl::ShowAtOnce);
 	cancel_dialog->addRCommand (command, true);
-	connect (cancel_dialog, SIGNAL (cancelled ()), this, SLOT (doQuitNow ()));
+	connect (cancel_dialog, SIGNAL (cancelled()), this, SLOT (doQuitNow()));
 
 	if (RKGlobals::rInterface ()->backendIsDead ()) {	// nothing to loose
-		QTimer::singleShot (0, this, SLOT (doQuitNow ()));
+		QTimer::singleShot (0, this, SLOT (doQuitNow()));
 		return;
 	} else if (RKGlobals::rInterface ()->backendIsIdle ()) {
 		// there should be no problem while quitting. If there is, show the dialog after 300 msec
-		QTimer::singleShot (300, this, SLOT (showWaitDialog ()));
+		QTimer::singleShot (300, this, SLOT (showWaitDialog()));
 	} else {
 		showWaitDialog ();
 	}
@@ -74,7 +74,7 @@ void RKQuitAgent::doQuitNow () {
 void RKQuitAgent::rCommandDone (RCommand *) {
 	RK_TRACE (APP);
 
-	QTimer::singleShot (0, this, SLOT (doQuitNow ()));
+	QTimer::singleShot (0, this, SLOT (doQuitNow()));
 }
 
 
diff --git a/rkward/agents/showedittextfileagent.cpp b/rkward/agents/showedittextfileagent.cpp
index 67b5871..bba15c9 100644
--- a/rkward/agents/showedittextfileagent.cpp
+++ b/rkward/agents/showedittextfileagent.cpp
@@ -57,7 +57,7 @@ ShowEditTextFileAgent::ShowEditTextFileAgent (RBackendRequest *request, const QS
 
 	dialog->setButtonText (KDialog::Ok, i18n ("Done"));
 
-	connect (dialog, SIGNAL (finished ()), this, SLOT (deleteLater ()));
+	connect (dialog, SIGNAL (finished()), this, SLOT (deleteLater()));
 
 	// do it
 	dialog->show ();
diff --git a/rkward/core/robjectlist.cpp b/rkward/core/robjectlist.cpp
index faf39d8..5d4a494 100644
--- a/rkward/core/robjectlist.cpp
+++ b/rkward/core/robjectlist.cpp
@@ -46,7 +46,7 @@ RObjectList::RObjectList () : RContainerObject (0, QString::null) {
 
 	update_timer = new QTimer (this);
 	update_timer->setSingleShot (true);
-	connect (update_timer, SIGNAL (timeout ()), this, SLOT (timeout ()));
+	connect (update_timer, SIGNAL (timeout()), this, SLOT (timeout()));
 	
 	//update_timer->start (AUTO_UPDATE_INTERVAL, true);
 	
diff --git a/rkward/dataeditor/twintable.cpp b/rkward/dataeditor/twintable.cpp
index 75a67d1..8f824d1 100644
--- a/rkward/dataeditor/twintable.cpp
+++ b/rkward/dataeditor/twintable.cpp
@@ -76,8 +76,8 @@ TwinTable::TwinTable (QWidget *parent) : RKEditor (parent), RObjectListener (ROb
 	meta_header_anchor_section = -1;
 
 	// catch header context menu requests
-	connect (dataview, SIGNAL (contextMenuRequest(int,int,const QPoint&)), this, SLOT (contextMenu(int,int,const QPoint&)));
-	connect (metaview, SIGNAL (contextMenuRequest(int,int,const QPoint&)), this, SLOT (contextMenu(int,int,const QPoint&)));
+	connect (dataview, SIGNAL (contextMenuRequest(int,int,QPoint)), this, SLOT (contextMenu(int,int,QPoint)));
+	connect (metaview, SIGNAL (contextMenuRequest(int,int,QPoint)), this, SLOT (contextMenu(int,int,QPoint)));
 	context_menu_table = 0;
 	context_menu_row = context_menu_column = -2;
 
@@ -172,7 +172,7 @@ void TwinTable::initTable (RKVarEditModel* model, RObject* object) {
 	addNotificationType (RObjectListener::MetaChanged);
 	listenForObject (object);
 	objectMetaChanged (object);
-	connect (model, SIGNAL (hasDuplicates(const QStringList&)), this, SLOT (containsDuplicates(const QStringList&)));
+	connect (model, SIGNAL (hasDuplicates(QStringList)), this, SLOT (containsDuplicates(QStringList)));
 }
 
 void TwinTable::containsDuplicates (const QStringList& dupes) {
diff --git a/rkward/dataeditor/twintablemember.cpp b/rkward/dataeditor/twintablemember.cpp
index 741ccc0..a4f4857 100644
--- a/rkward/dataeditor/twintablemember.cpp
+++ b/rkward/dataeditor/twintablemember.cpp
@@ -36,11 +36,11 @@ TwinTableMember::TwinTableMember (QWidget *parent) : RKTableView (parent){
 	setSelectionMode (QAbstractItemView::ContiguousSelection);
 
 	verticalHeader ()->setContextMenuPolicy (Qt::CustomContextMenu);
-	connect (verticalHeader (), SIGNAL (customContextMenuRequested(const QPoint&)), this, SLOT (handleContextMenuRequest(const QPoint&)));
+	connect (verticalHeader (), SIGNAL (customContextMenuRequested(QPoint)), this, SLOT (handleContextMenuRequest(QPoint)));
 	horizontalHeader ()->setContextMenuPolicy (Qt::CustomContextMenu);
-	connect (horizontalHeader (), SIGNAL (customContextMenuRequested(const QPoint&)), this, SLOT (handleContextMenuRequest(const QPoint&)));
+	connect (horizontalHeader (), SIGNAL (customContextMenuRequested(QPoint)), this, SLOT (handleContextMenuRequest(QPoint)));
 	setContextMenuPolicy (Qt::CustomContextMenu);
-	connect (this, SIGNAL (customContextMenuRequested(const QPoint&)), this, SLOT (handleContextMenuRequest(const QPoint&)));
+	connect (this, SIGNAL (customContextMenuRequested(QPoint)), this, SLOT (handleContextMenuRequest(QPoint)));
 
 	updating_twin = false;
 	connect (this, SIGNAL (blankSelectionRequest()), this, SLOT (blankSelected()));
@@ -57,7 +57,7 @@ void TwinTableMember::setRKModel (RKVarEditModelBase* model) {
 	setModel (model);
 
 	// now we should also have a selectionModel() (but not before)
-	connect (selectionModel (), SIGNAL (selectionChanged(const QItemSelection&,const QItemSelection&)), this, SLOT (tableSelectionChanged(const QItemSelection&,const QItemSelection&)));
+	connect (selectionModel (), SIGNAL (selectionChanged(QItemSelection,QItemSelection)), this, SLOT (tableSelectionChanged(QItemSelection,QItemSelection)));
 }
 
 void TwinTableMember::setTwin (TwinTableMember * new_twin) {
diff --git a/rkward/dialogs/rkimportdialog.cpp b/rkward/dialogs/rkimportdialog.cpp
index 5bd6425..146ece8 100644
--- a/rkward/dialogs/rkimportdialog.cpp
+++ b/rkward/dialogs/rkimportdialog.cpp
@@ -77,7 +77,7 @@ RKImportDialog::RKImportDialog (const QString &context_id, QWidget *parent) : KF
 	// initialize
 	setMode (KFile::File | KFile::ExistingOnly | KFile::LocalOnly);
 	setFilter (formats);
-	connect (this, SIGNAL (filterChanged (const QString&)), this, SLOT (filterWasChanged (const QString&)));
+	connect (this, SIGNAL (filterChanged(QString)), this, SLOT (filterWasChanged(QString)));
 	filterWasChanged (QString ());
 	show ();
 }
diff --git a/rkward/dialogs/rkloadlibsdialog.cpp b/rkward/dialogs/rkloadlibsdialog.cpp
index d1a515e..a737822 100644
--- a/rkward/dialogs/rkloadlibsdialog.cpp
+++ b/rkward/dialogs/rkloadlibsdialog.cpp
@@ -65,7 +65,7 @@ RKLoadLibsDialog::RKLoadLibsDialog (QWidget *parent, RCommandChain *chain, bool
 
 	LoadUnloadWidget *luwidget = new LoadUnloadWidget (this);
 	addPage (luwidget, i18n ("Local packages"));
-	connect (this, SIGNAL (installedPackagesChanged ()), luwidget, SLOT (updateInstalledPackages ()));
+	connect (this, SIGNAL (installedPackagesChanged()), luwidget, SLOT (updateInstalledPackages()));
 
 	install_packages_widget = new InstallPackagesWidget (this);
 	install_packages_pageitem = addPage (install_packages_widget, i18n ("Install / Update / Remove"));
@@ -100,7 +100,7 @@ void RKLoadLibsDialog::showInstallPackagesModal (QWidget *parent, RCommandChain
 
 	RKLoadLibsDialog *dialog = new RKLoadLibsDialog (parent, chain, true);
 	dialog->auto_install_package = package_name;
-	QTimer::singleShot (0, dialog, SLOT (automatedInstall ()));		// to get past the dialog->exec, below
+	QTimer::singleShot (0, dialog, SLOT (automatedInstall()));		// to get past the dialog->exec, below
 	dialog->setCurrentPage (dialog->install_packages_pageitem);
 	dialog->exec ();
 	RK_TRACE (DIALOGS);
@@ -340,8 +340,8 @@ void RKLoadLibsDialog::runInstallationCommand (const QString& command, bool as_r
 
 	RKProgressControl *installation_progress = new RKProgressControl (this, message, title, RKProgressControl::CancellableProgress);
 	connect (this, SIGNAL (installationComplete()), installation_progress, SLOT (done()));
-	connect (this, SIGNAL (installationOutput(const QString&)), installation_progress, SLOT (newOutput(const QString&)));
-	connect (this, SIGNAL (installationError(const QString&)), installation_progress, SLOT (newError(const QString&)));
+	connect (this, SIGNAL (installationOutput(QString)), installation_progress, SLOT (newOutput(QString)));
+	connect (this, SIGNAL (installationError(QString)), installation_progress, SLOT (newError(QString)));
 
 	installation_process->start (call, params, QIODevice::ReadWrite | QIODevice::Unbuffered);
 
@@ -414,9 +414,9 @@ LoadUnloadWidget::LoadUnloadWidget (RKLoadLibsDialog *dialog) : QWidget (0) {
 	instvbox->addWidget (installed_view);
 
 	load_button = new QPushButton (RKStandardIcons::getIcon (RKStandardIcons::ActionAddRight), i18n ("Load"), this);
-	connect (load_button, SIGNAL (clicked ()), this, SLOT (loadButtonClicked ()));
+	connect (load_button, SIGNAL (clicked()), this, SLOT (loadButtonClicked()));
 	detach_button = new QPushButton (RKStandardIcons::getIcon (RKStandardIcons::ActionRemoveLeft), i18n ("Unload"), this);
-	connect (detach_button, SIGNAL (clicked ()), this, SLOT (detachButtonClicked ()));
+	connect (detach_button, SIGNAL (clicked()), this, SLOT (detachButtonClicked()));
 	buttonvbox->addStretch (1);
 	buttonvbox->addWidget (load_button);
 	buttonvbox->addWidget (detach_button);
@@ -432,10 +432,10 @@ LoadUnloadWidget::LoadUnloadWidget (RKLoadLibsDialog *dialog) : QWidget (0) {
 	connect (loaded_view, SIGNAL (itemSelectionChanged()), this, SLOT (updateButtons()));
 	connect (installed_view, SIGNAL (itemSelectionChanged()), this, SLOT (updateButtons()));
 
-	connect (dialog, SIGNAL (okClicked ()), this, SLOT (ok ()));
-	connect (dialog, SIGNAL (applyClicked ()), this, SLOT (apply ()));
-	connect (dialog, SIGNAL (cancelClicked ()), this, SLOT (cancel ()));
-	connect (this, SIGNAL (destroyed ()), dialog, SLOT (childDeleted ()));
+	connect (dialog, SIGNAL (okClicked()), this, SLOT (ok()));
+	connect (dialog, SIGNAL (applyClicked()), this, SLOT (apply()));
+	connect (dialog, SIGNAL (cancelClicked()), this, SLOT (cancel()));
+	connect (this, SIGNAL (destroyed()), dialog, SLOT (childDeleted()));
 
 	updateInstalledPackages ();
 	updateButtons ();
@@ -575,7 +575,7 @@ void LoadUnloadWidget::doLoadUnload () {
 	RK_TRACE (DIALOGS);
 
 	RKProgressControl *control = new RKProgressControl (this, i18n ("There has been an error while trying to load / unload packages. See transcript below for details"), i18n ("Error while handling packages"), RKProgressControl::DetailedError);
-	connect (this, SIGNAL (loadUnloadDone ()), control, SLOT (done ()));
+	connect (this, SIGNAL (loadUnloadDone()), control, SLOT (done()));
 
 	// load packages previously not loaded
 	for (int i = 0; i < loaded_view->topLevelItemCount (); ++i) {
@@ -653,14 +653,14 @@ InstallPackagesWidget::InstallPackagesWidget (RKLoadLibsDialog *dialog) : QWidge
 	label = new QLabel (i18n ("Show only packages matching:"), this);
 	filter_edit = new QLineEdit ("*", this);
 	RKCommonFunctions::setTips (i18n ("<p>You can limit the packages displayed in the list to with names or titles matching a filter string.</p><p><b>Note:</b> To search for partial strings, add '*' to the start and / or end of the filter, e.g. '*stat*'.</p>"), label, filter_edit);
-	connect (filter_edit, SIGNAL (textChanged(const QString&)), this, SLOT (filterStringChanged(const QString&)));
+	connect (filter_edit, SIGNAL (textChanged(QString)), this, SLOT (filterStringChanged(QString)));
 	filterStringChanged (filter_edit->text ());
 
 	mark_all_updates_button = new QPushButton (i18n ("Select all updates"), this);
 	connect (mark_all_updates_button, SIGNAL (clicked()), this, SLOT (markAllUpdates()));
 
 	install_params = new PackageInstallParamsWidget (this);
-	connect (parent, SIGNAL (libraryLocationsChanged (const QStringList &)), install_params, SLOT (liblocsChanged (const QStringList &)));
+	connect (parent, SIGNAL (libraryLocationsChanged(QStringList)), install_params, SLOT (liblocsChanged(QStringList)));
 
 	buttonvbox->addWidget (label);
 	buttonvbox->addWidget (filter_edit);
@@ -670,10 +670,10 @@ InstallPackagesWidget::InstallPackagesWidget (RKLoadLibsDialog *dialog) : QWidge
 	buttonvbox->addWidget (install_params);
 	buttonvbox->addStretch (1);
 
-	connect (dialog, SIGNAL (okClicked ()), this, SLOT (ok ()));
-	connect (dialog, SIGNAL (applyClicked ()), this, SLOT (apply ()));
-	connect (dialog, SIGNAL (cancelClicked ()), this, SLOT (cancel ()));
-	connect (this, SIGNAL (destroyed ()), dialog, SLOT (childDeleted ()));
+	connect (dialog, SIGNAL (okClicked()), this, SLOT (ok()));
+	connect (dialog, SIGNAL (applyClicked()), this, SLOT (apply()));
+	connect (dialog, SIGNAL (cancelClicked()), this, SLOT (cancel()));
+	connect (this, SIGNAL (destroyed()), dialog, SLOT (childDeleted()));
 }
 
 InstallPackagesWidget::~InstallPackagesWidget () {
diff --git a/rkward/dialogs/rkrecoverdialog.cpp b/rkward/dialogs/rkrecoverdialog.cpp
index e637ecf..e226773 100644
--- a/rkward/dialogs/rkrecoverdialog.cpp
+++ b/rkward/dialogs/rkrecoverdialog.cpp
@@ -47,7 +47,7 @@ RKRecoverDialog::RKRecoverDialog (const QStringList &recovery_files) {
 	setButtonToolTip (KDialog::User1, i18n ("Deletes the recovery file(s)"));
 	setButtonWhatsThis (KDialog::User1, buttonToolTip (KDialog::User1));
 	
-	connect (this, SIGNAL (user1Clicked()), this, SLOT (deleteButtonClicked ()));
+	connect (this, SIGNAL (user1Clicked()), this, SLOT (deleteButtonClicked()));
 	QLabel *label = new QLabel (this);
 	QString text = QString ("<p><b>%1</b></p>").arg (caption);
 	text.append (i18n ("<p>It looks like RKWard has crashed, recently. We are sorry about that! However, not everything is lost, and with a bit of luck, your data has been saved in time.</p>"));
diff --git a/rkward/dialogs/startupdialog.cpp b/rkward/dialogs/startupdialog.cpp
index 7ac4273..3b5a5bc 100644
--- a/rkward/dialogs/startupdialog.cpp
+++ b/rkward/dialogs/startupdialog.cpp
@@ -69,7 +69,7 @@ StartupDialog::StartupDialog (QWidget *parent, StartupDialogResult *result, KRec
 	} else restore_workspace_button->setText (i18n ("Load workspace from current directory:\n%1", rdata_file.toLocalFile ()));
 	choser_layout->addWidget (open_button = new QRadioButton (i18n ("Load an existing workspace:"), choser_box));
 	choser->addButton (open_button);
-	connect (open_button, SIGNAL (toggled (bool)), this, SLOT (openButtonSelected (bool)));
+	connect (open_button, SIGNAL (toggled(bool)), this, SLOT (openButtonSelected(bool)));
 	empty_table_button->setChecked (true);
 
 	file_list = new QListWidget (choser_box);
@@ -82,8 +82,8 @@ StartupDialog::StartupDialog (QWidget *parent, StartupDialogResult *result, KRec
 			file_list->addItem (urls[i].pathOrUrl ());
 		}
 	}
-	connect (file_list, SIGNAL (itemClicked (QListWidgetItem*)), this, SLOT (listClicked (QListWidgetItem*)));
-	connect (file_list, SIGNAL (itemDoubleClicked (QListWidgetItem*)), this, SLOT (listDoubleClicked (QListWidgetItem*)));
+	connect (file_list, SIGNAL (itemClicked(QListWidgetItem*)), this, SLOT (listClicked(QListWidgetItem*)));
+	connect (file_list, SIGNAL (itemDoubleClicked(QListWidgetItem*)), this, SLOT (listDoubleClicked(QListWidgetItem*)));
 	choser_layout->addWidget (file_list);
 	choser_layout->addWidget (remember_box = new QCheckBox (i18n ("Always do this on startup"), choser_box));
 }
diff --git a/rkward/misc/celleditor.cpp b/rkward/misc/celleditor.cpp
index b86fd66..6c4975b 100644
--- a/rkward/misc/celleditor.cpp
+++ b/rkward/misc/celleditor.cpp
@@ -52,7 +52,7 @@ void CellEditor::setValueLabels (const RObject::ValueLabels& labels) {
 	}
 	connect (value_list, SIGNAL (triggered(QAction*)), SLOT (selectedFromList(QAction*)));
 
-	QTimer::singleShot (200, this, SLOT (showValueLabels ()));
+	QTimer::singleShot (200, this, SLOT (showValueLabels()));
 }
 
 void CellEditor::selectedFromList (QAction* action) {
diff --git a/rkward/misc/editformatdialog.cpp b/rkward/misc/editformatdialog.cpp
index 1ff70df..a25db27 100644
--- a/rkward/misc/editformatdialog.cpp
+++ b/rkward/misc/editformatdialog.cpp
@@ -61,7 +61,7 @@ EditFormatDialog::EditFormatDialog (QWidget *parent) : KDialog (parent) {
 	group_layout->addWidget (button);
 	precision_field = new QSpinBox (precision_box);
 	precision_field->setRange (0, 10);
-	connect (precision_field, SIGNAL (valueChanged (int)), this, SLOT (precisionFieldChanged (int)));
+	connect (precision_field, SIGNAL (valueChanged(int)), this, SLOT (precisionFieldChanged(int)));
 	group_layout->addWidget (precision_field);
 	precision_group->button ((int) RKVariable::FormattingOptions::PrecisionDefault)->setChecked (true);
 
diff --git a/rkward/misc/editlabelsdialog.cpp b/rkward/misc/editlabelsdialog.cpp
index 08a2551..d3750e1 100644
--- a/rkward/misc/editlabelsdialog.cpp
+++ b/rkward/misc/editlabelsdialog.cpp
@@ -44,9 +44,9 @@ RKVarLevelsTable::RKVarLevelsTable (QWidget *parent, const RObject::ValueLabels&
 	verticalHeader ()->setFixedWidth (40);
 	setMinimumWidth (80);
 
-	addAction (KStandardAction::cut (this, SLOT (cut ()), this));
-	addAction (KStandardAction::copy (this, SLOT (copy ()), this));
-	addAction (KStandardAction::paste (this, SLOT (paste ()), this));
+	addAction (KStandardAction::cut (this, SLOT (cut()), this));
+	addAction (KStandardAction::copy (this, SLOT (copy()), this));
+	addAction (KStandardAction::paste (this, SLOT (paste()), this));
 	setContextMenuPolicy (Qt::ActionsContextMenu);
 
 	setModel (lmodel = new RKVarLevelsTableModel (labels, this));
diff --git a/rkward/misc/getfilenamewidget.cpp b/rkward/misc/getfilenamewidget.cpp
index b24a716..9f89817 100644
--- a/rkward/misc/getfilenamewidget.cpp
+++ b/rkward/misc/getfilenamewidget.cpp
@@ -34,7 +34,7 @@ GetFileNameWidget::GetFileNameWidget (QWidget *parent, FileType mode, bool only_
 	if (!label.isEmpty ()) vbox->addWidget (new QLabel (label, this));
 
 	edit = new KUrlRequester (this);
-	connect (edit, SIGNAL (textChanged (const QString &)), this, SLOT (locationEditChanged (const QString &)));
+	connect (edit, SIGNAL (textChanged(QString)), this, SLOT (locationEditChanged(QString)));
 	vbox->addWidget (edit);
 
 	edit->setUrl (initial);
diff --git a/rkward/misc/multistringselector.cpp b/rkward/misc/multistringselector.cpp
index 3e0adb6..9f0aac2 100644
--- a/rkward/misc/multistringselector.cpp
+++ b/rkward/misc/multistringselector.cpp
@@ -110,21 +110,21 @@ RKMultiStringSelectorV2::RKMultiStringSelectorV2 (const QString& label, QWidget*
 	main_box->addWidget (tree_view);
 
 	add_button = new QPushButton (i18n ("Add"), this);
-	connect (add_button, SIGNAL (clicked ()), this, SLOT (buttonClicked()));
+	connect (add_button, SIGNAL (clicked()), this, SLOT (buttonClicked()));
 	button_box->addWidget (add_button);
 
 	remove_button = new QPushButton (i18n ("Remove"), this);
-	connect (remove_button, SIGNAL (clicked ()), this, SLOT (buttonClicked()));
+	connect (remove_button, SIGNAL (clicked()), this, SLOT (buttonClicked()));
 	button_box->addWidget (remove_button);
 
 	button_box->addSpacing (10);
 
 	up_button = new QPushButton (RKStandardIcons::getIcon (RKStandardIcons::ActionMoveUp), i18n ("Up"), this);
-	connect (up_button, SIGNAL (clicked ()), this, SLOT (buttonClicked()));
+	connect (up_button, SIGNAL (clicked()), this, SLOT (buttonClicked()));
 	button_box->addWidget (up_button);
 
 	down_button = new QPushButton (RKStandardIcons::getIcon (RKStandardIcons::ActionMoveDown), i18n ("Down"), this);
-	connect (down_button, SIGNAL (clicked ()), this, SLOT (buttonClicked()));
+	connect (down_button, SIGNAL (clicked()), this, SLOT (buttonClicked()));
 	button_box->addWidget (down_button);
 }
 
@@ -147,8 +147,8 @@ void RKMultiStringSelectorV2::setModel (QAbstractItemModel* model, int main_colu
 	connect (tree_view->selectionModel (), SIGNAL (currentChanged(QModelIndex,QModelIndex)), this, SLOT (updateButtons()));
 	connect (model, SIGNAL (dataChanged(QModelIndex,QModelIndex)), this, SLOT (anyModelDataChange()));
 	connect (model, SIGNAL (layoutChanged()), this, SLOT (anyModelDataChange()));
-	connect (model, SIGNAL (rowsInserted(const QModelIndex&,int,int)), this, SLOT (anyModelDataChange()));
-	connect (model, SIGNAL (rowsRemoved(const QModelIndex&,int,int)), this, SLOT (anyModelDataChange()));
+	connect (model, SIGNAL (rowsInserted(QModelIndex,int,int)), this, SLOT (anyModelDataChange()));
+	connect (model, SIGNAL (rowsRemoved(QModelIndex,int,int)), this, SLOT (anyModelDataChange()));
 	connect (model, SIGNAL (modelReset()), this, SLOT (anyModelDataChange()));
 
 	if (main_column >= 0) tree_view->resizeColumnToContents (main_column);
diff --git a/rkward/misc/rkobjectlistview.cpp b/rkward/misc/rkobjectlistview.cpp
index f7a517b..89a8339 100644
--- a/rkward/misc/rkobjectlistview.cpp
+++ b/rkward/misc/rkobjectlistview.cpp
@@ -40,7 +40,7 @@ RKObjectListView::RKObjectListView (QWidget *parent) : QTreeView (parent) {
 	menu = new QMenu (this);
 	menu->addMenu (settings->showObjectsMenu ());
 	menu->addMenu (settings->showFieldsMenu ());
-	menu->addAction (i18n ("Configure Defaults"), this, SLOT (popupConfigure ()));
+	menu->addAction (i18n ("Configure Defaults"), this, SLOT (popupConfigure()));
 }
 
 RKObjectListView::~RKObjectListView () {
@@ -137,9 +137,9 @@ void RKObjectListView::initialize () {
 	setMinimumHeight (rowHeight (genv) * 5);
 	settingsChanged ();
 
-	connect (RObjectList::getObjectList (), SIGNAL (updateComplete ()), this, SLOT (updateComplete ()));
-	connect (RObjectList::getObjectList (), SIGNAL (updateStarted ()), this, SLOT (updateStarted ()));
-	connect (selectionModel (), SIGNAL (selectionChanged(const QItemSelection&, const QItemSelection&)), this, SLOT (selectionChanged(const QItemSelection&, const QItemSelection&)));
+	connect (RObjectList::getObjectList (), SIGNAL (updateComplete()), this, SLOT (updateComplete()));
+	connect (RObjectList::getObjectList (), SIGNAL (updateStarted()), this, SLOT (updateStarted()));
+	connect (selectionModel (), SIGNAL (selectionChanged(QItemSelection,QItemSelection)), this, SLOT (selectionChanged(QItemSelection,QItemSelection)));
 	connect (settings, SIGNAL (settingsChanged()), this, SLOT (settingsChanged()));
 
 	updateComplete ();
@@ -173,7 +173,7 @@ RKObjectListViewSettings::RKObjectListViewSettings (QObject* parent) : QSortFilt
 	update_timer->setSingleShot (true);
 	connect (update_timer, SIGNAL(timeout()), this, SLOT(updateSelfNow()));
 
-	connect (RKSettings::tracker (), SIGNAL (settingsChanged (RKSettings::SettingsPage)), this, SLOT (globalSettingsChanged (RKSettings::SettingsPage)));
+	connect (RKSettings::tracker (), SIGNAL (settingsChanged(RKSettings::SettingsPage)), this, SLOT (globalSettingsChanged(RKSettings::SettingsPage)));
 
 	action_group = new QActionGroup (this);
 	action_group->setExclusive (false);
diff --git a/rkward/misc/rkprogresscontrol.cpp b/rkward/misc/rkprogresscontrol.cpp
index b2e9d44..697b47b 100644
--- a/rkward/misc/rkprogresscontrol.cpp
+++ b/rkward/misc/rkprogresscontrol.cpp
@@ -152,7 +152,7 @@ void RKProgressControl::done () {
 	}
 
 	if ((!modal) && autodelete) {
-		if (dialog) disconnect (dialog, SIGNAL (destroyed ()), this, SLOT (dialogDestroyed ()));		// we're already dead
+		if (dialog) disconnect (dialog, SIGNAL (destroyed()), this, SLOT (dialogDestroyed()));		// we're already dead
 		deleteLater ();
 	}
 }
@@ -161,7 +161,7 @@ void RKProgressControl::createDialog () {
 	RK_TRACE (MISC);
 
 	dialog = new RKProgressControlDialog (text, caption, mode, modal);
-	connect (dialog, SIGNAL (destroyed ()), this, SLOT (dialogDestroyed ()));
+	connect (dialog, SIGNAL (destroyed()), this, SLOT (dialogDestroyed()));
 	if (is_done) done ();
 	for (int i = 0; i < output_log.count (); ++i) {
 		dialog->addOutput (&(output_log[i]));
diff --git a/rkward/misc/rksaveobjectchooser.cpp b/rkward/misc/rksaveobjectchooser.cpp
index e1fec13..9c12f25 100644
--- a/rkward/misc/rksaveobjectchooser.cpp
+++ b/rkward/misc/rksaveobjectchooser.cpp
@@ -57,11 +57,11 @@ RKSaveObjectChooser::RKSaveObjectChooser (QWidget *parent, const QString &initia
 
 	name_edit = new QLineEdit (this);
 	name_edit->setText (initial);
-	connect (name_edit, SIGNAL (textChanged (const QString &)), this, SLOT (updateState()));
+	connect (name_edit, SIGNAL (textChanged(QString)), this, SLOT (updateState()));
 	layout->addWidget (name_edit);
 
 	overwrite_confirm = new QCheckBox (this);
-	connect (overwrite_confirm, SIGNAL (stateChanged (int)), this, SLOT (updateState()));
+	connect (overwrite_confirm, SIGNAL (stateChanged(int)), this, SLOT (updateState()));
 	layout->addWidget (overwrite_confirm);
 
 	// initialize
@@ -110,7 +110,7 @@ void RKSaveObjectChooser::selectRootObject () {
 	list_view->getSettings ()->setSetting (RKObjectListViewSettings::ShowObjectsAllEnvironments, false);
 	list_view->initialize ();
 	list_view->setObjectCurrent (root_object);
-	connect (list_view, SIGNAL (doubleClicked (const QModelIndex&)), dialog, SLOT (accept()));
+	connect (list_view, SIGNAL (doubleClicked(QModelIndex)), dialog, SLOT (accept()));
 
 	dialog->exec ();
 
diff --git a/rkward/misc/rkstandardactions.cpp b/rkward/misc/rkstandardactions.cpp
index d0a86c4..ec37e3b 100644
--- a/rkward/misc/rkstandardactions.cpp
+++ b/rkward/misc/rkstandardactions.cpp
@@ -40,7 +40,7 @@ KAction* RKStandardActions::pasteSpecial (RKMDIWindow *window, const QObject *re
 
 	KAction* ret = new RKPasteSpecialAction (window->standardActionCollection ());
 	window->standardActionCollection ()->addAction ("paste_special", ret);
-	ret->connect (ret, SIGNAL (pasteText (const QString&)), receiver, member);
+	ret->connect (ret, SIGNAL (pasteText(QString)), receiver, member);
 	ret->setShortcut (Qt::ShiftModifier + Qt::ControlModifier + Qt::Key_V);
 	return ret;
 }
diff --git a/rkward/plugin/rkabstractoptionselector.cpp b/rkward/plugin/rkabstractoptionselector.cpp
index 474de64..185be98 100644
--- a/rkward/plugin/rkabstractoptionselector.cpp
+++ b/rkward/plugin/rkabstractoptionselector.cpp
@@ -27,9 +27,9 @@ RKAbstractOptionSelector::RKAbstractOptionSelector (RKComponent *parent_componen
 
 	// create and register properties
 	addChild ("string", string = new RKComponentPropertyBase (this, false));
-	connect (string, SIGNAL (valueChanged (RKComponentPropertyBase *)), this, SLOT (propertyChanged (RKComponentPropertyBase *)));
+	connect (string, SIGNAL (valueChanged(RKComponentPropertyBase*)), this, SLOT (propertyChanged(RKComponentPropertyBase*)));
 	addChild ("number", number = new RKComponentPropertyInt (this, true, -1));
-	connect (number, SIGNAL (valueChanged (RKComponentPropertyBase *)), this, SLOT (propertyChanged (RKComponentPropertyBase *)));
+	connect (number, SIGNAL (valueChanged(RKComponentPropertyBase*)), this, SLOT (propertyChanged(RKComponentPropertyBase*)));
 	number->setInternal (true);
 }
 
diff --git a/rkward/plugin/rkcheckbox.cpp b/rkward/plugin/rkcheckbox.cpp
index 0f2efdc..2cf6dec 100644
--- a/rkward/plugin/rkcheckbox.cpp
+++ b/rkward/plugin/rkcheckbox.cpp
@@ -32,7 +32,7 @@ RKCheckBox::RKCheckBox (const QDomElement &element, RKComponent *parent_componen
 
 	// create and add property
 	addChild ("state", state = new RKComponentPropertyBool (this, true, xml->getBoolAttribute (element, "checked", false, DL_INFO), xml->getStringAttribute (element, "value", "1", DL_INFO), xml->getStringAttribute (element, "value_unchecked", QString::null, DL_INFO)));
-	connect (state, SIGNAL (valueChanged (RKComponentPropertyBase *)), this, SLOT (changedState (RKComponentPropertyBase *)));
+	connect (state, SIGNAL (valueChanged(RKComponentPropertyBase*)), this, SLOT (changedState(RKComponentPropertyBase*)));
 
 	// create checkbox
 	QVBoxLayout *vbox = new QVBoxLayout (this);
@@ -40,7 +40,7 @@ RKCheckBox::RKCheckBox (const QDomElement &element, RKComponent *parent_componen
 	checkbox = new QCheckBox (xml->i18nStringAttribute (element, "label", QString (), DL_WARNING), this);
 	vbox->addWidget (checkbox);
 	checkbox->setChecked (xml->getBoolAttribute (element, "checked", false, DL_INFO));
-	connect (checkbox, SIGNAL (stateChanged (int)), this, SLOT (changedState (int)));
+	connect (checkbox, SIGNAL (stateChanged(int)), this, SLOT (changedState(int)));
 
 	// initialize
 	updating = false;
diff --git a/rkward/plugin/rkcomponent.cpp b/rkward/plugin/rkcomponent.cpp
index b2f0e50..a779180 100644
--- a/rkward/plugin/rkcomponent.cpp
+++ b/rkward/plugin/rkcomponent.cpp
@@ -280,15 +280,15 @@ void RKComponent::createDefaultProperties () {
 	addChild ("enabled", enabledness_property = new RKComponentPropertyBool (this, false));
 	enabledness_property->setBoolValue (true);
 	enabledness_property->setInternal (true);
-	connect (enabledness_property, SIGNAL (valueChanged (RKComponentPropertyBase *)), this, SLOT (propertyValueChanged (RKComponentPropertyBase *)));
+	connect (enabledness_property, SIGNAL (valueChanged(RKComponentPropertyBase*)), this, SLOT (propertyValueChanged(RKComponentPropertyBase*)));
 	addChild ("visible", visibility_property = new RKComponentPropertyBool (this, false));
 	visibility_property->setBoolValue (true);
 	visibility_property->setInternal (true);
-	connect (visibility_property, SIGNAL (valueChanged (RKComponentPropertyBase *)), this, SLOT (propertyValueChanged (RKComponentPropertyBase *)));
+	connect (visibility_property, SIGNAL (valueChanged(RKComponentPropertyBase*)), this, SLOT (propertyValueChanged(RKComponentPropertyBase*)));
 	addChild ("required", requiredness_property = new RKComponentPropertyBool (this, false));
 	requiredness_property->setBoolValue (true);
 	requiredness_property->setInternal (true);
-	connect (requiredness_property, SIGNAL (valueChanged (RKComponentPropertyBase *)), this, SLOT (propertyValueChanged (RKComponentPropertyBase *)));
+	connect (requiredness_property, SIGNAL (valueChanged(RKComponentPropertyBase*)), this, SLOT (propertyValueChanged(RKComponentPropertyBase*)));
 }
 
 RKComponent::~RKComponent () {
diff --git a/rkward/plugin/rkcomponentproperties.cpp b/rkward/plugin/rkcomponentproperties.cpp
index a557db1..75dc514 100644
--- a/rkward/plugin/rkcomponentproperties.cpp
+++ b/rkward/plugin/rkcomponentproperties.cpp
@@ -132,7 +132,7 @@ void RKComponentPropertyBase::connectToGovernor (RKComponentPropertyBase *govern
 	RK_TRACE (PLUGIN);
 
 	RK_ASSERT (governor);
-	connect (governor, SIGNAL (valueChanged (RKComponentPropertyBase *)), this, SLOT (governorValueChanged (RKComponentPropertyBase *)));
+	connect (governor, SIGNAL (valueChanged(RKComponentPropertyBase*)), this, SLOT (governorValueChanged(RKComponentPropertyBase*)));
 	governor_modifier = modifier;
 	// no need to reconcile any requirements, as the RKComponentPropertyBase does not have any requirements
 
@@ -1196,7 +1196,7 @@ RKComponentPropertyConvert::RKComponentPropertyConvert (RKComponent *parent) : R
 	require_true = false;
 	c_parent = parent;
 	// get notified of own changes
-	connect (this, SIGNAL (valueChanged (RKComponentPropertyBase *)), this, SLOT (selfChanged (RKComponentPropertyBase *)));
+	connect (this, SIGNAL (valueChanged(RKComponentPropertyBase*)), this, SLOT (selfChanged(RKComponentPropertyBase*)));
 }
 
 RKComponentPropertyConvert::~RKComponentPropertyConvert () {
@@ -1220,7 +1220,7 @@ void RKComponentPropertyConvert::setSources (const QStringList &source_ids) {
 		if (prop && prop->isProperty ()) {
 			s.property = static_cast<RKComponentPropertyBase *>(prop);
 			sources.append (s);
-			connect (s.property, SIGNAL (valueChanged (RKComponentPropertyBase *)), this, SLOT (sourcePropertyChanged (RKComponentPropertyBase *)));
+			connect (s.property, SIGNAL (valueChanged(RKComponentPropertyBase*)), this, SLOT (sourcePropertyChanged(RKComponentPropertyBase*)));
 		} else {
 			RK_DEBUG (PLUGIN, DL_WARNING, "Not found or not a property: %s", (*it).toLatin1 ().data ());
 		}
diff --git a/rkward/plugin/rkdropdown.cpp b/rkward/plugin/rkdropdown.cpp
index 8b2a7b9..1f779b9 100644
--- a/rkward/plugin/rkdropdown.cpp
+++ b/rkward/plugin/rkdropdown.cpp
@@ -52,7 +52,7 @@ RKDropDown::RKDropDown (const QDomElement &element, RKComponent *parent_componen
 	addOptionsAndInit (element);
 
 	vbox->addWidget (box);
-	connect (box, SIGNAL (activated (int)), this, SLOT (comboItemActivated (int)));
+	connect (box, SIGNAL (activated(int)), this, SLOT (comboItemActivated(int)));
 }
 
 RKDropDown::~RKDropDown(){
diff --git a/rkward/plugin/rkformula.cpp b/rkward/plugin/rkformula.cpp
index aa5a658..ab7fc5a 100644
--- a/rkward/plugin/rkformula.cpp
+++ b/rkward/plugin/rkformula.cpp
@@ -41,11 +41,11 @@ RKFormula::RKFormula (const QDomElement &element, RKComponent *parent_component,
 
 	// create and register properties
 	fixed_factors = new RKComponentPropertyRObjects (this, true);
-	connect (fixed_factors, SIGNAL (valueChanged (RKComponentPropertyBase *)), this, SLOT (factorsChanged (RKComponentPropertyBase *)));
+	connect (fixed_factors, SIGNAL (valueChanged(RKComponentPropertyBase*)), this, SLOT (factorsChanged(RKComponentPropertyBase*)));
 	addChild ("fixed_factors", fixed_factors);
 	fixed_factors->setInternal (true);
 	dependent = new RKComponentPropertyRObjects (this, true);
-	connect (dependent, SIGNAL (valueChanged (RKComponentPropertyBase *)), this, SLOT (factorsChanged (RKComponentPropertyBase *)));
+	connect (dependent, SIGNAL (valueChanged(RKComponentPropertyBase*)), this, SLOT (factorsChanged(RKComponentPropertyBase*)));
 	addChild ("dependent", dependent);
 	dependent->setInternal (true);
 	model = new RKComponentPropertyBase (this, true);
@@ -76,7 +76,7 @@ RKFormula::RKFormula (const QDomElement &element, RKComponent *parent_component,
 	type_selector->addButton (button, (int) MainEffects);
 	vbox->addWidget (button = new QRadioButton (i18n ("Custom Model:"), this));
 	type_selector->addButton (button, (int) Custom);
-	connect (type_selector, SIGNAL (buttonClicked (int)), this, SLOT (typeChange (int)));
+	connect (type_selector, SIGNAL (buttonClicked(int)), this, SLOT (typeChange(int)));
 
 	custom_model_widget = new QWidget (this);
 	QHBoxLayout *model_hbox = new QHBoxLayout (custom_model_widget);
@@ -92,11 +92,11 @@ RKFormula::RKFormula (const QDomElement &element, RKComponent *parent_component,
 	model_hbox->addLayout (model_vbox);
 	add_button = new QPushButton (QString::null, custom_model_widget);
 	add_button->setIcon (RKStandardIcons::getIcon (RKStandardIcons::ActionAddRight));
-	connect (add_button, SIGNAL (clicked ()), this, SLOT (addButtonClicked ()));
+	connect (add_button, SIGNAL (clicked()), this, SLOT (addButtonClicked()));
 	model_vbox->addWidget (add_button);
 	remove_button = new QPushButton (QString::null, custom_model_widget);
 	remove_button->setIcon (RKStandardIcons::getIcon (RKStandardIcons::ActionRemoveLeft));
-	connect (remove_button, SIGNAL (clicked ()), this, SLOT (removeButtonClicked ()));
+	connect (remove_button, SIGNAL (clicked()), this, SLOT (removeButtonClicked()));
 	model_vbox->addWidget (remove_button);
 	level_box = new QSpinBox (custom_model_widget);
 	level_box->setRange (0, 0);
diff --git a/rkward/plugin/rkinput.cpp b/rkward/plugin/rkinput.cpp
index c58c377..03e8334 100644
--- a/rkward/plugin/rkinput.cpp
+++ b/rkward/plugin/rkinput.cpp
@@ -39,10 +39,10 @@ RKInput::RKInput (const QDomElement &element, RKComponent *parent_component, QWi
 
 	// create and add property
 	addChild ("text", text = new RKComponentPropertyBase (this, false));
-	connect (text, SIGNAL (valueChanged (RKComponentPropertyBase *)), this, SLOT (textChanged (RKComponentPropertyBase *)));
+	connect (text, SIGNAL (valueChanged(RKComponentPropertyBase*)), this, SLOT (textChanged(RKComponentPropertyBase*)));
 
 	setRequired (xml->getBoolAttribute (element, "required", false, DL_INFO));
-	connect (requirednessProperty (), SIGNAL (valueChanged (RKComponentPropertyBase*)), this, SLOT (requirednessChanged (RKComponentPropertyBase*)));
+	connect (requirednessProperty (), SIGNAL (valueChanged(RKComponentPropertyBase*)), this, SLOT (requirednessChanged(RKComponentPropertyBase*)));
 
 	// do all the layouting
 	QVBoxLayout *vbox = new QVBoxLayout (this);
@@ -62,11 +62,11 @@ RKInput::RKInput (const QDomElement &element, RKComponent *parent_component, QWi
 		textedit->setMinimumSize (250, lheight * 4 + margin);
 
 		vbox->addWidget (textedit);
-		connect (textedit, SIGNAL (textChanged ()), SLOT (textChanged ()));
+		connect (textedit, SIGNAL (textChanged()), SLOT (textChanged()));
 	} else {
 		lineedit = new QLineEdit (this);
 		vbox->addWidget (lineedit);
-		connect (lineedit, SIGNAL (textChanged (const QString&)), SLOT (textChanged (const QString&)));
+		connect (lineedit, SIGNAL (textChanged(QString)), SLOT (textChanged(QString)));
 	}
 
 	vbox->addStretch (1);		// to keep the label attached
diff --git a/rkward/plugin/rkoptionset.cpp b/rkward/plugin/rkoptionset.cpp
index 918da71..8c06342 100644
--- a/rkward/plugin/rkoptionset.cpp
+++ b/rkward/plugin/rkoptionset.cpp
@@ -111,7 +111,7 @@ RKOptionSet::RKOptionSet (const QDomElement &element, RKComponent *parent_compon
 		RKComponentPropertyStringList *column_property = new RKComponentPropertyStringList (this, false);
 		column_property->setInternal (external);	// Yes, looks strange, indeed. External properties should simply not be serialized / restored...
 		addChild (id, column_property);
-		connect (column_property, SIGNAL (valueChanged(RKComponentPropertyBase *)), this, SLOT (columnPropertyChanged(RKComponentPropertyBase *)));
+		connect (column_property, SIGNAL (valueChanged(RKComponentPropertyBase*)), this, SLOT (columnPropertyChanged(RKComponentPropertyBase*)));
 
 		if (!label.isEmpty ()) {
 			col_inf.display_index = visible_column_labels.size ();
@@ -158,7 +158,7 @@ RKOptionSet::RKOptionSet (const QDomElement &element, RKComponent *parent_compon
 					}
 				}
 				columns_to_update.insertMulti (gov_prop, it.key ());
-				connect (gov_prop, SIGNAL (valueChanged(RKComponentPropertyBase *)), this, SLOT (governingPropertyChanged(RKComponentPropertyBase *)));
+				connect (gov_prop, SIGNAL (valueChanged(RKComponentPropertyBase*)), this, SLOT (governingPropertyChanged(RKComponentPropertyBase*)));
 			} else {
 				RK_DEBUG (PLUGIN, DL_ERROR, "did not find governing property %s for column %s of optionset", qPrintable (ci.governor), qPrintable (ci.column_name));
 			}
diff --git a/rkward/plugin/rkpluginbrowser.cpp b/rkward/plugin/rkpluginbrowser.cpp
index d3547a2..c978d99 100644
--- a/rkward/plugin/rkpluginbrowser.cpp
+++ b/rkward/plugin/rkpluginbrowser.cpp
@@ -34,7 +34,7 @@ RKPluginBrowser::RKPluginBrowser (const QDomElement &element, RKComponent *paren
 
 	// create and add property
 	addChild ("selection", selection = new RKComponentPropertyBase (this, true));
-	connect (selection, SIGNAL (valueChanged (RKComponentPropertyBase *)), this, SLOT (textChanged (RKComponentPropertyBase *)));
+	connect (selection, SIGNAL (valueChanged(RKComponentPropertyBase*)), this, SLOT (textChanged(RKComponentPropertyBase*)));
 
 	setRequired (xml->getBoolAttribute (element, "required", true, DL_INFO));
 	connect (requirednessProperty (), SIGNAL (valueChanged(RKComponentPropertyBase*)), this, SLOT (requirednessChanged(RKComponentPropertyBase*)));
@@ -57,7 +57,7 @@ RKPluginBrowser::RKPluginBrowser (const QDomElement &element, RKComponent *paren
 		filter.append ("\n*|All files");
 		selector->setFilter (filter);
 	}
-	connect (selector, SIGNAL (locationChanged ()), SLOT (textChanged ()));
+	connect (selector, SIGNAL (locationChanged()), SLOT (textChanged()));
 
 	vbox->addWidget (selector);
 
diff --git a/rkward/plugin/rkpluginframe.cpp b/rkward/plugin/rkpluginframe.cpp
index 18ab29b..d4a2b9b 100644
--- a/rkward/plugin/rkpluginframe.cpp
+++ b/rkward/plugin/rkpluginframe.cpp
@@ -62,7 +62,7 @@ void RKPluginFrame::initCheckedProperty () {
 	}
 
 	addChild ("checked", checked = new RKComponentPropertyBool (this, false, frame->isChecked (), "1", "0"));
-	connect (checked, SIGNAL (valueChanged (RKComponentPropertyBase *)), this, SLOT (propertyChanged (RKComponentPropertyBase *)));
+	connect (checked, SIGNAL (valueChanged(RKComponentPropertyBase*)), this, SLOT (propertyChanged(RKComponentPropertyBase*)));
 }
 
 RKComponentBase* RKPluginFrame::lookupComponent (const QString& identifier, QString* remainder) {
diff --git a/rkward/plugin/rkpluginsaveobject.cpp b/rkward/plugin/rkpluginsaveobject.cpp
index 0291044..85e4150 100644
--- a/rkward/plugin/rkpluginsaveobject.cpp
+++ b/rkward/plugin/rkpluginsaveobject.cpp
@@ -41,24 +41,24 @@ RKPluginSaveObject::RKPluginSaveObject (const QDomElement &element, RKComponent
 
 	// create and add properties
 	addChild ("selection", selection = new RKComponentPropertyBase (this, required));
-	connect (selection, SIGNAL (valueChanged (RKComponentPropertyBase *)), this, SLOT (externalChange ()));
+	connect (selection, SIGNAL (valueChanged(RKComponentPropertyBase*)), this, SLOT (externalChange()));
 	selection->setInternal (true);	// the two separate properties "parent" and "objectname" are used for (re-)storing.
 	addChild ("parent", parent = new RKComponentPropertyRObjects (this, false));
-	connect (parent, SIGNAL (valueChanged (RKComponentPropertyBase *)), this, SLOT (externalChange ()));
+	connect (parent, SIGNAL (valueChanged(RKComponentPropertyBase*)), this, SLOT (externalChange()));
 	addChild ("objectname", objectname = new RKComponentPropertyBase (this, false));
-	connect (objectname, SIGNAL (valueChanged (RKComponentPropertyBase *)), this, SLOT (externalChange ()));
+	connect (objectname, SIGNAL (valueChanged(RKComponentPropertyBase*)), this, SLOT (externalChange()));
 	addChild ("active", active = new RKComponentPropertyBool (this, false, false, "1", "0"));
-	connect (active, SIGNAL (valueChanged (RKComponentPropertyBase *)), this, SLOT (externalChange ()));
+	connect (active, SIGNAL (valueChanged(RKComponentPropertyBase*)), this, SLOT (externalChange()));
 	if (!checkable) active->setInternal (true);
 
 	// create GUI
 	groupbox = new QGroupBox (label, this);
 	groupbox->setCheckable (checkable);
 	if (checkable) groupbox->setChecked (checked);
-	connect (groupbox, SIGNAL (toggled(bool)), this, SLOT (internalChange ()));
+	connect (groupbox, SIGNAL (toggled(bool)), this, SLOT (internalChange()));
 
 	selector = new RKSaveObjectChooser (groupbox, initial);
-	connect (selector, SIGNAL (changed (bool)), SLOT (internalChange ()));
+	connect (selector, SIGNAL (changed(bool)), SLOT (internalChange()));
 
 	QVBoxLayout *vbox = new QVBoxLayout (this);
 	vbox->setContentsMargins (0, 0, 0, 0);
diff --git a/rkward/plugin/rkpluginspinbox.cpp b/rkward/plugin/rkpluginspinbox.cpp
index 5fbab2f..a0e6294 100644
--- a/rkward/plugin/rkpluginspinbox.cpp
+++ b/rkward/plugin/rkpluginspinbox.cpp
@@ -71,9 +71,9 @@ RKPluginSpinBox::RKPluginSpinBox (const QDomElement &element, RKComponent *paren
 	}
 
 	// connect
-	connect (spinbox, SIGNAL (valueChanged (int)), this, SLOT (valueChanged (int)));
-	connect (intvalue, SIGNAL (valueChanged (RKComponentPropertyBase *)), this, SLOT (valueChanged (RKComponentPropertyBase *)));
-	connect (realvalue, SIGNAL (valueChanged (RKComponentPropertyBase *)), this, SLOT (valueChanged (RKComponentPropertyBase *)));
+	connect (spinbox, SIGNAL (valueChanged(int)), this, SLOT (valueChanged(int)));
+	connect (intvalue, SIGNAL (valueChanged(RKComponentPropertyBase*)), this, SLOT (valueChanged(RKComponentPropertyBase*)));
+	connect (realvalue, SIGNAL (valueChanged(RKComponentPropertyBase*)), this, SLOT (valueChanged(RKComponentPropertyBase*)));
 	updating = false;
 
 	// finish layout
diff --git a/rkward/plugin/rkpreviewbox.cpp b/rkward/plugin/rkpreviewbox.cpp
index c994a13..143848b 100644
--- a/rkward/plugin/rkpreviewbox.cpp
+++ b/rkward/plugin/rkpreviewbox.cpp
@@ -47,7 +47,7 @@ RKPreviewBox::RKPreviewBox (const QDomElement &element, RKComponent *parent_comp
 	// create and add property
 	addChild ("state", state = new RKComponentPropertyBool (this, true, preview_active, "active", "inactive"));
 	state->setInternal (true);	// restoring this does not make sense.
-	connect (state, SIGNAL (valueChanged (RKComponentPropertyBase *)), this, SLOT (changedState (RKComponentPropertyBase *)));
+	connect (state, SIGNAL (valueChanged(RKComponentPropertyBase*)), this, SLOT (changedState(RKComponentPropertyBase*)));
 
 	// create checkbox
 	QVBoxLayout *vbox = new QVBoxLayout (this);
@@ -55,7 +55,7 @@ RKPreviewBox::RKPreviewBox (const QDomElement &element, RKComponent *parent_comp
 	toggle_preview_box = new QCheckBox (xml->i18nStringAttribute (element, "label", i18n ("Preview"), DL_INFO), this);
 	vbox->addWidget (toggle_preview_box);
 	toggle_preview_box->setChecked (preview_active);
-	connect (toggle_preview_box, SIGNAL (stateChanged (int)), this, SLOT (changedState (int)));
+	connect (toggle_preview_box, SIGNAL (stateChanged(int)), this, SLOT (changedState(int)));
 
 	// status lable
 	status_label = new QLabel (QString::null, this);
@@ -66,7 +66,7 @@ RKPreviewBox::RKPreviewBox (const QDomElement &element, RKComponent *parent_comp
 	RKComponentBase *cp = parentComponent ()->lookupComponent ("code", &dummy);
 	if (cp && dummy.isNull () && (cp->type () == PropertyCode)) {
 		code_property = static_cast<RKComponentPropertyCode *> (cp);
-		connect (code_property, SIGNAL (valueChanged (RKComponentPropertyBase *)), this, SLOT (changedCode (RKComponentPropertyBase *)));
+		connect (code_property, SIGNAL (valueChanged(RKComponentPropertyBase*)), this, SLOT (changedCode(RKComponentPropertyBase*)));
 	} else {
 		RK_DEBUG (PLUGIN, DL_WARNING, "Could not find code property in preview box (remainder: %s)", dummy.toLatin1().data ());
 		code_property = 0;
@@ -75,7 +75,7 @@ RKPreviewBox::RKPreviewBox (const QDomElement &element, RKComponent *parent_comp
 	// initialize
 	update_timer = new QTimer (this);
 	update_timer->setSingleShot (true);
-	connect (update_timer, SIGNAL (timeout ()), this, SLOT (tryPreviewNow ()));
+	connect (update_timer, SIGNAL (timeout()), this, SLOT (tryPreviewNow()));
 	updating = false;
 	changedState (0);
 }
diff --git a/rkward/plugin/rkradio.cpp b/rkward/plugin/rkradio.cpp
index ba614f1..3fe40a3 100644
--- a/rkward/plugin/rkradio.cpp
+++ b/rkward/plugin/rkradio.cpp
@@ -48,7 +48,7 @@ RKRadio::RKRadio (const QDomElement &element, RKComponent *parent_component, QWi
 	addOptionsAndInit (element);
 
 	vbox->addWidget (group_box);
-	connect (group, SIGNAL (buttonClicked (int)), this, SLOT (itemSelected (int)));
+	connect (group, SIGNAL (buttonClicked(int)), this, SLOT (itemSelected(int)));
 }
 
 RKRadio::~RKRadio(){
diff --git a/rkward/plugin/rkstandardcomponent.cpp b/rkward/plugin/rkstandardcomponent.cpp
index d771390..c28b389 100644
--- a/rkward/plugin/rkstandardcomponent.cpp
+++ b/rkward/plugin/rkstandardcomponent.cpp
@@ -113,9 +113,9 @@ RKStandardComponent::RKStandardComponent (RKComponent *parent_component, QWidget
 		back->setPreviewTemplate (xml->getStringAttribute (element, "preview", QString::null, DL_INFO));
 		backend = back;
 	}
-	connect (backend, SIGNAL (idle ()), this, SLOT (backendIdle ()));
-	connect (backend, SIGNAL (requestValue (const QString&, const int)), this, SLOT (getValue (const QString&, const int)));
-	connect (backend, SIGNAL (haveError ()), this, SLOT (kill ()));
+	connect (backend, SIGNAL (idle()), this, SLOT (backendIdle()));
+	connect (backend, SIGNAL (requestValue(QString,int)), this, SLOT (getValue(QString,int)));
+	connect (backend, SIGNAL (haveError()), this, SLOT (kill()));
 	if (!backend->initialize (code, parent_component == 0)) return;
 
 	// check for existence of help file
@@ -192,7 +192,7 @@ RKComponentScriptingProxy* RKStandardComponent::scriptingProxy () {
 
 	if (!scripting) {
 		scripting = new RKComponentScriptingProxy (this);
-		connect (scripting, SIGNAL (haveError ()), this, SLOT (kill ()));
+		connect (scripting, SIGNAL (haveError()), this, SLOT (kill()));
 	}
 	return scripting;
 }
@@ -353,7 +353,7 @@ void RKStandardComponent::buildAndInitialize (const QDomElement &doc_element, co
 	if (gui && (!enslaved)) {
 		// somehow, when switching the interface, and we show before the old GUI has been fully deleted (it is deleted via deleteLater (), then there may be strange graphical glitches until the GUI is first redrawn completely.
 		// Likely a difficult bug in Qt. Delaying the show until the next event loop solves the problem.
-		QTimer::singleShot (0, gui, SLOT (show ()));
+		QTimer::singleShot (0, gui, SLOT (show()));
 	}
 	changed ();
 	standardInitializationComplete ();
@@ -383,7 +383,7 @@ void RKStandardComponent::close () {
 	RK_TRACE (PLUGIN);
 
 	if (gui && (!parentComponent ())) {
-		QTimer::singleShot (0, gui, SLOT (close ()));
+		QTimer::singleShot (0, gui, SLOT (close()));
 	} else {
 		RK_ASSERT (false);
 	}
@@ -398,7 +398,7 @@ void RKStandardComponent::changed () {
 	// don't trigger update twice
 	if (!update_pending) {
 		update_pending = true;
-		QTimer::singleShot (0, this, SLOT (handleChange ()));
+		QTimer::singleShot (0, this, SLOT (handleChange()));
 	}
 }
 
@@ -663,7 +663,7 @@ void RKComponentBuilder::buildElement (const QDomElement &element, XMLHelper &xm
 					swidget->setCaption (dummy);
 // TODO we should use a specialized pushbutton, that changes color if the corresponding component is dissatisfied!
 					QPushButton *button = new QPushButton (dummy, parent_widget);
-					component ()->connect (button, SIGNAL (clicked ()), widget, SLOT (showGUI ()));
+					component ()->connect (button, SIGNAL (clicked()), widget, SLOT (showGUI()));
 				} else {
 					widget = handle->invoke (component (), parent_widget);
 				}
@@ -727,7 +727,7 @@ void RKComponentBuilder::parseLogic (const QDomElement &element, XMLHelper &xml,
 		RKComponentPropertyBase *prop = new RKComponentPropertyBase (component (), xml.getBoolAttribute (*it, "required", false, DL_INFO));
 		component ()->addChild (id, prop);
 		prop->setInternal (true);
-		component ()->connect (prop, SIGNAL (valueChanged (RKComponentPropertyBase *)), component (), SLOT (outsideValueChanged (RKComponentPropertyBase *)));
+		component ()->connect (prop, SIGNAL (valueChanged(RKComponentPropertyBase*)), component (), SLOT (outsideValueChanged(RKComponentPropertyBase*)));
 
 		QString dummy = xml.getStringAttribute (*it, "default", QString::null, DL_INFO);
 		if (!dummy.isNull ()) {
diff --git a/rkward/plugin/rkstandardcomponentgui.cpp b/rkward/plugin/rkstandardcomponentgui.cpp
index f14b421..79d6884 100644
--- a/rkward/plugin/rkstandardcomponentgui.cpp
+++ b/rkward/plugin/rkstandardcomponentgui.cpp
@@ -50,7 +50,7 @@ RKStandardComponentGUI::RKStandardComponentGUI (RKStandardComponent *component,
 
 	RKStandardComponentGUI::component = component;
 	RKStandardComponentGUI::code_property = code_property;
-	connect (code_property, SIGNAL (valueChanged (RKComponentPropertyBase *)), this, SLOT (codeChanged (RKComponentPropertyBase *)));
+	connect (code_property, SIGNAL (valueChanged(RKComponentPropertyBase*)), this, SLOT (codeChanged(RKComponentPropertyBase*)));
 	connect (RKWardMainWindow::getMain(), SIGNAL (aboutToQuitRKWard()), this, SLOT (cancel()));
 
 	RKStandardComponentGUI::enslaved = enslaved;
@@ -58,7 +58,7 @@ RKStandardComponentGUI::RKStandardComponentGUI (RKStandardComponent *component,
 	// code update timer
 	code_update_timer = new QTimer (this);
 	code_update_timer->setSingleShot (true);
-	connect (code_update_timer, SIGNAL (timeout ()), this, SLOT (updateCodeNow ()));
+	connect (code_update_timer, SIGNAL (timeout()), this, SLOT (updateCodeNow()));
 
 	if (!enslaved) {
 		KActionCollection *action_collection = new KActionCollection (this);
@@ -95,12 +95,12 @@ void RKStandardComponentGUI::createDialog (bool switchable) {
 	vbox->setContentsMargins (0, 0, 0, 0);
 	vbox->setSpacing (RKGlobals::spacingHint ());
 	ok_button = new QPushButton (i18n ("Submit"), upper_widget);
-	connect (ok_button, SIGNAL (clicked ()), this, SLOT (ok ()));
+	connect (ok_button, SIGNAL (clicked()), this, SLOT (ok()));
 	vbox->addWidget (ok_button);
 	if (enslaved) ok_button->hide ();
 
 	cancel_button = new QPushButton (i18n ("Close"), upper_widget);
-	connect (cancel_button, SIGNAL (clicked ()), this, SLOT (cancel ()));
+	connect (cancel_button, SIGNAL (clicked()), this, SLOT (cancel()));
 	vbox->addWidget (cancel_button);
 	auto_close_box = new QCheckBox (i18n ("Auto close"), upper_widget);
 	auto_close_box->setChecked (true);
@@ -110,19 +110,19 @@ void RKStandardComponentGUI::createDialog (bool switchable) {
 	
 	help_button = new QPushButton (i18n ("Help"), upper_widget);
 	help_button->setEnabled (component->haveHelp ());
-	connect (help_button, SIGNAL (clicked ()), this, SLOT (help ()));
+	connect (help_button, SIGNAL (clicked()), this, SLOT (help()));
 	vbox->addWidget (help_button);
 	
 	if (switchable && (!enslaved)) {
 		switch_button = new QPushButton (i18n ("Use Wizard"), upper_widget);
-		connect (switch_button, SIGNAL (clicked ()), this, SLOT (switchInterface ()));
+		connect (switch_button, SIGNAL (clicked()), this, SLOT (switchInterface()));
 		vbox->addWidget (switch_button);
 	}
 	vbox->addStretch (2);
 	
 	toggle_code_button = new QPushButton (i18n ("Code"), upper_widget);
 	toggle_code_button->setCheckable (true);
-	connect (toggle_code_button, SIGNAL (clicked ()), this, SLOT (toggleCode ()));
+	connect (toggle_code_button, SIGNAL (clicked()), this, SLOT (toggleCode()));
 	vbox->addWidget (toggle_code_button);
 	if (enslaved) toggle_code_button->hide ();
 	
@@ -151,7 +151,7 @@ void RKStandardComponentGUI::showEvent (QShowEvent *e) {
 	setMinimumSize (min.expandedTo (QSize (50, 50)));
 
 	if (toggle_code_button) {	// this is a dialog, not  wizard
-		QTimer::singleShot (0, this, SLOT (toggleCode ()));
+		QTimer::singleShot (0, this, SLOT (toggleCode()));
 	}
 }
 
@@ -319,10 +319,10 @@ void RKStandardComponentWizard::createWizard (bool switchable) {
 	main_grid->addWidget (prev_button, 2, 2, Qt::AlignRight);
 	next_button = new QPushButton (QString::null, this);
 	main_grid->addWidget (next_button, 2, 3, Qt::AlignRight);
-	connect (next_button, SIGNAL (clicked ()), this, SLOT (next ()));
-	connect (prev_button, SIGNAL (clicked ()), this, SLOT (prev ()));
-	connect (cancel_button, SIGNAL (clicked ()), this, SLOT (cancel ()));
-	connect (help_button, SIGNAL (clicked ()), this, SLOT (help ()));
+	connect (next_button, SIGNAL (clicked()), this, SLOT (next()));
+	connect (prev_button, SIGNAL (clicked()), this, SLOT (prev()));
+	connect (cancel_button, SIGNAL (clicked()), this, SLOT (cancel()));
+	connect (help_button, SIGNAL (clicked()), this, SLOT (help()));
 
 	// dummy:
 	auto_close_box = new QCheckBox(this);
diff --git a/rkward/plugin/rktabpage.cpp b/rkward/plugin/rktabpage.cpp
index b7c9c2f..a769701 100644
--- a/rkward/plugin/rktabpage.cpp
+++ b/rkward/plugin/rktabpage.cpp
@@ -44,8 +44,8 @@ RKTabPage::RKTabPage (const QDomElement &element, RKComponent *parent_component,
 	page->setSizePolicy (QSizePolicy (QSizePolicy::Expanding, QSizePolicy::Expanding));
 
 	inserted = true;
-	connect (visibility_property, SIGNAL (valueChanged (RKComponentPropertyBase *)), this, SLOT (visibleEnabledChanged (RKComponentPropertyBase *)));
-	connect (enabledness_property, SIGNAL (valueChanged (RKComponentPropertyBase *)), this, SLOT (visibleEnabledChanged (RKComponentPropertyBase *)));
+	connect (visibility_property, SIGNAL (valueChanged(RKComponentPropertyBase*)), this, SLOT (visibleEnabledChanged(RKComponentPropertyBase*)));
+	connect (enabledness_property, SIGNAL (valueChanged(RKComponentPropertyBase*)), this, SLOT (visibleEnabledChanged(RKComponentPropertyBase*)));
 }
 
 RKTabPage::~RKTabPage () {
diff --git a/rkward/plugin/rktext.cpp b/rkward/plugin/rktext.cpp
index 3e7605f..740d3a4 100644
--- a/rkward/plugin/rktext.cpp
+++ b/rkward/plugin/rktext.cpp
@@ -61,7 +61,7 @@ RKText::RKText (const QDomElement &element, RKComponent *parent_component, QWidg
 	// create and add property
 	addChild ("text", text = new RKComponentPropertyBase (this, true));
 	text->setInternal (true);
-	connect (text, SIGNAL (valueChanged (RKComponentPropertyBase *)), this, SLOT (textChanged (RKComponentPropertyBase *)));
+	connect (text, SIGNAL (valueChanged(RKComponentPropertyBase*)), this, SLOT (textChanged(RKComponentPropertyBase*)));
 
 	// initialize
 	text->setValue (initial_text);
diff --git a/rkward/plugin/rkvalueselector.cpp b/rkward/plugin/rkvalueselector.cpp
index f820995..e5c8be7 100644
--- a/rkward/plugin/rkvalueselector.cpp
+++ b/rkward/plugin/rkvalueselector.cpp
@@ -59,7 +59,7 @@ RKValueSelector::RKValueSelector (const QDomElement &element, RKComponent *paren
 	list_view->setRootIsDecorated (false);
 	model = new QStringListModel (this);
 	list_view->setModel (model);
-	connect (list_view->selectionModel (), SIGNAL (selectionChanged(QItemSelection,QItemSelection)), this, SLOT (listSelectionChanged ()));
+	connect (list_view->selectionModel (), SIGNAL (selectionChanged(QItemSelection,QItemSelection)), this, SLOT (listSelectionChanged()));
 
 	vbox->addWidget (list_view);
 
diff --git a/rkward/plugin/rkvarselector.cpp b/rkward/plugin/rkvarselector.cpp
index 5b87924..1d61ed3 100644
--- a/rkward/plugin/rkvarselector.cpp
+++ b/rkward/plugin/rkvarselector.cpp
@@ -45,7 +45,7 @@ RKVarSelector::RKVarSelector (const QDomElement &element, RKComponent *parent_co
 
 	list_view = new RKObjectListView (this);
 	list_view->setSelectionMode (QAbstractItemView::ExtendedSelection);
-	connect (list_view, SIGNAL (selectionChanged ()), this, SLOT (objectSelectionChanged ()));
+	connect (list_view, SIGNAL (selectionChanged()), this, SLOT (objectSelectionChanged()));
 
 	vbox->addWidget (list_view);
 	list_view->getSettings ()->setSetting (RKObjectListViewSettings::ShowObjectsAllEnvironments, false);
diff --git a/rkward/plugin/rkvarslot.cpp b/rkward/plugin/rkvarslot.cpp
index c479fd4..2d17973 100644
--- a/rkward/plugin/rkvarslot.cpp
+++ b/rkward/plugin/rkvarslot.cpp
@@ -50,7 +50,7 @@ RKVarSlot::RKVarSlot (const QDomElement &element, RKComponent *parent_component,
 
 	select = new QPushButton (QString::null, this);
 	setSelectButton (false);
-	connect (select, SIGNAL (clicked ()), this, SLOT (selectPressed ()));
+	connect (select, SIGNAL (clicked()), this, SLOT (selectPressed()));
 	g_layout->addWidget (select, 1, 0);
 	g_layout->addItem (new QSpacerItem (5, 0), 0, 1);
 
@@ -80,7 +80,7 @@ RKVarSlot::RKVarSlot (const QDomElement &element, RKComponent *parent_component,
 	// find out about options
 	if ((multi = xml->getBoolAttribute (element, "multi", false, DL_INFO))) {
 		available->setAllowedLength (xml->getIntAttribute (element, "min_vars", 1, DL_INFO), xml->getIntAttribute (element, "min_vars_if_any", 1, DL_INFO), xml->getIntAttribute (element, "max_vars", 0, DL_INFO));
-		connect (list, SIGNAL (itemSelectionChanged ()), this, SLOT (listSelectionChanged ()));
+		connect (list, SIGNAL (itemSelectionChanged()), this, SLOT (listSelectionChanged()));
 	} else {
 		available->setAllowedLength (1, 1, 1);
 
@@ -107,7 +107,7 @@ RKVarSlot::RKVarSlot (const QDomElement &element, RKComponent *parent_component,
 	}
 	available->setStripDuplicates (!xml->getBoolAttribute (element, "allow_duplicates", false, DL_INFO));
 
-	connect (available, SIGNAL (valueChanged (RKComponentPropertyBase *)), this, SLOT (availablePropertyChanged (RKComponentPropertyBase *)));
+	connect (available, SIGNAL (valueChanged(RKComponentPropertyBase*)), this, SLOT (availablePropertyChanged(RKComponentPropertyBase*)));
 	availablePropertyChanged (available);		// initialize
 }
 
diff --git a/rkward/rbackend/rkfrontendtransmitter.cpp b/rkward/rbackend/rkfrontendtransmitter.cpp
index 470705a..d6b50f8 100644
--- a/rkward/rbackend/rkfrontendtransmitter.cpp
+++ b/rkward/rbackend/rkfrontendtransmitter.cpp
@@ -71,7 +71,7 @@ void RKFrontendTransmitter::run () {
 	// we add a bit of randomness to the servername, as in general the servername must be unique
 	// there could be conflicts with concurrent or with previous crashed rkward sessions.
 	if (!server->listen ("rkward" + KRandom::randomString (8))) handleTransmissionError ("Failure to start frontend server: " + server->errorString ());
-	connect (server, SIGNAL (newConnection ()), this, SLOT (connectAndEnterLoop ()), Qt::QueuedConnection);
+	connect (server, SIGNAL (newConnection()), this, SLOT (connectAndEnterLoop()), Qt::QueuedConnection);
 
 	// start backend
 	backend = new QProcess (this);
@@ -89,7 +89,7 @@ void RKFrontendTransmitter::run () {
 	args.append ("--rkd-server-name=" + rkd_transmitter->serverName ());
 	args.append ("--data-dir=" + RKSettingsModuleGeneral::filesPath ());
 	args.append ("--locale-dir=" + KGlobal::dirs()->findResourceDir ("locale", KGlobal::locale ()->language () + "/LC_MESSAGES/rkward.mo"));
-	connect (backend, SIGNAL (finished (int, QProcess::ExitStatus)), this, SLOT (backendExit (int)));
+	connect (backend, SIGNAL (finished(int,QProcess::ExitStatus)), this, SLOT (backendExit(int)));
 	QString backend_executable = findBackendAtPath (QCoreApplication::applicationDirPath ());
 	if (backend_executable.isEmpty ()) backend_executable = findBackendAtPath (QCoreApplication::applicationDirPath () + "/rbackend");	// for running directly from the build-dir
 #ifdef Q_WS_MAC
diff --git a/rkward/rbackend/rktransmitter.cpp b/rkward/rbackend/rktransmitter.cpp
index c6dc40c..5e9518e 100644
--- a/rkward/rbackend/rktransmitter.cpp
+++ b/rkward/rbackend/rktransmitter.cpp
@@ -264,7 +264,7 @@ void RKAbstractTransmitter::setConnection (QLocalSocket *_connection) {
 	connect (connection, SIGNAL (disconnected()), this, SLOT (disconnected()));
 
 	// In case something is pending already.
-	if (connection->bytesAvailable ()) QTimer::singleShot (0, this, SLOT (fetchTransmission ()));
+	if (connection->bytesAvailable ()) QTimer::singleShot (0, this, SLOT (fetchTransmission()));
 }
 
 void RKAbstractTransmitter::disconnected () {
diff --git a/rkward/rbackend/rkwarddevice/rkgraphicsdevice.cpp b/rkward/rbackend/rkwarddevice/rkgraphicsdevice.cpp
index ac106f8..7ade4d4 100644
--- a/rkward/rbackend/rkwarddevice/rkgraphicsdevice.cpp
+++ b/rkward/rbackend/rkwarddevice/rkgraphicsdevice.cpp
@@ -54,7 +54,7 @@ RKGraphicsDevice::RKGraphicsDevice (double width, double height, const QString &
 	view->setScaledContents (true);    // this is just for preview during scaling. The area will be re-sized and re-drawn from R.
 	view->setFocusPolicy (Qt::StrongFocus);   // for receiving key events for R's getGraphicsEvent()
 	connect (view, SIGNAL (destroyed(QObject*)), this, SLOT (viewKilled()));
-	connect (&updatetimer, SIGNAL (timeout ()), this, SLOT (updateNow ()));
+	connect (&updatetimer, SIGNAL (timeout()), this, SLOT (updateNow()));
 	updatetimer.setSingleShot (true);
 	clear ();
 	if (antialias) painter.setRenderHints (QPainter::Antialiasing | QPainter::TextAntialiasing | QPainter::SmoothPixmapTransform);
@@ -321,7 +321,7 @@ void RKGraphicsDevice::confirmNewPage () {
 	dialog->setButtons (KDialog::Ok | KDialog::Cancel);
 	dialog->setMainWidget (new QLabel (msg, dialog));
 //	dialog->setWindowModality (Qt::WindowModal);        // not good: Grays out the plot window
-	connect (dialog, SIGNAL (finished (int)), this, SLOT (newPageDialogDone (int)));
+	connect (dialog, SIGNAL (finished(int)), this, SLOT (newPageDialogDone(int)));
 	dialog->show ();
 }
 
diff --git a/rkward/rbackend/rkwarddevice/rkgraphicsdevice_frontendtransmitter.cpp b/rkward/rbackend/rkwarddevice/rkgraphicsdevice_frontendtransmitter.cpp
index abdf59a..ee09bf3 100644
--- a/rkward/rbackend/rkwarddevice/rkgraphicsdevice_frontendtransmitter.cpp
+++ b/rkward/rbackend/rkwarddevice/rkgraphicsdevice_frontendtransmitter.cpp
@@ -57,7 +57,7 @@ void RKGraphicsDeviceFrontendTransmitter::setupServer () {
 	RK_ASSERT (!local_server);
 	local_server = new QLocalServer ();
 	RK_ASSERT (local_server->listen ("rkd" + KRandom::randomString (8)));
-	connect (local_server, SIGNAL (newConnection ()), this, SLOT (newConnection()));
+	connect (local_server, SIGNAL (newConnection()), this, SLOT (newConnection()));
 	server_name = local_server->fullServerName ();
 }
 
@@ -81,7 +81,7 @@ void RKGraphicsDeviceFrontendTransmitter::newConnection () {
 
 	connection = con;
 	streamer.setIODevice (con);
-	connect (connection, SIGNAL (readyRead ()), this, SLOT (newData ()));
+	connect (connection, SIGNAL (readyRead()), this, SLOT (newData()));
 	newData ();	// might already be available
 }
 
diff --git a/rkward/rkconsole.cpp b/rkward/rkconsole.cpp
index e9fe00f..879d39e 100644
--- a/rkward/rkconsole.cpp
+++ b/rkward/rkconsole.cpp
@@ -911,7 +911,7 @@ void RKConsole::initializeActions (KActionCollection *ac) {
 	copy_commands_action = ac->addAction ("rkconsole_copy_commands", this, SLOT (copyCommands()));
 	copy_commands_action->setText (i18n ("Copy commands, only"));
 
-	RKStandardActions::pasteSpecial (this, this, SLOT (submitBatch(const QString&)));
+	RKStandardActions::pasteSpecial (this, this, SLOT (submitBatch(QString)));
 
 	ac->addAction (KStandardAction::Clear, "rkconsole_clear", this, SLOT (clear()));
 	paste_action = ac->addAction (KStandardAction::Paste, "rkconsole_paste", this, SLOT (paste()));
@@ -922,9 +922,9 @@ void RKConsole::initializeActions (KActionCollection *ac) {
 	addProxyAction ("view_inc_font_sizes");
 	addProxyAction ("view_dec_font_sizes");
 
-	KAction *action = ac->addAction ("loadhistory", this, SLOT (userLoadHistory ()));
+	KAction *action = ac->addAction ("loadhistory", this, SLOT (userLoadHistory()));
 	action->setText (i18n ("Import command history..."));
-	action = ac->addAction ("savehistory", this, SLOT (userSaveHistory ()));
+	action = ac->addAction ("savehistory", this, SLOT (userSaveHistory()));
 	action->setText (i18n ("Export command history..."));
 }
 
diff --git a/rkward/rkward.cpp b/rkward/rkward.cpp
index f2eafe5..1915aa0 100644
--- a/rkward/rkward.cpp
+++ b/rkward/rkward.cpp
@@ -133,13 +133,13 @@ RKWardMainWindow::RKWardMainWindow () : KParts::MainWindow ((QWidget *)0, (Qt::W
 	new RKWorkplace (this);
 	RKWorkplace::mainWorkplace ()->initActions (actionCollection (), "left_window", "right_window");
 	setCentralWidget (RKWorkplace::mainWorkplace ());
-	connect (RKWorkplace::mainWorkplace ()->view (), SIGNAL (captionChanged (const QString &)), this, SLOT (setCaption (const QString &)));
-	connect (RKWorkplace::mainWorkplace (), SIGNAL (workspaceUrlChanged(const KUrl&)), this, SLOT (addWorkspaceUrl(const KUrl&)));
+	connect (RKWorkplace::mainWorkplace ()->view (), SIGNAL (captionChanged(QString)), this, SLOT (setCaption(QString)));
+	connect (RKWorkplace::mainWorkplace (), SIGNAL (workspaceUrlChanged(KUrl)), this, SLOT (addWorkspaceUrl(KUrl)));
 
 	part_manager = new KParts::PartManager (this);
 	// When the manager says the active part changes,
 	// the builder updates (recreates) the GUI
-	connect (partManager (), SIGNAL (activePartChanged (KParts::Part *)), this, SLOT (partChanged (KParts::Part *)));
+	connect (partManager (), SIGNAL (activePartChanged(KParts::Part*)), this, SLOT (partChanged(KParts::Part*)));
 
 	readOptions();
 	RKGlobals::mtracker = new RKModificationTracker (this);
@@ -160,7 +160,7 @@ RKWardMainWindow::RKWardMainWindow () : KParts::MainWindow ((QWidget *)0, (Qt::W
 	RKComponentMap::initialize ();
 
 	// stuff which should wait until the event loop is running
-	QTimer::singleShot (0, this, SLOT (doPostInit ()));
+	QTimer::singleShot (0, this, SLOT (doPostInit()));
 }
 
 RKWardMainWindow::~RKWardMainWindow() {
@@ -348,8 +348,8 @@ void RKWardMainWindow::configureCarbonCopy () {
 	dialog->setMainWidget (settings);
 	dialog->setButtons (KDialog::Ok | KDialog::Apply | KDialog::Cancel);
 	dialog->setAttribute (Qt::WA_DeleteOnClose);
-	connect (dialog, SIGNAL (okClicked()), settings, SLOT (applyChanges ())); 
-	connect (dialog, SIGNAL (applyClicked()), settings, SLOT (applyChanges ())); 
+	connect (dialog, SIGNAL (okClicked()), settings, SLOT (applyChanges())); 
+	connect (dialog, SIGNAL (applyClicked()), settings, SLOT (applyChanges())); 
 	dialog->show ();
 }
 
@@ -402,7 +402,7 @@ void RKWardMainWindow::initActions() {
 	KAction *action;
 
 	// TODO: is there a way to insert actions between standard actions without having to give all standard actions custom ids?
-	new_data_frame = actionCollection ()->addAction ("new_data_frame", this, SLOT (slotNewDataFrame ()));
+	new_data_frame = actionCollection ()->addAction ("new_data_frame", this, SLOT (slotNewDataFrame()));
 	new_data_frame->setText (i18n ("Dataset"));
 	new_data_frame->setIcon (RKStandardIcons::getIcon (RKStandardIcons::WindowDataFrameEditor));
 	new_data_frame->setStatusTip (i18n ("Creates new empty dataset and opens it for editing"));
@@ -414,7 +414,7 @@ void RKWardMainWindow::initActions() {
 	fileOpen = actionCollection ()->addAction (KStandardAction::Open, "file_openy", this, SLOT(slotOpenCommandEditor()));
 	fileOpen->setText (i18n ("Open R Script File..."));
 
-	fileOpenRecent = static_cast<KRecentFilesAction*> (actionCollection ()->addAction (KStandardAction::OpenRecent, "file_open_recenty", this, SLOT(slotOpenCommandEditor (const KUrl&))));
+	fileOpenRecent = static_cast<KRecentFilesAction*> (actionCollection ()->addAction (KStandardAction::OpenRecent, "file_open_recenty", this, SLOT(slotOpenCommandEditor(KUrl))));
 	fileOpenRecent->setText (i18n ("Open Recent R Script File"));
 
 #ifdef Q_WS_WIN
@@ -431,7 +431,7 @@ void RKWardMainWindow::initActions() {
 	fileOpenWorkspace->setShortcut (Qt::ControlModifier + Qt::ShiftModifier + Qt::Key_O);
 	fileOpenWorkspace->setStatusTip (i18n ("Opens an existing document"));
 
-	fileOpenRecentWorkspace = static_cast<KRecentFilesAction*> (actionCollection ()->addAction (KStandardAction::OpenRecent, "file_open_recentx", this, SLOT(slotFileOpenRecentWorkspace(const KUrl&))));
+	fileOpenRecentWorkspace = static_cast<KRecentFilesAction*> (actionCollection ()->addAction (KStandardAction::OpenRecent, "file_open_recentx", this, SLOT(slotFileOpenRecentWorkspace(KUrl))));
 	fileOpenRecentWorkspace->setText (i18n ("Open Recent Workspace"));
 	fileOpenRecentWorkspace->setStatusTip (i18n ("Opens a recently used file"));
 
@@ -453,7 +453,7 @@ void RKWardMainWindow::initActions() {
 	interrupt_all_commands->setIcon (RKStandardIcons::getIcon (RKStandardIcons::ActionInterrupt));
 	interrupt_all_commands->setEnabled (false);		// enabled from within setRStatus()
 
-	action = actionCollection ()->addAction ("carbon_copy", this, SLOT (configureCarbonCopy ()));
+	action = actionCollection ()->addAction ("carbon_copy", this, SLOT (configureCarbonCopy()));
 	action->setText (i18n ("CC commands to output..."));
 
 	// These two currently do the same thing
diff --git a/rkward/robjectviewer.cpp b/rkward/robjectviewer.cpp
index 85d942c..3a225a8 100644
--- a/rkward/robjectviewer.cpp
+++ b/rkward/robjectviewer.cpp
@@ -66,7 +66,7 @@ RObjectViewer::RObjectViewer (QWidget *parent, RObject *object, ViewerPage initi
 
 	tabs->setCurrentIndex (initial_page);
 	currentTabChanged (initial_page);
-	connect (tabs, SIGNAL (currentChanged(int)), this, SLOT (currentTabChanged (int)));
+	connect (tabs, SIGNAL (currentChanged(int)), this, SLOT (currentTabChanged(int)));
 
 	initDescription (false);
 }
@@ -170,11 +170,11 @@ RObjectViewerWidget::RObjectViewerWidget (QWidget* parent, RObject* object) : QW
 	status_layout->addStretch ();
 
 	update_button = new QPushButton (i18n ("Update"), this);
-	connect (update_button, SIGNAL (clicked ()), this, SLOT (update ()));
+	connect (update_button, SIGNAL (clicked()), this, SLOT (update()));
 	status_layout->addWidget (update_button);
 
 	cancel_button = new QPushButton (i18n ("Cancel"), this);
-	connect (cancel_button, SIGNAL (clicked ()), this, SLOT (cancel ()));
+	connect (cancel_button, SIGNAL (clicked()), this, SLOT (cancel()));
 	status_layout->addWidget (cancel_button);
 
 	area = new QTextEdit (this);
diff --git a/rkward/scriptbackends/qtscriptbackend.cpp b/rkward/scriptbackends/qtscriptbackend.cpp
index ab1eae1..d144b48 100644
--- a/rkward/scriptbackends/qtscriptbackend.cpp
+++ b/rkward/scriptbackends/qtscriptbackend.cpp
@@ -56,9 +56,9 @@ bool QtScriptBackend::initialize (RKComponentPropertyCode *code_property, bool a
 	QString common_js (files_path.absoluteFilePath ("common.js"));
 
 	script_thread = new QtScriptBackendThread (common_js, filename, this, catalog);
-	connect (script_thread, SIGNAL (error(const QString&)), this, SLOT (threadError(const QString&)));
-	connect (script_thread, SIGNAL (commandDone(const QString&)), this, SLOT (commandDone(const QString&)));
-	connect (script_thread, SIGNAL (needData(const QString&, const int)), this, SLOT (needData(const QString&, const int)));
+	connect (script_thread, SIGNAL (error(QString)), this, SLOT (threadError(QString)));
+	connect (script_thread, SIGNAL (commandDone(QString)), this, SLOT (commandDone(QString)));
+	connect (script_thread, SIGNAL (needData(QString,int)), this, SLOT (needData(QString,int)));
 	current_type = ScriptBackend::Ignore;
 	script_thread->start ();
 
diff --git a/rkward/settings/rksettings.cpp b/rkward/settings/rksettings.cpp
index 650c0e9..ea766dc 100644
--- a/rkward/settings/rksettings.cpp
+++ b/rkward/settings/rksettings.cpp
@@ -76,7 +76,7 @@ RKSettings::RKSettings (QWidget *parent) : KPageDialog (parent) {
 
 	initModules ();
 
-	connect (this, SIGNAL (currentPageChanged(KPageWidgetItem*, KPageWidgetItem*)), this, SLOT (pageChange(KPageWidgetItem*, KPageWidgetItem*)));
+	connect (this, SIGNAL (currentPageChanged(KPageWidgetItem*,KPageWidgetItem*)), this, SLOT (pageChange(KPageWidgetItem*,KPageWidgetItem*)));
 	pageChange (currentPage (), currentPage ());	// init
 }
 
diff --git a/rkward/settings/rksettingsmoduleconsole.cpp b/rkward/settings/rksettingsmoduleconsole.cpp
index 009dfe0..2039880 100644
--- a/rkward/settings/rksettingsmoduleconsole.cpp
+++ b/rkward/settings/rksettingsmoduleconsole.cpp
@@ -49,26 +49,26 @@ RKSettingsModuleConsole::RKSettingsModuleConsole (RKSettings *gui, QWidget *pare
 
 	save_history_box = new QCheckBox (i18n ("Load/Save command history"), this);
 	save_history_box->setChecked (save_history);
-	connect (save_history_box, SIGNAL (stateChanged (int)), this, SLOT (changedSetting (int)));
+	connect (save_history_box, SIGNAL (stateChanged(int)), this, SLOT (changedSetting(int)));
 	vbox->addWidget (save_history_box);
 
 	vbox->addWidget (new QLabel (i18n ("Maximum length of command history"), this));
 	max_history_length_spinner = new KIntSpinBox (0, 10000, 10, max_history_length, this);
 	max_history_length_spinner->setSpecialValueText (i18n ("Unlimited"));
-	connect (max_history_length_spinner, SIGNAL (valueChanged (int)), this, SLOT (changedSetting (int)));
+	connect (max_history_length_spinner, SIGNAL (valueChanged(int)), this, SLOT (changedSetting(int)));
 	vbox->addWidget (max_history_length_spinner);
 
 	vbox->addWidget (new QLabel (i18n ("Maximum number of paragraphs/lines to display in the console"), this));
 	max_console_lines_spinner = new KIntSpinBox (0, 10000, 10, max_console_lines, this);
 	max_console_lines_spinner->setSpecialValueText (i18n ("Unlimited"));
-	connect (max_console_lines_spinner, SIGNAL (valueChanged (int)), this, SLOT (changedSetting (int)));
+	connect (max_console_lines_spinner, SIGNAL (valueChanged(int)), this, SLOT (changedSetting(int)));
 	vbox->addWidget (max_console_lines_spinner);
 
 	vbox->addSpacing (2*RKGlobals::spacingHint ());
 
 	pipe_user_commands_through_console_box = new QCheckBox (i18n ("Run commands from script editor through console"), this);
 	pipe_user_commands_through_console_box->setChecked (pipe_user_commands_through_console);
-	connect (pipe_user_commands_through_console_box, SIGNAL (stateChanged (int)), this, SLOT (changedSetting (int)));
+	connect (pipe_user_commands_through_console_box, SIGNAL (stateChanged(int)), this, SLOT (changedSetting(int)));
 	vbox->addWidget (pipe_user_commands_through_console_box);
 
 	vbox->addWidget (new QLabel (i18n ("Also add those commands to console history"), this));
@@ -77,14 +77,14 @@ RKSettingsModuleConsole::RKSettingsModuleConsole (RKSettings *gui, QWidget *pare
 	add_piped_commands_to_history_box->insertItem ((int) AddSingleLine, i18n ("Add only if single line"));
 	add_piped_commands_to_history_box->insertItem ((int) AlwaysAdd, i18n ("Add all commands"));
 	add_piped_commands_to_history_box->setCurrentIndex ((int) add_piped_commands_to_history);
-	connect (add_piped_commands_to_history_box, SIGNAL (currentIndexChanged (int)), this, SLOT (changedSetting (int)));
+	connect (add_piped_commands_to_history_box, SIGNAL (currentIndexChanged(int)), this, SLOT (changedSetting(int)));
 	add_piped_commands_to_history_box->setEnabled (pipe_user_commands_through_console_box->isChecked ());
 	vbox->addWidget (add_piped_commands_to_history_box);
 
 	vbox->addSpacing (2*RKGlobals::spacingHint ());
 
 	reverse_context_mode_box = new QCheckBox (i18n ("Command history is context sensitive by default"), this);
-	connect (reverse_context_mode_box, SIGNAL (stateChanged (int)), this, SLOT (changedSetting (int)));
+	connect (reverse_context_mode_box, SIGNAL (stateChanged(int)), this, SLOT (changedSetting(int)));
 	reverse_context_mode_box->setChecked (context_sensitive_history_by_default);
 	vbox->addWidget (reverse_context_mode_box);
 
diff --git a/rkward/settings/rksettingsmodulegeneral.cpp b/rkward/settings/rksettingsmodulegeneral.cpp
index 576aff2..704054b 100644
--- a/rkward/settings/rksettingsmodulegeneral.cpp
+++ b/rkward/settings/rksettingsmodulegeneral.cpp
@@ -64,7 +64,7 @@ RKSettingsModuleGeneral::RKSettingsModuleGeneral (RKSettings *gui, QWidget *pare
 	main_vbox->addSpacing (2*RKGlobals::spacingHint ());
 
 	files_choser = new GetFileNameWidget (this, GetFileNameWidget::ExistingDirectory, true, i18n ("Directory where rkward may store files (*)"), QString::null, new_files_path);
-	connect (files_choser, SIGNAL (locationChanged ()), this, SLOT (settingChanged ()));
+	connect (files_choser, SIGNAL (locationChanged()), this, SLOT (settingChanged()));
 	main_vbox->addWidget (files_choser);
 
 	main_vbox->addSpacing (2*RKGlobals::spacingHint ());
@@ -78,12 +78,12 @@ RKSettingsModuleGeneral::RKSettingsModuleGeneral (RKSettings *gui, QWidget *pare
 	startup_action_choser->addItem (i18n ("Ask for a file to open"), (int) StartupDialog::ChoseFile);
 	startup_action_choser->addItem (i18n ("Show selection dialog (default)"), (int) StartupDialog::NoSavedSetting);
 	startup_action_choser->setCurrentIndex (startup_action_choser->findData (startup_action));
-	connect (startup_action_choser, SIGNAL (activated (int)), this, SLOT (settingChanged()));
+	connect (startup_action_choser, SIGNAL (activated(int)), this, SLOT (settingChanged()));
 	main_vbox->addWidget (startup_action_choser);
 
 	show_help_on_startup_box = new QCheckBox (i18n ("Show RKWard Help on Startup"), this);
 	show_help_on_startup_box->setChecked (show_help_on_startup);
-	connect (show_help_on_startup_box, SIGNAL (stateChanged (int)), this, SLOT (settingChanged()));
+	connect (show_help_on_startup_box, SIGNAL (stateChanged(int)), this, SLOT (settingChanged()));
 	main_vbox->addWidget (show_help_on_startup_box);
 
 	QGroupBox* group_box = new QGroupBox (i18n ("Initial working directory (*)"), this);
@@ -126,14 +126,14 @@ RKSettingsModuleGeneral::RKSettingsModuleGeneral (RKSettings *gui, QWidget *pare
 	group_layout->addWidget (button);
 	workplace_save_chooser->addButton (button, DontSaveWorkplace);	
 	if ((button = workplace_save_chooser->button (workplace_save_mode))) button->setChecked (true);
-	connect (workplace_save_chooser, SIGNAL (buttonClicked (int)), this, SLOT (settingChanged()));
+	connect (workplace_save_chooser, SIGNAL (buttonClicked(int)), this, SLOT (settingChanged()));
 	main_vbox->addWidget (group_box);
 
 	main_vbox->addSpacing (2*RKGlobals::spacingHint ());
 
 	cd_to_workspace_dir_on_load_box = new QCheckBox (i18n ("When loading a workspace, change to the corresponding directory."), this);
 	cd_to_workspace_dir_on_load_box->setChecked (cd_to_workspace_dir_on_load);
-	connect (cd_to_workspace_dir_on_load_box, SIGNAL (stateChanged (int)), this, SLOT (settingChanged()));
+	connect (cd_to_workspace_dir_on_load_box, SIGNAL (stateChanged(int)), this, SLOT (settingChanged()));
 	main_vbox->addWidget (cd_to_workspace_dir_on_load_box);
 
 	main_vbox->addSpacing (2*RKGlobals::spacingHint ());
@@ -142,7 +142,7 @@ RKSettingsModuleGeneral::RKSettingsModuleGeneral (RKSettings *gui, QWidget *pare
 	warn_size_object_edit_box = new RKSpinBox (this);
 	warn_size_object_edit_box->setIntMode (0, INT_MAX, warn_size_object_edit);
 	warn_size_object_edit_box->setSpecialValueText (i18n ("No limit"));
-	connect (warn_size_object_edit_box, SIGNAL (valueChanged (int)), this, SLOT (settingChanged()));
+	connect (warn_size_object_edit_box, SIGNAL (valueChanged(int)), this, SLOT (settingChanged()));
 	main_vbox->addWidget (label);
 	main_vbox->addWidget (warn_size_object_edit_box);
 
@@ -154,7 +154,7 @@ RKSettingsModuleGeneral::RKSettingsModuleGeneral (RKSettings *gui, QWidget *pare
 	mdi_focus_policy_chooser->insertItem (RKMDIClickFocus, i18n ("Click to focus"));
 	mdi_focus_policy_chooser->insertItem (RKMDIFocusFollowsMouse, i18n ("Focus follows mouse"));
 	mdi_focus_policy_chooser->setCurrentIndex (mdi_focus_policy);
-	connect (mdi_focus_policy_chooser, SIGNAL (activated (int)), this, SLOT (settingChanged()));
+	connect (mdi_focus_policy_chooser, SIGNAL (activated(int)), this, SLOT (settingChanged()));
 	main_vbox->addWidget (label);
 	main_vbox->addWidget (mdi_focus_policy_chooser);
 
diff --git a/rkward/settings/rksettingsmodulegraphics.cpp b/rkward/settings/rksettingsmodulegraphics.cpp
index 301d6b5..a410d50 100644
--- a/rkward/settings/rksettingsmodulegraphics.cpp
+++ b/rkward/settings/rksettingsmodulegraphics.cpp
@@ -78,7 +78,7 @@ RKSettingsModuleGraphics::RKSettingsModuleGraphics (RKSettings *gui, QWidget *pa
 	                                  "<p>The 'Platform default device' corresponds to one of <i>X11()</i>, <i>windows()</i>, or <i>quartz()</i>, depending on the platform.</p>"
 	                                  "<p>You can also specify the name of a function such as <i>cairoDevice</i>.</p>"), group);
 	connect (default_device_group, SIGNAL (buttonClicked(int)), this, SLOT (boxChanged()));
-	connect (default_device_other_edit, SIGNAL (textChanged(const QString&)), this, SLOT (boxChanged()));
+	connect (default_device_other_edit, SIGNAL (textChanged(QString)), this, SLOT (boxChanged()));
 	h_layout1->addWidget (group);
 
 	group = new QGroupBox (i18n ("Integration of R standard devices"), this);
@@ -119,8 +119,8 @@ RKSettingsModuleGraphics::RKSettingsModuleGraphics (RKSettings *gui, QWidget *pa
 	group_layout->addWidget (new QLabel (i18n ("Default height (inches)"), group));
 	group_layout->addWidget (graphics_height_box = new RKSpinBox (group));
 	graphics_height_box->setRealMode (1, 100.0, graphics_height, 1, 3);
-	connect (graphics_width_box, SIGNAL (valueChanged (int)), this, SLOT (boxChanged ()));
-	connect (graphics_height_box, SIGNAL (valueChanged (int)), this, SLOT (boxChanged ()));
+	connect (graphics_width_box, SIGNAL (valueChanged(int)), this, SLOT (boxChanged()));
+	connect (graphics_height_box, SIGNAL (valueChanged(int)), this, SLOT (boxChanged()));
 	main_vbox->addWidget (group);
 
 	kde_printing_box = new QCheckBox (i18n ("Use KDE printer dialog for printing devices (if available)"), this);
@@ -132,7 +132,7 @@ RKSettingsModuleGraphics::RKSettingsModuleGraphics (RKSettings *gui, QWidget *pa
 	graphics_hist_box->setCheckable (true);
 	graphics_hist_box->setChecked (graphics_hist_enable);
 	group_layout = new QVBoxLayout (graphics_hist_box);
-	connect (graphics_hist_box, SIGNAL (toggled (bool)), this, SLOT (boxChanged ()));
+	connect (graphics_hist_box, SIGNAL (toggled(bool)), this, SLOT (boxChanged()));
 	h_layout = new QHBoxLayout ();
 	group_layout->addLayout (h_layout);
 	h_layout->addWidget (new QLabel (i18n ("Maximum number of recorded plots:"), graphics_hist_box));
@@ -141,8 +141,8 @@ RKSettingsModuleGraphics::RKSettingsModuleGraphics (RKSettings *gui, QWidget *pa
 	group_layout->addLayout (h_layout);
 	h_layout->addWidget (new QLabel (i18n ("Maximum size of a single recorded plot (in KB):"), graphics_hist_box));
 	h_layout->addWidget (graphics_hist_max_plotsize_box = new KIntSpinBox (4, 20000, 4, graphics_hist_max_plotsize, graphics_hist_box));
-	connect (graphics_hist_max_length_box, SIGNAL (valueChanged (int)), this, SLOT (boxChanged ()));
-	connect (graphics_hist_max_plotsize_box, SIGNAL (valueChanged (int)), this, SLOT (boxChanged ()));
+	connect (graphics_hist_max_length_box, SIGNAL (valueChanged(int)), this, SLOT (boxChanged()));
+	connect (graphics_hist_max_plotsize_box, SIGNAL (valueChanged(int)), this, SLOT (boxChanged()));
 
 	main_vbox->addWidget (graphics_hist_box);
 
diff --git a/rkward/settings/rksettingsmoduleobjectbrowser.cpp b/rkward/settings/rksettingsmoduleobjectbrowser.cpp
index 5437c63..71d15f1 100644
--- a/rkward/settings/rksettingsmoduleobjectbrowser.cpp
+++ b/rkward/settings/rksettingsmoduleobjectbrowser.cpp
@@ -72,13 +72,13 @@ RKSettingsModuleObjectBrowser::RKSettingsModuleObjectBrowser (RKSettings *gui, Q
 
 	for (int i = 0; i < RKObjectListViewSettings::SettingsCount; ++i) {
 		checkboxes[i]->setChecked (settings[i]);
-		connect (checkboxes[i], SIGNAL (stateChanged (int)), this, SLOT (boxChanged (int)));
+		connect (checkboxes[i], SIGNAL (stateChanged(int)), this, SLOT (boxChanged(int)));
 	}
 
 	blacklist_choser = new MultiStringSelector (i18n ("Never fetch the structure of these packages:"), this);
 	blacklist_choser->setValues (getstructure_blacklist);
-	connect (blacklist_choser, SIGNAL (listChanged ()), this, SLOT (listChanged ()));
-	connect (blacklist_choser, SIGNAL (getNewStrings (QStringList*)), this, SLOT (addBlackList (QStringList*)));
+	connect (blacklist_choser, SIGNAL (listChanged()), this, SLOT (listChanged()));
+	connect (blacklist_choser, SIGNAL (getNewStrings(QStringList*)), this, SLOT (addBlackList(QStringList*)));
 	layout->addWidget (blacklist_choser);
 }
 
diff --git a/rkward/settings/rksettingsmoduleoutput.cpp b/rkward/settings/rksettingsmoduleoutput.cpp
index 4763983..45ed30c 100644
--- a/rkward/settings/rksettingsmoduleoutput.cpp
+++ b/rkward/settings/rksettingsmoduleoutput.cpp
@@ -156,11 +156,11 @@ RKSettingsModuleOutput::RKSettingsModuleOutput (RKSettings *gui, QWidget *parent
 	QVBoxLayout* group_layout = new QVBoxLayout (group);
 	group_layout->addWidget (auto_show_box = new QCheckBox (i18n ("show window on new output"), group));
 	auto_show_box->setChecked (auto_show);
-	connect (auto_show_box, SIGNAL (stateChanged (int)), this, SLOT (boxChanged()));
+	connect (auto_show_box, SIGNAL (stateChanged(int)), this, SLOT (boxChanged()));
 	group_layout->addWidget (auto_raise_box = new QCheckBox (i18n ("raise window on new output"), group));
 	auto_raise_box->setChecked (auto_raise);
 	auto_raise_box->setEnabled (auto_show);
-	connect (auto_raise_box, SIGNAL (stateChanged (int)), this, SLOT (boxChanged()));
+	connect (auto_raise_box, SIGNAL (stateChanged(int)), this, SLOT (boxChanged()));
 
 	main_vbox->addWidget (group);
 
@@ -176,12 +176,12 @@ RKSettingsModuleOutput::RKSettingsModuleOutput (RKSettings *gui, QWidget *parent
 	graphics_type_box->addItem (i18n ("JPG"), QString ("\"JPG\""));
 	graphics_type_box->setCurrentIndex (graphics_type_box->findData (graphics_type));
 	graphics_type_box->setEditable (false);
-	connect (graphics_type_box, SIGNAL (currentIndexChanged (int)), this, SLOT (boxChanged()));
+	connect (graphics_type_box, SIGNAL (currentIndexChanged(int)), this, SLOT (boxChanged()));
 	h_layout->addSpacing (2*RKGlobals::spacingHint ());
 	h_layout->addWidget (new QLabel (i18n ("JPG quality"), group));
 	h_layout->addWidget (graphics_jpg_quality_box = new KIntSpinBox (1, 100, 1, graphics_jpg_quality, group));
 	graphics_jpg_quality_box->setEnabled (graphics_type == "\"JPG\"");
-	connect (graphics_jpg_quality_box, SIGNAL (valueChanged (int)), this, SLOT (boxChanged()));
+	connect (graphics_jpg_quality_box, SIGNAL (valueChanged(int)), this, SLOT (boxChanged()));
 	h_layout->addStretch ();
 
 	h_layout = new QHBoxLayout ();
@@ -192,8 +192,8 @@ RKSettingsModuleOutput::RKSettingsModuleOutput (RKSettings *gui, QWidget *parent
 	h_layout->addWidget (new QLabel (i18n ("Height:"), group));
 	h_layout->addWidget (graphics_height_box = new KIntSpinBox (1, INT_MAX, 1, graphics_height, group));
 	h_layout->addStretch ();
-	connect (graphics_width_box, SIGNAL (valueChanged (int)), this, SLOT (boxChanged()));
-	connect (graphics_height_box, SIGNAL (valueChanged (int)), this, SLOT (boxChanged()));
+	connect (graphics_width_box, SIGNAL (valueChanged(int)), this, SLOT (boxChanged()));
+	connect (graphics_height_box, SIGNAL (valueChanged(int)), this, SLOT (boxChanged()));
 
 	main_vbox->addWidget (group);
 
diff --git a/rkward/settings/rksettingsmoduleplugins.cpp b/rkward/settings/rksettingsmoduleplugins.cpp
index 775373b..275da1f 100644
--- a/rkward/settings/rksettingsmoduleplugins.cpp
+++ b/rkward/settings/rksettingsmoduleplugins.cpp
@@ -80,7 +80,7 @@ RKSettingsModulePlugins::RKSettingsModulePlugins (RKSettings *gui, QWidget *pare
 	button_group->addButton (button, PreferWizard);
 	if ((button = button_group->button (interface_pref))) button->setChecked (true);
 
-	connect (button_group, SIGNAL (buttonClicked (int)), this, SLOT (settingChanged ()));
+	connect (button_group, SIGNAL (buttonClicked(int)), this, SLOT (settingChanged()));
 	main_vbox->addWidget (button_box);
 
 
@@ -92,14 +92,14 @@ RKSettingsModulePlugins::RKSettingsModulePlugins (RKSettings *gui, QWidget *pare
 
 	show_code_box = new QCheckBox (i18n ("Code shown by default"), code_frame);
 	show_code_box->setChecked (show_code);
-	connect (show_code_box, SIGNAL (stateChanged (int)), this, SLOT (settingChanged ()));
+	connect (show_code_box, SIGNAL (stateChanged(int)), this, SLOT (settingChanged()));
 	group_layout->addWidget (show_code_box);
 
 	KHBox *code_size_hbox = new KHBox (code_frame);
 	new QLabel (i18n ("Default height of code display (pixels)"), code_size_hbox);
 	code_size_box = new RKSpinBox (code_size_hbox);
 	code_size_box->setIntMode (20, 5000, code_size);
-	connect (code_size_box, SIGNAL (valueChanged (int)), this, SLOT (settingChanged ()));
+	connect (code_size_box, SIGNAL (valueChanged(int)), this, SLOT (settingChanged()));
 	group_layout->addWidget (code_size_hbox);
 
 	main_vbox->addWidget (code_frame);
@@ -114,7 +114,7 @@ RKSettingsModulePlugins::RKSettingsModulePlugins (RKSettings *gui, QWidget *pare
 	map_choser->setModel (map_model, 1);
 	connect (map_choser, SIGNAL (insertNewStrings(int)), map_model, SLOT (insertNewStrings(int)));
 	connect (map_choser, SIGNAL (swapRows(int,int)), map_model, SLOT (swapRows(int,int)));
-	connect (map_choser, SIGNAL (listChanged ()), this, SLOT (settingChanged ()));
+	connect (map_choser, SIGNAL (listChanged()), this, SLOT (settingChanged()));
 	main_vbox->addWidget (map_choser);
 }
 
diff --git a/rkward/settings/rksettingsmoduler.cpp b/rkward/settings/rksettingsmoduler.cpp
index cce7b5b..e6256c5 100644
--- a/rkward/settings/rksettingsmoduler.cpp
+++ b/rkward/settings/rksettingsmoduler.cpp
@@ -86,32 +86,32 @@ RKSettingsModuleR::RKSettingsModuleR (RKSettings *gui, QWidget *parent) : RKSett
 	warn_input->insertItem (2, i18n ("Print warnings immediately"));
 	warn_input->insertItem (3, i18n ("Convert warnings to errors"));
 	warn_input->setCurrentIndex (options_warn + 1);
-	connect (warn_input, SIGNAL (activated (int)), this, SLOT (settingChanged()));
+	connect (warn_input, SIGNAL (activated(int)), this, SLOT (settingChanged()));
 	grid->addWidget (warn_input, row, 1);
 
 	// options (OutDec)
 	grid->addWidget (new QLabel (i18n ("Decimal character (only for printing)"), this), ++row, 0);
 	outdec_input = new QLineEdit (options_outdec, this);
 	outdec_input->setMaxLength (1);
-	connect (outdec_input, SIGNAL (textChanged (const QString &)), this, SLOT (settingChanged()));
+	connect (outdec_input, SIGNAL (textChanged(QString)), this, SLOT (settingChanged()));
 	grid->addWidget (outdec_input, row, 1);
 
 	// options (width)
 	grid->addWidget (new QLabel (i18n ("Output width (characters)"), this), ++row, 0);
 	width_input = new KIntSpinBox (10, 10000, 1, options_width, this);
-	connect (width_input, SIGNAL (valueChanged (int)), this, SLOT (settingChanged()));
+	connect (width_input, SIGNAL (valueChanged(int)), this, SLOT (settingChanged()));
 	grid->addWidget (width_input, row, 1);
 
 	// options (max.print)
 	grid->addWidget (new QLabel (i18n ("Maximum number of elements shown in print"), this), ++row, 0);
 	maxprint_input = new KIntSpinBox (100, INT_MAX, 1, options_maxprint, this);
-	connect (maxprint_input, SIGNAL (valueChanged (int)), this, SLOT (settingChanged()));
+	connect (maxprint_input, SIGNAL (valueChanged(int)), this, SLOT (settingChanged()));
 	grid->addWidget (maxprint_input, row, 1);
 
 	// options (warnings.length)
 	grid->addWidget (new QLabel (i18n ("Maximum length of warnings/errors to print"), this), ++row, 0);
 	warningslength_input = new KIntSpinBox (100, 8192, 1, options_warningslength, this);
-	connect (warningslength_input, SIGNAL (valueChanged (int)), this, SLOT (settingChanged()));
+	connect (warningslength_input, SIGNAL (valueChanged(int)), this, SLOT (settingChanged()));
 	grid->addWidget (warningslength_input, row, 1);
 
 	// options (keep.source)
@@ -121,7 +121,7 @@ RKSettingsModuleR::RKSettingsModuleR (RKSettings *gui, QWidget *parent) : RKSett
 	keepsource_input->addItem (i18n ("TRUE (default)"), true);
 	keepsource_input->addItem (i18n ("FALSE"), false);
 	keepsource_input->setCurrentIndex (options_keepsource ? 0 : 1);
-	connect (keepsource_input, SIGNAL (activated (int)), this, SLOT (settingChanged()));
+	connect (keepsource_input, SIGNAL (activated(int)), this, SLOT (settingChanged()));
 	grid->addWidget (keepsource_input, row, 1);
 
 	// options (keep.source.pkgs)
@@ -131,19 +131,19 @@ RKSettingsModuleR::RKSettingsModuleR (RKSettings *gui, QWidget *parent) : RKSett
 	keepsourcepkgs_input->addItem (i18n ("TRUE"), true);
 	keepsourcepkgs_input->addItem (i18n ("FALSE (default)"), false);
 	keepsourcepkgs_input->setCurrentIndex (options_keepsourcepkgs ? 0 : 1);
-	connect (keepsourcepkgs_input, SIGNAL (activated (int)), this, SLOT (settingChanged()));
+	connect (keepsourcepkgs_input, SIGNAL (activated(int)), this, SLOT (settingChanged()));
 	grid->addWidget (keepsourcepkgs_input, row, 1);
 
 	// options (expressions)
 	grid->addWidget (new QLabel (i18n ("Maximum level of nested expressions"), this), ++row, 0);
 	expressions_input = new KIntSpinBox (25, 500000, 1, options_expressions, this);
-	connect (expressions_input, SIGNAL (valueChanged (int)), this, SLOT (settingChanged()));
+	connect (expressions_input, SIGNAL (valueChanged(int)), this, SLOT (settingChanged()));
 	grid->addWidget (expressions_input, row, 1);
 
 	// options (digits)
 	grid->addWidget (new QLabel (i18n ("Default decimal precision in print ()"), this), ++row, 0);
 	digits_input = new KIntSpinBox (1, 22, 1, options_digits, this);
-	connect (digits_input, SIGNAL (valueChanged (int)), this, SLOT (settingChanged()));
+	connect (digits_input, SIGNAL (valueChanged(int)), this, SLOT (settingChanged()));
 	grid->addWidget (digits_input, row, 1);
 
 	// options (check.bounds)
@@ -153,7 +153,7 @@ RKSettingsModuleR::RKSettingsModuleR (RKSettings *gui, QWidget *parent) : RKSett
 	checkbounds_input->addItem (i18n ("TRUE"), true);
 	checkbounds_input->addItem (i18n ("FALSE (default)"), false);
 	checkbounds_input->setCurrentIndex (options_checkbounds ? 0 : 1);
-	connect (checkbounds_input, SIGNAL (activated (int)), this, SLOT (settingChanged()));
+	connect (checkbounds_input, SIGNAL (activated(int)), this, SLOT (settingChanged()));
 	grid->addWidget (checkbounds_input, row, 1);
 
 	grid->addWidget (new QLabel (i18n ("Editor command"), this), ++row, 0);
@@ -164,7 +164,7 @@ RKSettingsModuleR::RKSettingsModuleR (RKSettings *gui, QWidget *parent) : RKSett
 		editor_input->addItem (options_editor);
 		editor_input->setCurrentIndex (1);
 	}
-	connect (editor_input, SIGNAL (editTextChanged (const QString &)), this, SLOT (settingChanged()));
+	connect (editor_input, SIGNAL (editTextChanged(QString)), this, SLOT (settingChanged()));
 	grid->addWidget (editor_input, row, 1);
 
 	grid->addWidget (new QLabel (i18n ("Pager command"), this), ++row, 0);
@@ -175,7 +175,7 @@ RKSettingsModuleR::RKSettingsModuleR (RKSettings *gui, QWidget *parent) : RKSett
 		pager_input->addItem (options_pager);
 		pager_input->setCurrentIndex (1);
 	}
-	connect (pager_input, SIGNAL (editTextChanged (const QString &)), this, SLOT (settingChanged()));
+	connect (pager_input, SIGNAL (editTextChanged(QString)), this, SLOT (settingChanged()));
 	grid->addWidget (pager_input, row, 1);
 
 #ifdef Q_WS_WIN
@@ -352,7 +352,7 @@ RKSettingsModuleRPackages::RKSettingsModuleRPackages (RKSettings *gui, QWidget *
 	main_vbox->addLayout (hbox);
 	cran_mirror_input = new QLineEdit (cran_mirror_url, this);
 	if (cran_mirror_url == "@CRAN@") cran_mirror_input->clear ();
-	connect (cran_mirror_input, SIGNAL (textChanged(const QString&)), this, SLOT (settingChanged()));
+	connect (cran_mirror_input, SIGNAL (textChanged(QString)), this, SLOT (settingChanged()));
 	hbox->addWidget (cran_mirror_input);
 	QPushButton* cran_mirror_button = new QPushButton (i18n ("Select mirror"), this);
 	connect (cran_mirror_button, SIGNAL (clicked()), this, SLOT (selectCRANMirror()));
@@ -360,13 +360,13 @@ RKSettingsModuleRPackages::RKSettingsModuleRPackages (RKSettings *gui, QWidget *
 
 	repository_selector = new MultiStringSelector (i18n ("Additional package repositories (where libraries are downloaded from)"), this);
 	repository_selector->setValues (package_repositories);
-	connect (repository_selector, SIGNAL (listChanged ()), this, SLOT (settingChanged ()));
-	connect (repository_selector, SIGNAL (getNewStrings (QStringList*)), this, SLOT (addRepository (QStringList*)));
+	connect (repository_selector, SIGNAL (listChanged()), this, SLOT (settingChanged()));
+	connect (repository_selector, SIGNAL (getNewStrings(QStringList*)), this, SLOT (addRepository(QStringList*)));
 	main_vbox->addWidget (repository_selector);
 
 	archive_packages_box = new QCheckBox (i18n ("Archive downloaded packages"), this);
 	archive_packages_box->setChecked (archive_packages);
-	connect (archive_packages_box, SIGNAL (stateChanged (int)), this, SLOT (settingChanged()));
+	connect (archive_packages_box, SIGNAL (stateChanged(int)), this, SLOT (settingChanged()));
 	main_vbox->addWidget (archive_packages_box);
 
 #if defined Q_WS_WIN || defined Q_WS_MAC
@@ -378,15 +378,15 @@ RKSettingsModuleRPackages::RKSettingsModuleRPackages (RKSettings *gui, QWidget *
 	source_packages_box->setEnabled (false);
 #endif
 	RKCommonFunctions::setTips (QString ("<p>%1</p>").arg (i18n ("Installing packages from pre-compiled binaries (if available) is generally faster, and does not require an installation of development tools and libraries. On the other hand, building packages from source provides best compatibility. On Mac OS X and Linux, building packages from source is currently recommended.")), source_packages_box);
-	connect (source_packages_box, SIGNAL (stateChanged (int)), this, SLOT (settingChanged()));
+	connect (source_packages_box, SIGNAL (stateChanged(int)), this, SLOT (settingChanged()));
 	main_vbox->addWidget (source_packages_box);
 
 	main_vbox->addStretch ();
 
 	libloc_selector = new MultiStringSelector (i18n ("R Library locations (where libraries get installed to, locally)"), this);
 	libloc_selector->setValues (liblocs);
-	connect (libloc_selector, SIGNAL (listChanged ()), this, SLOT (settingChanged ()));
-	connect (libloc_selector, SIGNAL (getNewStrings (QStringList*)), this, SLOT (addLibLoc (QStringList*)));
+	connect (libloc_selector, SIGNAL (listChanged()), this, SLOT (settingChanged()));
+	connect (libloc_selector, SIGNAL (getNewStrings(QStringList*)), this, SLOT (addLibLoc(QStringList*)));
 	main_vbox->addWidget (libloc_selector);
 	QLabel *label = new QLabel (i18n ("Note: The startup defaults will always be used in addition to the locations you specify in this list"), this);
 	main_vbox->addWidget (label);
diff --git a/rkward/settings/rksettingsmodulewatch.cpp b/rkward/settings/rksettingsmodulewatch.cpp
index 43d0071..b31ab14 100644
--- a/rkward/settings/rksettingsmodulewatch.cpp
+++ b/rkward/settings/rksettingsmodulewatch.cpp
@@ -151,7 +151,7 @@ RKSettingsModuleWatch::RKSettingsModuleWatch (RKSettings *gui, QWidget *parent)
 	vbox->addWidget (new QLabel (i18n ("Maximum number of paragraphs/lines to display in the Command Log"), this));
 	max_log_lines_spinner = new KIntSpinBox (0, 10000, 10, max_log_lines, this);
 	max_log_lines_spinner->setSpecialValueText (i18n ("Unlimited"));
-	connect (max_log_lines_spinner, SIGNAL (valueChanged (int)), this, SLOT (changedSetting (int)));
+	connect (max_log_lines_spinner, SIGNAL (valueChanged(int)), this, SLOT (changedSetting(int)));
 	vbox->addWidget (max_log_lines_spinner);
 
 	vbox->addStretch ();
@@ -188,22 +188,22 @@ RKSettingsModuleWatch::FilterBoxes *RKSettingsModuleWatch::addFilterSettings (QW
 	
 	filter_boxes->input = new QCheckBox (parent);
 	filter_boxes->input->setChecked (state & ShowInput);
-	connect (filter_boxes->input, SIGNAL (stateChanged (int)), this, SLOT (changedSetting (int)));
+	connect (filter_boxes->input, SIGNAL (stateChanged(int)), this, SLOT (changedSetting(int)));
 	layout->addWidget (filter_boxes->input, row, 1);
 	
 	filter_boxes->output = new QCheckBox (parent);
 	filter_boxes->output->setChecked (state & ShowOutput);
-	connect (filter_boxes->output, SIGNAL (stateChanged (int)), this, SLOT (changedSetting (int)));
+	connect (filter_boxes->output, SIGNAL (stateChanged(int)), this, SLOT (changedSetting(int)));
 	layout->addWidget (filter_boxes->output, row, 2);
 	
 	filter_boxes->error = new QCheckBox (parent);
 	filter_boxes->error->setChecked (state & ShowError);
-	connect (filter_boxes->error, SIGNAL (stateChanged (int)), this, SLOT (changedSetting (int)));
+	connect (filter_boxes->error, SIGNAL (stateChanged(int)), this, SLOT (changedSetting(int)));
 	layout->addWidget (filter_boxes->error, row, 3);
 	
 	filter_boxes->raise = new QCheckBox (parent);
 	filter_boxes->raise->setChecked (state & RaiseWindow);
-	connect (filter_boxes->raise, SIGNAL (stateChanged (int)), this, SLOT (changedSetting (int)));
+	connect (filter_boxes->raise, SIGNAL (stateChanged(int)), this, SLOT (changedSetting(int)));
 	layout->addWidget (filter_boxes->raise, row, 4);
 	
 	return filter_boxes;
diff --git a/rkward/windows/detachedwindowcontainer.cpp b/rkward/windows/detachedwindowcontainer.cpp
index f9ee00b..abab05d 100644
--- a/rkward/windows/detachedwindowcontainer.cpp
+++ b/rkward/windows/detachedwindowcontainer.cpp
@@ -93,8 +93,8 @@ DetachedWindowContainer::DetachedWindowContainer (RKMDIWindow *widget_to_capture
 	}
 
 // should self-destruct, when child widget is destroyed
-	connect (widget_to_capture, SIGNAL (destroyed (QObject *)), this, SLOT (viewDestroyed (QObject *)));
-	connect (widget_to_capture, SIGNAL (captionChanged (RKMDIWindow *)), this, SLOT (updateCaption (RKMDIWindow *)));
+	connect (widget_to_capture, SIGNAL (destroyed(QObject*)), this, SLOT (viewDestroyed(QObject*)));
+	connect (widget_to_capture, SIGNAL (captionChanged(RKMDIWindow*)), this, SLOT (updateCaption(RKMDIWindow*)));
 	setCaption (widget_to_capture->fullCaption ());	// has to come after createGUI!
 }
 
diff --git a/rkward/windows/rcontrolwindow.cpp b/rkward/windows/rcontrolwindow.cpp
index c79964e..6e315b2 100644
--- a/rkward/windows/rcontrolwindow.cpp
+++ b/rkward/windows/rcontrolwindow.cpp
@@ -49,17 +49,17 @@ RControlWindow::RControlWindow (QWidget *parent, bool tool_window, const char *n
 	main_vbox->addLayout (button_hbox);
 
 	QPushButton *configure_r_button = new QPushButton (i18n ("Configure R backend"), this);
-	connect (configure_r_button, SIGNAL (clicked ()), this, SLOT (configureButtonClicked ()));
+	connect (configure_r_button, SIGNAL (clicked()), this, SLOT (configureButtonClicked()));
 	button_hbox->addWidget (configure_r_button);
 	button_hbox->addStretch ();
 
 	pause_button = new QPushButton (i18n ("Pause execution"), this);
-	connect (pause_button, SIGNAL (clicked ()), this, SLOT (pauseButtonClicked ()));
+	connect (pause_button, SIGNAL (clicked()), this, SLOT (pauseButtonClicked()));
 	button_hbox->addWidget (pause_button);
 	button_hbox->addStretch ();
 
 	cancel_button = new QPushButton (i18n ("Cancel selected commands"), this);
-	connect (cancel_button, SIGNAL (clicked ()), this, SLOT (cancelButtonClicked ()));
+	connect (cancel_button, SIGNAL (clicked()), this, SLOT (cancelButtonClicked()));
 	button_hbox->addWidget (cancel_button);
 
 	commands_view = new QTreeView (this);
diff --git a/rkward/windows/rkcommandeditorwindow.cpp b/rkward/windows/rkcommandeditorwindow.cpp
index 085e106..ba34575 100644
--- a/rkward/windows/rkcommandeditorwindow.cpp
+++ b/rkward/windows/rkcommandeditorwindow.cpp
@@ -115,10 +115,10 @@ RKCommandEditorWindow::RKCommandEditorWindow (QWidget *parent, bool use_r_highli
 	layout->setContentsMargins (0, 0, 0, 0);
 	layout->addWidget(m_view);
 
-	connect (m_doc, SIGNAL (documentUrlChanged (KTextEditor::Document*)), this, SLOT (updateCaption (KTextEditor::Document*)));
-	connect (m_doc, SIGNAL (modifiedChanged (KTextEditor::Document*)), this, SLOT (updateCaption(KTextEditor::Document*)));                // of course most of the time this causes a redundant call to updateCaption. Not if a modification is undone, however.
-	connect (m_doc, SIGNAL (modifiedChanged (KTextEditor::Document*)), this, SLOT (autoSaveHandlerModifiedChanged()));
-	connect (m_doc, SIGNAL (textChanged (KTextEditor::Document*)), this, SLOT (autoSaveHandlerTextChanged()));
+	connect (m_doc, SIGNAL (documentUrlChanged(KTextEditor::Document*)), this, SLOT (updateCaption(KTextEditor::Document*)));
+	connect (m_doc, SIGNAL (modifiedChanged(KTextEditor::Document*)), this, SLOT (updateCaption(KTextEditor::Document*)));                // of course most of the time this causes a redundant call to updateCaption. Not if a modification is undone, however.
+	connect (m_doc, SIGNAL (modifiedChanged(KTextEditor::Document*)), this, SLOT (autoSaveHandlerModifiedChanged()));
+	connect (m_doc, SIGNAL (textChanged(KTextEditor::Document*)), this, SLOT (autoSaveHandlerTextChanged()));
 	connect (m_view, SIGNAL (selectionChanged(KTextEditor::View*)), this, SLOT (selectionChanged(KTextEditor::View*)));
 	// somehow the katepart loses the context menu each time it loses focus
 	connect (m_view, SIGNAL (focusIn(KTextEditor::View*)), this, SLOT (focusIn(KTextEditor::View*)));
@@ -135,8 +135,8 @@ RKCommandEditorWindow::RKCommandEditorWindow (QWidget *parent, bool use_r_highli
 				completion_model = new RKCodeCompletionModel (this);
 				completion_timer = new QTimer (this);
 				completion_timer->setSingleShot (true);
-				connect (completion_timer, SIGNAL (timeout ()), this, SLOT (tryCompletion()));
-				connect (m_doc, SIGNAL (textChanged (KTextEditor::Document*)), this, SLOT (tryCompletionProxy (KTextEditor::Document*)));
+				connect (completion_timer, SIGNAL (timeout()), this, SLOT (tryCompletion()));
+				connect (m_doc, SIGNAL (textChanged(KTextEditor::Document*)), this, SLOT (tryCompletionProxy(KTextEditor::Document*)));
 			} else {
 				RK_ASSERT (false);
 			}
@@ -156,7 +156,7 @@ RKCommandEditorWindow::RKCommandEditorWindow (QWidget *parent, bool use_r_highli
 	connect (autosave_timer, SIGNAL (timeout()), this, SLOT (doAutoSave()));
 
 	updateCaption ();	// initialize
-	QTimer::singleShot (0, this, SLOT (setPopupMenu ()));
+	QTimer::singleShot (0, this, SLOT (setPopupMenu()));
 }
 
 RKCommandEditorWindow::~RKCommandEditorWindow () {
@@ -209,7 +209,7 @@ void RKCommandEditorWindow::initializeActions (KActionCollection* ac) {
 	RK_TRACE (COMMANDEDITOR);
 
 	RKStandardActions::copyLinesToOutput (this, this, SLOT (copyLinesToOutput()));
-	RKStandardActions::pasteSpecial (this, this, SLOT (paste(const QString&)));
+	RKStandardActions::pasteSpecial (this, this, SLOT (paste(QString)));
 
 	action_run_all = RKStandardActions::runAll (this, this, SLOT (runAll()));
 	action_run_current = RKStandardActions::runCurrent (this, this, SLOT (runCurrent()), true);
@@ -231,7 +231,7 @@ void RKCommandEditorWindow::initializeActions (KActionCollection* ac) {
 	ac->addAction ("unmark_block", actionmenu_unmark_block);
 	connect (actionmenu_unmark_block->menu(), SIGNAL (aboutToShow()), this, SLOT (clearUnusedBlocks()));
 
-	action_setwd_to_script = ac->addAction ("setwd_to_script", this, SLOT (setWDToScript ()));
+	action_setwd_to_script = ac->addAction ("setwd_to_script", this, SLOT (setWDToScript()));
 	action_setwd_to_script->setText (i18n ("CD to script directory"));
 #if KDE_IS_VERSION(4,3,0)
 	action_setwd_to_script->setHelpText (i18n ("Change the working directory to the directory of this script"));
@@ -921,7 +921,7 @@ void RKFunctionArgHinter::tryArgHint () {
 	if (!RKSettingsModuleCommandEditor::argHintingEnabled ()) return;
 
 	// do this in the next event cycle to make sure any inserted characters have truly been inserted
-	QTimer::singleShot (0, this, SLOT (tryArgHintNow ()));
+	QTimer::singleShot (0, this, SLOT (tryArgHintNow()));
 }
 
 void RKFunctionArgHinter::tryArgHintNow () {
diff --git a/rkward/windows/rkcommandlog.cpp b/rkward/windows/rkcommandlog.cpp
index 2547e8b..46ffc56 100644
--- a/rkward/windows/rkcommandlog.cpp
+++ b/rkward/windows/rkcommandlog.cpp
@@ -289,7 +289,7 @@ void RKCommandLogPart::initActions () {
 
 	run_selection = RKStandardActions::runCurrent (log, log, SLOT(runSelection()));
 
-	connect (log->getView (), SIGNAL (popupMenuRequest (const QPoint &)), this, SLOT (doPopupMenu (const QPoint &)));
+	connect (log->getView (), SIGNAL (popupMenuRequest(QPoint)), this, SLOT (doPopupMenu(QPoint)));
 }
 
 void RKCommandLogPart::doPopupMenu (const QPoint &pos) {
diff --git a/rkward/windows/rkfilebrowser.cpp b/rkward/windows/rkfilebrowser.cpp
index 80da808..3c15c5a 100644
--- a/rkward/windows/rkfilebrowser.cpp
+++ b/rkward/windows/rkfilebrowser.cpp
@@ -123,11 +123,11 @@ RKFileBrowserWidget::RKFileBrowserWidget (QWidget *parent) : KVBox (parent) {
 	connect (dir, SIGNAL (contextMenuAboutToShow(KFileItem,QMenu*)), this, SLOT (contextMenuHook(KFileItem,QMenu*)));
 #endif
 
-	connect (dir, SIGNAL (urlEntered (const KUrl &)), this, SLOT (urlChangedInView (const KUrl &)));
-	connect (urlbox, SIGNAL (returnPressed (const QString &)), this, SLOT (urlChangedInCombo (const QString &)));
-	connect (urlbox, SIGNAL (urlActivated (const KUrl&)), this, SLOT (urlChangedInCombo (const KUrl&)));
+	connect (dir, SIGNAL (urlEntered(KUrl)), this, SLOT (urlChangedInView(KUrl)));
+	connect (urlbox, SIGNAL (returnPressed(QString)), this, SLOT (urlChangedInCombo(QString)));
+	connect (urlbox, SIGNAL (urlActivated(KUrl)), this, SLOT (urlChangedInCombo(KUrl)));
 
-	connect (dir, SIGNAL (fileSelected (const KFileItem&)), this, SLOT (fileActivated (const KFileItem&)));
+	connect (dir, SIGNAL (fileSelected(KFileItem)), this, SLOT (fileActivated(KFileItem)));
 
 	setURL (QDir::currentPath ());
 }
diff --git a/rkward/windows/rkhelpsearchwindow.cpp b/rkward/windows/rkhelpsearchwindow.cpp
index 94e7f53..e6f9e7e 100644
--- a/rkward/windows/rkhelpsearchwindow.cpp
+++ b/rkward/windows/rkhelpsearchwindow.cpp
@@ -83,7 +83,7 @@ RKHelpSearchWindow::RKHelpSearchWindow (QWidget *parent, bool tool_window, const
 	field = new QComboBox (this);
 	field->setEditable (true);
 	field->setSizePolicy (QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
-	connect (field->lineEdit () , SIGNAL (returnPressed ()), this, SLOT (slotFindButtonClicked ()));
+	connect (field->lineEdit () , SIGNAL (returnPressed()), this, SLOT (slotFindButtonClicked()));
 	main_settings_layout->addWidget (field);
 
 	QHBoxLayout* fields_packages_layout = new QHBoxLayout ();
@@ -118,7 +118,7 @@ RKHelpSearchWindow::RKHelpSearchWindow (QWidget *parent, bool tool_window, const
 
 	findButton = new QPushButton (i18n ("Find"), this);
 	findButton->setSizePolicy (QSizePolicy::Fixed, QSizePolicy::Fixed);
-	connect (findButton, SIGNAL (clicked ()), this, SLOT (slotFindButtonClicked ()));
+	connect (findButton, SIGNAL (clicked()), this, SLOT (slotFindButtonClicked()));
 	selection_layout->addWidget (findButton);
 
 	results = new RKHelpSearchResultsModel (this);
@@ -128,7 +128,7 @@ RKHelpSearchWindow::RKHelpSearchWindow (QWidget *parent, bool tool_window, const
 	results_view->setRootIsDecorated (false);
 	results_view->setModel (proxy_model);
 	results_view->setSortingEnabled (true);
-	connect (results_view, SIGNAL (doubleClicked(const QModelIndex&)), this, SLOT (resultDoubleClicked(const QModelIndex&)));
+	connect (results_view, SIGNAL (doubleClicked(QModelIndex)), this, SLOT (resultDoubleClicked(QModelIndex)));
 	main_layout->addWidget (results_view);
 
 	setCaption (i18n ("Help search"));
diff --git a/rkward/windows/rkhtmlwindow.cpp b/rkward/windows/rkhtmlwindow.cpp
index ca04cbf..6b24348 100644
--- a/rkward/windows/rkhtmlwindow.cpp
+++ b/rkward/windows/rkhtmlwindow.cpp
@@ -91,8 +91,8 @@ RKHTMLWindow::RKHTMLWindow (QWidget *parent, WindowMode mode) : RKMDIWindow (par
 	pLayout->addWidget (renderingpart->widget ());
 
 	// We have to connect this in order to allow browsing.
-	connect (renderingpart->browserExtension (), SIGNAL (openUrlRequestDelayed (const KUrl&, const KParts::OpenUrlArguments&, const KParts::BrowserArguments&)), this, SLOT (slotOpenUrl (const KUrl&, const KParts::OpenUrlArguments&, const KParts::BrowserArguments&)));
-	connect (renderingpart, SIGNAL (completed ()), this, SLOT (loadDone ()));
+	connect (renderingpart->browserExtension (), SIGNAL (openUrlRequestDelayed(KUrl,KParts::OpenUrlArguments,KParts::BrowserArguments)), this, SLOT (slotOpenUrl(KUrl,KParts::OpenUrlArguments,KParts::BrowserArguments)));
+	connect (renderingpart, SIGNAL (completed()), this, SLOT (loadDone()));
 	connect (renderingpart->browserExtension (), SIGNAL (openUrlNotify()), this, SLOT (internalNavigation()));	// to catch internal navigation on a page
 
 	current_history_position = -1;
@@ -141,7 +141,7 @@ void RKHTMLWindow::initActions () {
 	RK_TRACE (APP);
 
 	// common actions
-	actionCollection ()->addAction (KStandardAction::Copy, "copy", renderingpart->browserExtension (), SLOT (copy ()));
+	actionCollection ()->addAction (KStandardAction::Copy, "copy", renderingpart->browserExtension (), SLOT (copy()));
 
 	print = actionCollection ()->addAction (KStandardAction::Print, "print_html", this, SLOT (slotPrint()));
 
@@ -189,7 +189,7 @@ void RKHTMLWindow::doGotoAnchor (const QString &anchor_name) {
 	RK_TRACE (APP);
 
 	goto_anchor_name = anchor_name;
-	QTimer::singleShot (0, this, SLOT (doGotoAnchorNow ()));
+	QTimer::singleShot (0, this, SLOT (doGotoAnchorNow()));
 }
 
 void RKHTMLWindow::doGotoAnchorNow () {
@@ -324,7 +324,7 @@ bool RKHTMLWindow::openURL (const KUrl &url) {
 		QString host = url.host ();
 		if ((host == "127.0.0.1") || (host == "localhost") || host == QHostInfo::localHostName ()) {
 			KIO::TransferJob *job = KIO::get (url, KIO::Reload);
-			connect (job, SIGNAL (mimetype(KIO::Job*, const QString&)), this, SLOT (mimeTypeDetermined(KIO::Job*, const QString&)));
+			connect (job, SIGNAL (mimetype(KIO::Job*,QString)), this, SLOT (mimeTypeDetermined(KIO::Job*,QString)));
 			return true;
 		}
 	}
@@ -834,8 +834,8 @@ RKOutputWindowManager::RKOutputWindowManager () : QObject () {
 	RK_TRACE (APP);
 
 	file_watcher = new KDirWatch (this);
-	connect (file_watcher, SIGNAL (dirty(const QString&)), this, SLOT (fileChanged(const QString&)));
-	connect (file_watcher, SIGNAL (created(const QString&)), this, SLOT (fileChanged(const QString&)));
+	connect (file_watcher, SIGNAL (dirty(QString)), this, SLOT (fileChanged(QString)));
+	connect (file_watcher, SIGNAL (created(QString)), this, SLOT (fileChanged(QString)));
 }
 
 RKOutputWindowManager::~RKOutputWindowManager () {
diff --git a/rkward/windows/rktoplevelwindowgui.cpp b/rkward/windows/rktoplevelwindowgui.cpp
index b2d8ce1..aa29c3f 100644
--- a/rkward/windows/rktoplevelwindowgui.cpp
+++ b/rkward/windows/rktoplevelwindowgui.cpp
@@ -99,7 +99,7 @@ RKTopLevelWindowGUI::RKTopLevelWindowGUI (KXmlGuiWindow *for_window) : QObject (
 	action->setIcon (RKStandardIcons::getIcon (RKStandardIcons::WindowOutput));
 
 	// settings
-	KStandardAction::keyBindings (this, SLOT (configureShortcuts ()), actionCollection ());
+	KStandardAction::keyBindings (this, SLOT (configureShortcuts()), actionCollection ());
 	KStandardAction::configureToolbars (this, SLOT (configureToolbars()), actionCollection ());
 }
 
diff --git a/rkward/windows/rkwindowcatcher.cpp b/rkward/windows/rkwindowcatcher.cpp
index 9c7673b..aa9d341 100644
--- a/rkward/windows/rkwindowcatcher.cpp
+++ b/rkward/windows/rkwindowcatcher.cpp
@@ -183,8 +183,8 @@ RKCaughtX11Window::RKCaughtX11Window (RKGraphicsDevice* rkward_device, int devic
 	xembed_container->setFixedSize (rk_native_device->viewPort ()->size ());
 	resize (xembed_container->size ());
 	rk_native_device->viewPort ()->setParent (xembed_container);
-	connect (rkward_device, SIGNAL (captionChanged(const QString&)), this, SLOT (setCaption(const QString &)));
-	connect (rkward_device, SIGNAL (goingInteractive(bool,const QString&)), this, SLOT (deviceInteractive(bool,const QString&)));
+	connect (rkward_device, SIGNAL (captionChanged(QString)), this, SLOT (setCaption(QString)));
+	connect (rkward_device, SIGNAL (goingInteractive(bool,QString)), this, SLOT (deviceInteractive(bool,QString)));
 	stop_interaction->setVisible (true);
 	stop_interaction->setEnabled (false);
 	setCaption (rkward_device->viewPort ()->windowTitle ());
@@ -239,13 +239,13 @@ void RKCaughtX11Window::doEmbed () {
 		capture->setFocusPolicy (Qt::ClickFocus);
 		capture->setAutoDestruct (true);
 		connect (capture, SIGNAL (clientDestroyed()), this, SLOT (deleteLater()), Qt::QueuedConnection);
-		connect (capture, SIGNAL (clientTitleChanged(const QString&)), this, SLOT (setCaption(const QString&)), Qt::QueuedConnection);
+		connect (capture, SIGNAL (clientTitleChanged(QString)), this, SLOT (setCaption(QString)), Qt::QueuedConnection);
 
 		setCaption (capture->getClientTitle ());
 #elif defined Q_WS_X11
 		capture = new QX11EmbedContainer (xembed_container);
 		capture->embedClient (embedded);
-		connect (capture, SIGNAL (clientClosed ()), this, SLOT (deleteLater ()));
+		connect (capture, SIGNAL (clientClosed()), this, SLOT (deleteLater()));
 
 		RKWardApplication::getApp ()->registerNameWatcher (embedded, this);
 #endif
@@ -475,7 +475,7 @@ void RKCaughtX11Window::copyDeviceToRObject () {
 
 	new QLabel (i18n ("Specify the R object name, you want to save the graph to"), page);
 	RKSaveObjectChooser *chooser = new RKSaveObjectChooser (page, "my.plot");
-	connect (chooser, SIGNAL (changed (bool)), dialog, SLOT (enableButtonOk (bool)));
+	connect (chooser, SIGNAL (changed(bool)), dialog, SLOT (enableButtonOk(bool)));
 	if (!chooser->isOk ()) dialog->enableButtonOk (false);
 
 	dialog->exec ();
@@ -702,7 +702,7 @@ RKCaughtX11WindowPart::RKCaughtX11WindowPart (RKCaughtX11Window *window) : KPart
 	action->setText (i18n ("Duplicate"));
 	action->setIcon (RKStandardIcons::getIcon (RKStandardIcons::ActionWindowDuplicate));
 
-	action = window->stop_interaction = actionCollection ()->addAction ("stop_interaction", window, SLOT (stopInteraction ()));
+	action = window->stop_interaction = actionCollection ()->addAction ("stop_interaction", window, SLOT (stopInteraction()));
 	action->setText (i18n ("Stop interaction"));
 	action->setIcon (RKStandardIcons::getIcon (RKStandardIcons::ActionInterrupt));
 	action->setVisible (false);
diff --git a/rkward/windows/rkworkplace.cpp b/rkward/windows/rkworkplace.cpp
index 67cd6db..e1c9e27 100644
--- a/rkward/windows/rkworkplace.cpp
+++ b/rkward/windows/rkworkplace.cpp
@@ -211,7 +211,7 @@ void RKWorkplace::addWindow (RKMDIWindow *window, bool attached) {
 	RK_TRACE (APP);
 
 	windows.append (window);
-	connect (window, SIGNAL (destroyed (QObject *)), this, SLOT (removeWindow (QObject *)));
+	connect (window, SIGNAL (destroyed(QObject*)), this, SLOT (removeWindow(QObject*)));
 	connect (window, SIGNAL (windowActivated(RKMDIWindow*)), history, SLOT (windowActivated(RKMDIWindow*)));
 	if (window->isToolWindow () && !window->tool_window_bar) return;
 	if (attached) attachWindow (window);
diff --git a/rkward/windows/rkworkplaceview.cpp b/rkward/windows/rkworkplaceview.cpp
index bc089ad..78db393 100644
--- a/rkward/windows/rkworkplaceview.cpp
+++ b/rkward/windows/rkworkplaceview.cpp
@@ -66,7 +66,7 @@ RKWorkplaceView::RKWorkplaceView (QWidget *parent) : KTabWidget (parent) {
 #endif
 
 	tabBar ()->setContextMenuPolicy (Qt::CustomContextMenu);
-	connect (tabBar (), SIGNAL (customContextMenuRequested(const QPoint&)), this, SLOT (showContextMenu(const QPoint&)));
+	connect (tabBar (), SIGNAL (customContextMenuRequested(QPoint)), this, SLOT (showContextMenu(QPoint)));
 
 	KAcceleratorManager::setNoAccel (tabBar ());	// TODO: This is a WORKAROUND for a bug in kdelibs where tabs named "a0.txt", "a1.txt", etc. will steal the Alt+0/1... shortcuts
 	setTabBarHidden (true);		// initially
@@ -126,7 +126,7 @@ void RKWorkplaceView::addWindow (RKMDIWindow *widget) {
 
 	id = addTab (widget, icon, widget->shortCaption ());
 
-	connect (widget, SIGNAL (captionChanged (RKMDIWindow *)), this, SLOT (childCaptionChanged (RKMDIWindow *)));
+	connect (widget, SIGNAL (captionChanged(RKMDIWindow*)), this, SLOT (childCaptionChanged(RKMDIWindow*)));
 	widget->show ();
 
 	if (count () > 1) setTabBarHidden (false);
@@ -143,7 +143,7 @@ void RKWorkplaceView::removeWindow (RKMDIWindow *widget, bool destroyed) {
 
 	int id = indexOf (widget);		// which page is it?
 	if (id == -1) RK_DEBUG (APP, DL_WARNING, "did not find page in RKWorkplaceView::removeWindow");
-	if (!destroyed) disconnect (widget, SIGNAL (captionChanged (RKMDIWindow *)), this, SLOT (childCaptionChanged (RKMDIWindow *)));
+	if (!destroyed) disconnect (widget, SIGNAL (captionChanged(RKMDIWindow*)), this, SLOT (childCaptionChanged(RKMDIWindow*)));
 
 	removeTab (id);
 	if (count () <= 1) setTabBarHidden (true);
diff --git a/rkward/windows/robjectbrowser.cpp b/rkward/windows/robjectbrowser.cpp
index e5ae1ef..60a40ed 100644
--- a/rkward/windows/robjectbrowser.cpp
+++ b/rkward/windows/robjectbrowser.cpp
@@ -139,14 +139,14 @@ RObjectBrowserInternal::RObjectBrowserInternal (QWidget *parent) : QWidget (pare
 	QAction* sep = list_view->contextMenu ()->insertSeparator (list_view->contextMenu ()->actions ().value (0));
 	list_view->contextMenu ()->insertActions (sep, actions);
 
-	connect (list_view, SIGNAL (aboutToShowContextMenu (RObject *, bool*)), this, SLOT (contextMenuCallback (RObject*, bool*)));
+	connect (list_view, SIGNAL (aboutToShowContextMenu(RObject*,bool*)), this, SLOT (contextMenuCallback(RObject*,bool*)));
 	
-	connect (list_view, SIGNAL (doubleClicked(const QModelIndex&)), this, SLOT (doubleClicked(const QModelIndex&)));
+	connect (list_view, SIGNAL (doubleClicked(QModelIndex)), this, SLOT (doubleClicked(QModelIndex)));
 	
 	resize (minimumSizeHint ().expandedTo (QSize (400, 480)));
 
 	list_view->initialize ();
-	connect (update_button, SIGNAL (clicked ()), this, SLOT (updateButtonClicked ()));
+	connect (update_button, SIGNAL (clicked()), this, SLOT (updateButtonClicked()));
 }
 
 RObjectBrowserInternal::~RObjectBrowserInternal () {
@@ -284,7 +284,7 @@ RKObjectListViewSettingsWidget::RKObjectListViewSettingsWidget (RKObjectListView
 	RK_TRACE (APP);
 
 	RKObjectListViewSettingsWidget::settings = settings;
-	connect (settings, SIGNAL (settingsChanged ()), this, SLOT (settingsChanged ()));
+	connect (settings, SIGNAL (settingsChanged()), this, SLOT (settingsChanged()));
 
 	QVBoxLayout *layout = new QVBoxLayout (this);
 	layout->setContentsMargins (0, 0, 0, 0);




More information about the rkward-tracker mailing list