![]() |
RabbitCommon v2.3.4
|
Public Member Functions | |
| bool | hasAdminRights () override |
| Tests whether this program already has elevated rights or not. | |
| bool | executeAsAdmin (const QString &program, const QStringList &arguments) override |
| Runs a program with the given arguments with elevated rights. | |
Public Member Functions inherited from RabbitCommon::CAdminAuthoriser | |
| CAdminAuthoriser () | |
| virtual bool | execute (const QString &program, const QStringList &arguments) |
| void | SetDetached (bool bDetached) |
| bool | GetDetached () |
Additional Inherited Members | |
Static Public Member Functions inherited from RabbitCommon::CAdminAuthoriser | |
| static CAdminAuthoriser * | Instance () |
Protected Attributes inherited from RabbitCommon::CAdminAuthoriser | |
| bool | m_bDetached |
Definition at line 14 of file adminauthorization_p.h.
|
overridevirtual |
Runs a program with the given arguments with elevated rights.
Implements RabbitCommon::CAdminAuthoriser.
Definition at line 11 of file adminauthorization_dummy.cpp.
|
overridevirtual |
Tests whether this program already has elevated rights or not.
Implements RabbitCommon::CAdminAuthoriser.
Definition at line 6 of file adminauthorization_dummy.cpp.