- Timestamp:
- Jun 21, 2021 1:36:17 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 145280
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/platform/x11
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/platform/x11/VBoxX11Helper.cpp
r89817 r89823 188 188 } 189 189 190 static void X11Intro respectInterfaceNode(const QDomElement &interface,190 static void X11IntrospectInterfaceNode(const QDomElement &interface, 191 191 const QString &strServiceName, QVector<X11ScreenSaverInhibitMethod*> &methods) 192 192 { … … 209 209 } 210 210 211 static void X11Intro respectServices(const QDBusConnection &connection,211 static void X11IntrospectServices(const QDBusConnection &connection, 212 212 const QString &strService, const QString &path, QVector<X11ScreenSaverInhibitMethod*> &methods) 213 213 { … … 229 229 { 230 230 QString subPath = path + QLatin1Char('/') + child.attribute(QLatin1String("name")); 231 X11Intro respectServices(connection, strService, subPath, methods);231 X11IntrospectServices(connection, strService, subPath, methods); 232 232 } 233 233 else if (child.tagName() == QLatin1String("interface")) 234 X11Intro respectInterfaceNode(child, strService, methods);234 X11IntrospectInterfaceNode(child, strService, methods); 235 235 child = child.nextSiblingElement(); 236 236 } … … 263 263 264 264 foreach(const QString &strServiceName, X11FindDBusScreenSaverServices(connection)) 265 X11Intro respectServices(connection, strServiceName, "", methods);265 X11IntrospectServices(connection, strServiceName, "", methods); 266 266 267 267 return methods; -
trunk/src/VBox/Frontends/VirtualBox/src/platform/x11/VBoxX11Helper.h
r89820 r89823 65 65 SHARED_LIBRARY_STUFF bool X11CheckExtension(const char *extensionName); 66 66 67 /** Returns the list of Inhibit methods found by intro respecting DBus services. */67 /** Returns the list of Inhibit methods found by introspecting DBus services. */ 68 68 SHARED_LIBRARY_STUFF QVector<X11ScreenSaverInhibitMethod*> X11FindDBusScrenSaverInhibitMethods(); 69 69
Note:
See TracChangeset
for help on using the changeset viewer.