aAction->setShortcutContext(Qt::ApplicationShortcut);
aAction = new QAction(QIcon(":pictures/rename_edit.png"), tr("Rename"), this);
addAction("RENAME_CMD", aAction);
connect(aAction, SIGNAL(triggered(bool)), this, SLOT(onRename()));
aAction->setShortcutContext(Qt::ApplicationShortcut);
aAction = new QAction(QIcon(":pictures/rename_edit.png"), tr("Rename"), this);
addAction("RENAME_CMD", aAction);
connect(aAction, SIGNAL(triggered(bool)), this, SLOT(onRename()));