#include "xwrapper.h"
|
Display * | GetDisplay () const |
|
Window | GetRootWindow () const |
|
bool | nativeEventFilter (const QByteArray &eventType, void *message, long *result) override |
|
void | Sync () |
|
QList< Window > | GetWindows () |
|
QString | GetWindowTitle (Window) |
|
QIcon | GetWindowIcon (Window) |
|
WinStateFlags | GetWindowState (Window) |
|
AllowedActionFlags | GetWindowActions (Window) |
|
Window | GetActiveApp () |
|
bool | IsLCWindow (Window) |
|
bool | ShouldShow (Window) |
|
void | Subscribe (Window) |
|
void | SetStrut (QWidget *, Qt::ToolBarArea) |
|
void | ClearStrut (QWidget *) |
|
void | SetStrut (Window wid, int left, int right, int top, int bottom, int leftStartY, int leftEndY, int rightStartY, int rightEndY, int topStartX, int topEndX, int bottomStartX, int bottomEndX) |
|
void | RaiseWindow (Window) |
|
void | MinimizeWindow (Window) |
|
void | MaximizeWindow (Window) |
|
void | UnmaximizeWindow (Window) |
|
void | ShadeWindow (Window) |
|
void | UnshadeWindow (Window) |
|
void | MoveWindowTo (Window, Layer) |
|
void | CloseWindow (Window) |
|
void | ResizeWindow (Window, int, int) |
|
int | GetDesktopCount () |
|
int | GetCurrentDesktop () |
|
void | SetCurrentDesktop (int) |
|
QStringList | GetDesktopNames () |
|
QString | GetDesktopName (int, const QString &=QString()) |
|
int | GetWindowDesktop (Window) |
|
void | MoveWindowToDesktop (Window, int) |
|
QRect | GetAvailableGeometry (int screen=-1) |
|
QRect | GetAvailableGeometry (QWidget *) |
|
Atom | GetAtom (const QString &) |
|
Definition at line 55 of file xwrapper.h.
◆ Layer
Enumerator |
---|
Top | |
Bottom | |
Normal | |
Definition at line 67 of file xwrapper.h.
◆ activeWindowChanged
void LeechCraft::Util::XWrapper::activeWindowChanged |
( |
| ) |
|
|
signal |
◆ ClearStrut()
void LeechCraft::Util::XWrapper::ClearStrut |
( |
QWidget * |
w | ) |
|
◆ CloseWindow()
void LeechCraft::Util::XWrapper::CloseWindow |
( |
Window |
wid | ) |
|
◆ desktopChanged
void LeechCraft::Util::XWrapper::desktopChanged |
( |
| ) |
|
|
signal |
◆ GetActiveApp()
Window LeechCraft::Util::XWrapper::GetActiveApp |
( |
| ) |
|
◆ GetAtom()
Atom LeechCraft::Util::XWrapper::GetAtom |
( |
const QString & |
name | ) |
|
◆ GetAvailableGeometry() [1/2]
QRect LeechCraft::Util::XWrapper::GetAvailableGeometry |
( |
int |
screen = -1 | ) |
|
◆ GetAvailableGeometry() [2/2]
QRect LeechCraft::Util::XWrapper::GetAvailableGeometry |
( |
QWidget * |
widget | ) |
|
◆ GetCurrentDesktop()
int LeechCraft::Util::XWrapper::GetCurrentDesktop |
( |
| ) |
|
◆ GetDesktopCount()
int LeechCraft::Util::XWrapper::GetDesktopCount |
( |
| ) |
|
◆ GetDesktopName()
QString LeechCraft::Util::XWrapper::GetDesktopName |
( |
int |
desktop, |
|
|
const QString & |
def = QString () |
|
) |
| |
◆ GetDesktopNames()
QStringList LeechCraft::Util::XWrapper::GetDesktopNames |
( |
| ) |
|
◆ GetDisplay()
Display * LeechCraft::Util::XWrapper::GetDisplay |
( |
| ) |
const |
◆ GetRootWindow()
Window LeechCraft::Util::XWrapper::GetRootWindow |
( |
| ) |
const |
◆ GetWindowActions()
AllowedActionFlags LeechCraft::Util::XWrapper::GetWindowActions |
( |
Window |
wid | ) |
|
Definition at line 290 of file xwrapper.cpp.
References LeechCraft::Util::ChangeDesktop, LeechCraft::Util::Close, LeechCraft::Util::MaximizeHorz, LeechCraft::Util::MaximizeVert, LeechCraft::Util::Minimize, LeechCraft::Util::Move, LeechCraft::Util::MoveToBottom, LeechCraft::Util::MoveToTop, LeechCraft::Util::Resize, LeechCraft::Util::Shade, LeechCraft::Util::ShowFullscreen, and LeechCraft::Util::Stick.
◆ GetWindowDesktop()
int LeechCraft::Util::XWrapper::GetWindowDesktop |
( |
Window |
wid | ) |
|
◆ GetWindowIcon()
QIcon LeechCraft::Util::XWrapper::GetWindowIcon |
( |
Window |
wid | ) |
|
◆ GetWindows()
QList< Window > LeechCraft::Util::XWrapper::GetWindows |
( |
| ) |
|
◆ GetWindowState()
WinStateFlags LeechCraft::Util::XWrapper::GetWindowState |
( |
Window |
wid | ) |
|
Definition at line 251 of file xwrapper.cpp.
References LeechCraft::Util::Attention, LeechCraft::Util::Fullscreen, LeechCraft::Util::Hidden, LeechCraft::Util::MaximizedHorz, LeechCraft::Util::MaximizedVert, LeechCraft::Util::Modal, LeechCraft::Util::OnBottom, LeechCraft::Util::OnTop, LeechCraft::Util::Shaded, LeechCraft::Util::SkipPager, LeechCraft::Util::SkipTaskbar, and LeechCraft::Util::Sticky.
◆ GetWindowTitle()
QString LeechCraft::Util::XWrapper::GetWindowTitle |
( |
Window |
wid | ) |
|
◆ Instance()
XWrapper & LeechCraft::Util::XWrapper::Instance |
( |
| ) |
|
|
static |
◆ IsLCWindow()
bool LeechCraft::Util::XWrapper::IsLCWindow |
( |
Window |
wid | ) |
|
◆ MaximizeWindow()
void LeechCraft::Util::XWrapper::MaximizeWindow |
( |
Window |
wid | ) |
|
◆ MinimizeWindow()
void LeechCraft::Util::XWrapper::MinimizeWindow |
( |
Window |
wid | ) |
|
◆ MoveWindowTo()
void LeechCraft::Util::XWrapper::MoveWindowTo |
( |
Window |
wid, |
|
|
Layer |
layer |
|
) |
| |
◆ MoveWindowToDesktop()
void LeechCraft::Util::XWrapper::MoveWindowToDesktop |
( |
Window |
wid, |
|
|
int |
num |
|
) |
| |
◆ nativeEventFilter()
bool LeechCraft::Util::XWrapper::nativeEventFilter |
( |
const QByteArray & |
eventType, |
|
|
void * |
message, |
|
|
long * |
result |
|
) |
| |
|
override |
◆ RaiseWindow()
void LeechCraft::Util::XWrapper::RaiseWindow |
( |
Window |
wid | ) |
|
◆ ResizeWindow()
void LeechCraft::Util::XWrapper::ResizeWindow |
( |
Window |
wid, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
◆ SetCurrentDesktop()
void LeechCraft::Util::XWrapper::SetCurrentDesktop |
( |
int |
desktop | ) |
|
◆ SetStrut() [1/2]
void LeechCraft::Util::XWrapper::SetStrut |
( |
QWidget * |
widget, |
|
|
Qt::ToolBarArea |
area |
|
) |
| |
◆ SetStrut() [2/2]
void LeechCraft::Util::XWrapper::SetStrut |
( |
Window |
wid, |
|
|
int |
left, |
|
|
int |
right, |
|
|
int |
top, |
|
|
int |
bottom, |
|
|
int |
leftStartY, |
|
|
int |
leftEndY, |
|
|
int |
rightStartY, |
|
|
int |
rightEndY, |
|
|
int |
topStartX, |
|
|
int |
topEndX, |
|
|
int |
bottomStartX, |
|
|
int |
bottomEndX |
|
) |
| |
◆ ShadeWindow()
void LeechCraft::Util::XWrapper::ShadeWindow |
( |
Window |
wid | ) |
|
◆ ShouldShow()
bool LeechCraft::Util::XWrapper::ShouldShow |
( |
Window |
wid | ) |
|
◆ Subscribe()
void LeechCraft::Util::XWrapper::Subscribe |
( |
Window |
wid | ) |
|
◆ Sync()
void LeechCraft::Util::XWrapper::Sync |
( |
| ) |
|
◆ UnmaximizeWindow()
void LeechCraft::Util::XWrapper::UnmaximizeWindow |
( |
Window |
wid | ) |
|
◆ UnshadeWindow()
void LeechCraft::Util::XWrapper::UnshadeWindow |
( |
Window |
wid | ) |
|
◆ windowActionsChanged
void LeechCraft::Util::XWrapper::windowActionsChanged |
( |
ulong |
| ) |
|
|
signal |
◆ windowDesktopChanged
void LeechCraft::Util::XWrapper::windowDesktopChanged |
( |
ulong |
| ) |
|
|
signal |
◆ windowIconChanged
void LeechCraft::Util::XWrapper::windowIconChanged |
( |
ulong |
| ) |
|
|
signal |
◆ windowListChanged
void LeechCraft::Util::XWrapper::windowListChanged |
( |
| ) |
|
|
signal |
◆ windowNameChanged
void LeechCraft::Util::XWrapper::windowNameChanged |
( |
ulong |
| ) |
|
|
signal |
◆ windowStateChanged
void LeechCraft::Util::XWrapper::windowStateChanged |
( |
ulong |
| ) |
|
|
signal |
The documentation for this class was generated from the following files:
- /home/abuild/rpmbuild/BUILD/leechcraft-0.6.70-10870-g558588d6ec/src/util/x11/xwrapper.h
- /home/abuild/rpmbuild/BUILD/leechcraft-0.6.70-10870-g558588d6ec/src/util/x11/xwrapper.cpp