#include <screenlockbusinesslogic.h>
List of all members.
Detailed Description
The screen lock business logic is responsible for showing and hiding the screen lock window and the event eater window when necessary.
Constructor & Destructor Documentation
ScreenLockBusinessLogic::ScreenLockBusinessLogic |
( |
QObject * |
parent = NULL |
) |
|
Constructs a new screen lock business logic.
- Parameters:
-
| parent | the parent QObject for the logic |
ScreenLockBusinessLogic::~ScreenLockBusinessLogic |
( |
|
) |
[virtual] |
Destroys the screen lock business logic.
Member Function Documentation
bool ScreenLockBusinessLogic::isScreenLocked |
( |
|
) |
const |
Retuns the screen lock state.
- Returns:
true
if the screen is locked, false
otherwise
void ScreenLockBusinessLogic::screenIsLocked |
( |
bool |
locked |
) |
[signal] |
Emitted when the screen lock state changes.
int ScreenLockBusinessLogic::tklock_close |
( |
bool |
silent |
) |
|
Hides the screen lock.
- Parameters:
-
| silent | Whether to show notifications or not (deprecated). |
int ScreenLockBusinessLogic::tklock_open |
( |
const QString & |
service, |
|
|
const QString & |
path, |
|
|
const QString & |
interface, |
|
|
const QString & |
method, |
|
|
uint |
mode, |
|
|
bool |
silent, |
|
|
bool |
flicker | |
|
) |
| | |
Shows the screen lock window or the event eater window.
- Parameters:
-
| service | DBus service to call when unlock is performed. |
| path | DBus path to call when unlock is performed. |
| interface | DBus interface to call when unlock is performed. |
| method | DBus method to call when unlock is performed. |
| mode | The ScreenLockBusinessLogicAdaptor::TkLockMode opcode. |
| silent | Whether to show a notification or not (deprecated) |
| flicker | Deprecated/not used |
void ScreenLockBusinessLogic::unlockScreen |
( |
|
) |
[slot] |
Hides the screen lock window and calls the MCE's unlock callback function.
The documentation for this class was generated from the following files: