AntiMicroX
Public Slots | Signals | Public Member Functions | Private Attributes
UnixCaptureWindowUtility Class Reference

#include <unixcapturewindowutility.h>

Inheritance diagram for UnixCaptureWindowUtility:
[legend]
Collaboration diagram for UnixCaptureWindowUtility:
[legend]

Public Slots

void attemptWindowCapture ()
 Attempt to capture window selected with the mouse. More...
 

Signals

void captureFinished ()
 

Public Member Functions

 UnixCaptureWindowUtility (QObject *parent=nullptr)
 
QString getTargetPath () const
 Get the saved path for a window. More...
 
bool hasFailed () const
 Check if attemptWindowCapture failed to obtain an application. More...
 
long getTargetWindow () const
 

Private Attributes

QString targetPath
 
bool failed
 
long targetWindow
 

Constructor & Destructor Documentation

◆ UnixCaptureWindowUtility()

UnixCaptureWindowUtility::UnixCaptureWindowUtility ( QObject *  parent = nullptr)
explicit

Member Function Documentation

◆ attemptWindowCapture

void UnixCaptureWindowUtility::attemptWindowCapture ( )
slot

Attempt to capture window selected with the mouse.

Here is the call graph for this function:

◆ captureFinished

void UnixCaptureWindowUtility::captureFinished ( )
signal
Here is the caller graph for this function:

◆ getTargetPath()

QString UnixCaptureWindowUtility::getTargetPath ( ) const

Get the saved path for a window.

Returns
Program path

◆ getTargetWindow()

long UnixCaptureWindowUtility::getTargetWindow ( ) const

◆ hasFailed()

bool UnixCaptureWindowUtility::hasFailed ( ) const

Check if attemptWindowCapture failed to obtain an application.

Returns
Error status

Field Documentation

◆ failed

bool UnixCaptureWindowUtility::failed
private

◆ targetPath

QString UnixCaptureWindowUtility::targetPath
private

◆ targetWindow

long UnixCaptureWindowUtility::targetWindow
private

The documentation for this class was generated from the following files: