| KWin
    | 
#include <session_consolekit.h>
 
  
| Public Member Functions | |
| ~ConsoleKitSession () override | |
| bool | isActive () const override | 
| Capabilities | capabilities () const override | 
| QString | seat () const override | 
| uint | terminal () const override | 
| int | openRestricted (const QString &fileName) override | 
| void | closeRestricted (int fileDescriptor) override | 
| void | switchTo (uint terminal) override | 
| Static Public Member Functions | |
| static std::unique_ptr< ConsoleKitSession > | create () | 
|  Static Public Member Functions inherited from KWin::Session | |
| static std::unique_ptr< Session > | create () | 
| static std::unique_ptr< Session > | create (Type type) | 
| Additional Inherited Members | |
|  Public Types inherited from KWin::Session | |
| enum class | Type { Noop , ConsoleKit , Logind } | 
| enum class | Capability : uint { SwitchTerminal = 0x1 } | 
|  Signals inherited from KWin::Session | |
| void | awoke () | 
| void | activeChanged (bool active) | 
| void | deviceResumed (dev_t deviceId) | 
| void | devicePaused (dev_t deviceId) | 
|  Protected Member Functions inherited from KWin::Session | |
| Session ()=default | |
Definition at line 16 of file session_consolekit.h.
| 
 | override | 
Definition at line 226 of file session_consolekit.cpp.
| 
 | overridevirtual | 
Returns the capabilities supported by the session.
Implements KWin::Session.
Definition at line 148 of file session_consolekit.cpp.
| 
 | overridevirtual | 
Closes a file that has been opened using the openRestricted() function.
Implements KWin::Session.
Definition at line 191 of file session_consolekit.cpp.
| 
 | static | 
Definition at line 111 of file session_consolekit.cpp.
| 
 | overridevirtual | 
Returns true if the session is active; otherwise returns false. 
Implements KWin::Session.
Definition at line 143 of file session_consolekit.cpp.
| 
 | overridevirtual | 
Opens the file with the specified fileName. Returns the file descriptor of the file or -1 if an error has occurred.
Implements KWin::Session.
Definition at line 163 of file session_consolekit.cpp.
| 
 | overridevirtual | 
Returns the seat name for the Session.
Implements KWin::Session.
Definition at line 153 of file session_consolekit.cpp.
| 
 | overridevirtual | 
Switches to the specified virtual terminal. This function does nothing if the Capability::SwitchTerminal capability is unsupported.
Implements KWin::Session.
Definition at line 210 of file session_consolekit.cpp.
| 
 | overridevirtual | 
Returns the terminal controlled by the Session.
Implements KWin::Session.
Definition at line 158 of file session_consolekit.cpp.