+void Mainwindow::renameFunction(QListWidgetItem * item) {
+ RenameFunctionDialog dialog;
+ int result = dialog.exec();
+ if (QDialog::Accepted == result) {
+ LOG4CXX_DEBUG(logger, "renaming Function" << item->text().toStdString()
+ << " to " << dialog.result().toStdString());
+ item->setText(dialog.result());
+ } else {
+ LOG4CXX_DEBUG(logger, "renameFunction aborted");
+ }
+}
+