blob: c07b7599feac62ad5533299933ddd3e35d76de6b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#include "fb2mode.h"
//---------------------------------------------------------------------------
// FbActionMap
//---------------------------------------------------------------------------
void FbActionMap::connect()
{
for (QAction *action: *this) {
action->setEnabled(true);
}
}
void FbActionMap::disconnect()
{
for (QAction *action: *this) {
if (action->isCheckable()) action->setChecked(false);
action->setEnabled(false);
action->disconnect();
}
}
|