/usr/lib/bouml/FileControl/132738.bodies is in bouml-plugouts-src 4.21-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | class Dialog
!!!144642.cpp!!! Dialog(in ci : bool, inout cmd : string, inout rec : bool, inout reload : bool)
QVBoxLayout * vbox = new QVBoxLayout(this);
QHBox * htab;
vbox->setMargin(5);
// add recursive check box
htab = new QHBox(this);
htab->setMargin(5);
vbox->addWidget(htab);
rec_cb = new QCheckBox((ci) ? "Check-in sub packages" : "Check-out sub-packages",
htab);
// add comment
htab = new QHBox(this);
htab->setMargin(5);
vbox->addWidget(htab);
new QLabel("In the command %file will be replaced by the file's name,"
" %dir by the directory where is the file\n"
"%dironly is replaced by the directory without the drive", htab);
// add command edit
htab = new QHBox(this);
htab->setMargin(5);
vbox->addWidget(htab);
new QLabel("Command : ", htab);
cmd_ed = new QLineEdit(htab);
cmd_ed->setText(_cmd);
// save & load
htab = new QHBox(this);
htab->setMargin(5);
vbox->addWidget(htab);
reload_cb = new QCheckBox("Save then reload the project to see the new write permission of the files",
htab);
reload_cb->setChecked(TRUE);
// ok & cancel
htab = new QHBox(this);
htab->setMargin(5);
vbox->addWidget(htab);
new QLabel(htab);
QPushButton * ok = new QPushButton("&Ok", htab);
new QLabel(htab);
QPushButton * cancel = new QPushButton("&Cancel", htab);
new QLabel(htab);
QSize bs(cancel->sizeHint());
ok->setFixedSize(bs);
cancel->setFixedSize(bs);
connect(ok, SIGNAL(clicked()), this, SLOT(accept()));
connect(cancel, SIGNAL(clicked()), this, SLOT(reject()));
!!!144770.cpp!!! accept() : void
if (cmd_ed->text().find("%file") == -1)
QMessageBox::critical(this, "Error", "the command must contain %file");
else {
_cmd = cmd_ed->text();
_rec = rec_cb->isChecked();
_reload = reload_cb->isChecked();
QDialog::accept();
}
|