public MenuBar(QWidget arg0, String arg1) {
//super(arg0, arg1);
QPopupMenu file = new QPopupMenu(arg0);
file.insertItem("E&xit", qApp(), SLOT("quit()"), new QKeySequence(CTRL
+ Key_Q));
QPopupMenu tools = new QPopupMenu(arg0);
tools.insertItem("Attach to Project", arg0, SLOT("attachToProject()"),
new QKeySequence(CTRL + Key_W));
tools.insertItem("Account manager", arg0, SLOT("accountManager()"), new QKeySequence(
CTRL + Key_A));
QPopupMenu activity = new QPopupMenu(arg0);
activity.insertItem("Run always", arg0, SLOT("runAlways()"));
activity.insertItem("Run based on preferences", arg0, SLOT("runBasedOnPreferences()"));
activity.insertItem("Suspend", arg0, SLOT("suspend()"));