| Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/kernel/qplatformintegration.cpp |
| Switch to Source code | Preprocessed file |
| Line | Source | Count | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | - | |||||||||||||||||||||||||
| 2 | - | |||||||||||||||||||||||||
| 3 | - | |||||||||||||||||||||||||
| 4 | - | |||||||||||||||||||||||||
| 5 | - | |||||||||||||||||||||||||
| 6 | - | |||||||||||||||||||||||||
| 7 | QPlatformFontDatabase *QPlatformIntegration::fontDatabase() const | - | ||||||||||||||||||||||||
| 8 | { | - | ||||||||||||||||||||||||
| 9 | static QPlatformFontDatabase *db = 0; | - | ||||||||||||||||||||||||
| 10 | if (!db
| 0 | ||||||||||||||||||||||||
| 11 | db = new QPlatformFontDatabase; | - | ||||||||||||||||||||||||
| 12 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 13 | return never executed: db;return db;never executed: return db; | 0 | ||||||||||||||||||||||||
| 14 | } | - | ||||||||||||||||||||||||
| 15 | QPlatformClipboard *QPlatformIntegration::clipboard() const | - | ||||||||||||||||||||||||
| 16 | { | - | ||||||||||||||||||||||||
| 17 | static QPlatformClipboard *clipboard = 0; | - | ||||||||||||||||||||||||
| 18 | if (!clipboard
| 0 | ||||||||||||||||||||||||
| 19 | clipboard = new QPlatformClipboard; | - | ||||||||||||||||||||||||
| 20 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 21 | return never executed: clipboard;return clipboard;never executed: return clipboard; | 0 | ||||||||||||||||||||||||
| 22 | } | - | ||||||||||||||||||||||||
| 23 | QPlatformDrag *QPlatformIntegration::drag() const | - | ||||||||||||||||||||||||
| 24 | { | - | ||||||||||||||||||||||||
| 25 | static QSimpleDrag *drag = 0; | - | ||||||||||||||||||||||||
| 26 | if (!drag
| 0 | ||||||||||||||||||||||||
| 27 | drag = new QSimpleDrag; | - | ||||||||||||||||||||||||
| 28 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 29 | return never executed: drag;return drag;never executed: return drag; | 0 | ||||||||||||||||||||||||
| 30 | } | - | ||||||||||||||||||||||||
| 31 | - | |||||||||||||||||||||||||
| 32 | - | |||||||||||||||||||||||||
| 33 | QPlatformNativeInterface * QPlatformIntegration::nativeInterface() const | - | ||||||||||||||||||||||||
| 34 | { | - | ||||||||||||||||||||||||
| 35 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 36 | } | - | ||||||||||||||||||||||||
| 37 | - | |||||||||||||||||||||||||
| 38 | QPlatformServices *QPlatformIntegration::services() const | - | ||||||||||||||||||||||||
| 39 | { | - | ||||||||||||||||||||||||
| 40 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 41 | } | - | ||||||||||||||||||||||||
| 42 | bool QPlatformIntegration::hasCapability(Capability cap) const | - | ||||||||||||||||||||||||
| 43 | { | - | ||||||||||||||||||||||||
| 44 | return never executed: cap == NonFullScreenWindowsreturn cap == NonFullScreenWindows || cap == NativeWidgets || cap == WindowManagement;
never executed: return cap == NonFullScreenWindows || cap == NativeWidgets || cap == WindowManagement; | 0 | ||||||||||||||||||||||||
| 45 | } | - | ||||||||||||||||||||||||
| 46 | - | |||||||||||||||||||||||||
| 47 | QPlatformPixmap *QPlatformIntegration::createPlatformPixmap(QPlatformPixmap::PixelType type) const | - | ||||||||||||||||||||||||
| 48 | { | - | ||||||||||||||||||||||||
| 49 | return never executed: new QRasterPlatformPixmap(type);return new QRasterPlatformPixmap(type);never executed: return new QRasterPlatformPixmap(type); | 0 | ||||||||||||||||||||||||
| 50 | } | - | ||||||||||||||||||||||||
| 51 | QPlatformOpenGLContext *QPlatformIntegration::createPlatformOpenGLContext(QOpenGLContext *context) const | - | ||||||||||||||||||||||||
| 52 | { | - | ||||||||||||||||||||||||
| 53 | (void)context;; | - | ||||||||||||||||||||||||
| 54 | QMessageLogger(__FILE__, 288, __PRETTY_FUNCTION__).warning("This plugin does not support createPlatformOpenGLContext!"); | - | ||||||||||||||||||||||||
| 55 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 56 | } | - | ||||||||||||||||||||||||
| 57 | - | |||||||||||||||||||||||||
| 58 | - | |||||||||||||||||||||||||
| 59 | - | |||||||||||||||||||||||||
| 60 | - | |||||||||||||||||||||||||
| 61 | - | |||||||||||||||||||||||||
| 62 | - | |||||||||||||||||||||||||
| 63 | QPlatformSharedGraphicsCache *QPlatformIntegration::createPlatformSharedGraphicsCache(const char *cacheId) const | - | ||||||||||||||||||||||||
| 64 | { | - | ||||||||||||||||||||||||
| 65 | QMessageLogger(__FILE__, 299, __PRETTY_FUNCTION__).warning("This plugin does not support createPlatformSharedGraphicsBuffer for cacheId: %s!", | - | ||||||||||||||||||||||||
| 66 | cacheId); | - | ||||||||||||||||||||||||
| 67 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 68 | } | - | ||||||||||||||||||||||||
| 69 | - | |||||||||||||||||||||||||
| 70 | - | |||||||||||||||||||||||||
| 71 | - | |||||||||||||||||||||||||
| 72 | - | |||||||||||||||||||||||||
| 73 | - | |||||||||||||||||||||||||
| 74 | QPaintEngine *QPlatformIntegration::createImagePaintEngine(QPaintDevice *paintDevice) const | - | ||||||||||||||||||||||||
| 75 | { | - | ||||||||||||||||||||||||
| 76 | (void)paintDevice; | - | ||||||||||||||||||||||||
| 77 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 78 | } | - | ||||||||||||||||||||||||
| 79 | void QPlatformIntegration::initialize() | - | ||||||||||||||||||||||||
| 80 | { | - | ||||||||||||||||||||||||
| 81 | } | - | ||||||||||||||||||||||||
| 82 | - | |||||||||||||||||||||||||
| 83 | - | |||||||||||||||||||||||||
| 84 | - | |||||||||||||||||||||||||
| 85 | - | |||||||||||||||||||||||||
| 86 | - | |||||||||||||||||||||||||
| 87 | - | |||||||||||||||||||||||||
| 88 | - | |||||||||||||||||||||||||
| 89 | void QPlatformIntegration::destroy() | - | ||||||||||||||||||||||||
| 90 | { | - | ||||||||||||||||||||||||
| 91 | } | - | ||||||||||||||||||||||||
| 92 | - | |||||||||||||||||||||||||
| 93 | - | |||||||||||||||||||||||||
| 94 | - | |||||||||||||||||||||||||
| 95 | - | |||||||||||||||||||||||||
| 96 | - | |||||||||||||||||||||||||
| 97 | - | |||||||||||||||||||||||||
| 98 | QPlatformInputContext *QPlatformIntegration::inputContext() const | - | ||||||||||||||||||||||||
| 99 | { | - | ||||||||||||||||||||||||
| 100 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 101 | } | - | ||||||||||||||||||||||||
| 102 | QPlatformAccessibility *QPlatformIntegration::accessibility() const | - | ||||||||||||||||||||||||
| 103 | { | - | ||||||||||||||||||||||||
| 104 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 105 | } | - | ||||||||||||||||||||||||
| 106 | - | |||||||||||||||||||||||||
| 107 | - | |||||||||||||||||||||||||
| 108 | - | |||||||||||||||||||||||||
| 109 | QVariant QPlatformIntegration::styleHint(StyleHint hint) const | - | ||||||||||||||||||||||||
| 110 | { | - | ||||||||||||||||||||||||
| 111 | switch (hint) { | - | ||||||||||||||||||||||||
| 112 | case never executed: CursorFlashTime:case CursorFlashTime:never executed: case CursorFlashTime: | 0 | ||||||||||||||||||||||||
| 113 | return never executed: QPlatformTheme::defaultThemeHint(QPlatformTheme::CursorFlashTime);return QPlatformTheme::defaultThemeHint(QPlatformTheme::CursorFlashTime);never executed: return QPlatformTheme::defaultThemeHint(QPlatformTheme::CursorFlashTime); | 0 | ||||||||||||||||||||||||
| 114 | case never executed: KeyboardInputInterval:case KeyboardInputInterval:never executed: case KeyboardInputInterval: | 0 | ||||||||||||||||||||||||
| 115 | return never executed: QPlatformTheme::defaultThemeHint(QPlatformTheme::KeyboardInputInterval);return QPlatformTheme::defaultThemeHint(QPlatformTheme::KeyboardInputInterval);never executed: return QPlatformTheme::defaultThemeHint(QPlatformTheme::KeyboardInputInterval); | 0 | ||||||||||||||||||||||||
| 116 | case never executed: KeyboardAutoRepeatRate:case KeyboardAutoRepeatRate:never executed: case KeyboardAutoRepeatRate: | 0 | ||||||||||||||||||||||||
| 117 | return never executed: QPlatformTheme::defaultThemeHint(QPlatformTheme::KeyboardAutoRepeatRate);return QPlatformTheme::defaultThemeHint(QPlatformTheme::KeyboardAutoRepeatRate);never executed: return QPlatformTheme::defaultThemeHint(QPlatformTheme::KeyboardAutoRepeatRate); | 0 | ||||||||||||||||||||||||
| 118 | case never executed: MouseDoubleClickInterval:case MouseDoubleClickInterval:never executed: case MouseDoubleClickInterval: | 0 | ||||||||||||||||||||||||
| 119 | return never executed: QPlatformTheme::defaultThemeHint(QPlatformTheme::MouseDoubleClickInterval);return QPlatformTheme::defaultThemeHint(QPlatformTheme::MouseDoubleClickInterval);never executed: return QPlatformTheme::defaultThemeHint(QPlatformTheme::MouseDoubleClickInterval); | 0 | ||||||||||||||||||||||||
| 120 | case never executed: StartDragDistance:case StartDragDistance:never executed: case StartDragDistance: | 0 | ||||||||||||||||||||||||
| 121 | return never executed: QPlatformTheme::defaultThemeHint(QPlatformTheme::StartDragDistance);return QPlatformTheme::defaultThemeHint(QPlatformTheme::StartDragDistance);never executed: return QPlatformTheme::defaultThemeHint(QPlatformTheme::StartDragDistance); | 0 | ||||||||||||||||||||||||
| 122 | case never executed: StartDragTime:case StartDragTime:never executed: case StartDragTime: | 0 | ||||||||||||||||||||||||
| 123 | return never executed: QPlatformTheme::defaultThemeHint(QPlatformTheme::StartDragTime);return QPlatformTheme::defaultThemeHint(QPlatformTheme::StartDragTime);never executed: return QPlatformTheme::defaultThemeHint(QPlatformTheme::StartDragTime); | 0 | ||||||||||||||||||||||||
| 124 | case never executed: ShowIsFullScreen:case ShowIsFullScreen:never executed: case ShowIsFullScreen: | 0 | ||||||||||||||||||||||||
| 125 | return never executed: false;return false;never executed: return false; | 0 | ||||||||||||||||||||||||
| 126 | case never executed: ShowIsMaximized:case ShowIsMaximized:never executed: case ShowIsMaximized: | 0 | ||||||||||||||||||||||||
| 127 | return never executed: false;return false;never executed: return false; | 0 | ||||||||||||||||||||||||
| 128 | case never executed: PasswordMaskDelay:case PasswordMaskDelay:never executed: case PasswordMaskDelay: | 0 | ||||||||||||||||||||||||
| 129 | return never executed: QPlatformTheme::defaultThemeHint(QPlatformTheme::PasswordMaskDelay);return QPlatformTheme::defaultThemeHint(QPlatformTheme::PasswordMaskDelay);never executed: return QPlatformTheme::defaultThemeHint(QPlatformTheme::PasswordMaskDelay); | 0 | ||||||||||||||||||||||||
| 130 | case never executed: PasswordMaskCharacter:case PasswordMaskCharacter:never executed: case PasswordMaskCharacter: | 0 | ||||||||||||||||||||||||
| 131 | return never executed: QPlatformTheme::defaultThemeHint(QPlatformTheme::PasswordMaskCharacter);return QPlatformTheme::defaultThemeHint(QPlatformTheme::PasswordMaskCharacter);never executed: return QPlatformTheme::defaultThemeHint(QPlatformTheme::PasswordMaskCharacter); | 0 | ||||||||||||||||||||||||
| 132 | case never executed: FontSmoothingGamma:case FontSmoothingGamma:never executed: case FontSmoothingGamma: | 0 | ||||||||||||||||||||||||
| 133 | return never executed: qreal(1.7);return qreal(1.7);never executed: return qreal(1.7); | 0 | ||||||||||||||||||||||||
| 134 | case never executed: StartDragVelocity:case StartDragVelocity:never executed: case StartDragVelocity: | 0 | ||||||||||||||||||||||||
| 135 | return never executed: QPlatformTheme::defaultThemeHint(QPlatformTheme::StartDragVelocity);return QPlatformTheme::defaultThemeHint(QPlatformTheme::StartDragVelocity);never executed: return QPlatformTheme::defaultThemeHint(QPlatformTheme::StartDragVelocity); | 0 | ||||||||||||||||||||||||
| 136 | case never executed: UseRtlExtensions:case UseRtlExtensions:never executed: case UseRtlExtensions: | 0 | ||||||||||||||||||||||||
| 137 | return never executed: QVariant(false);return QVariant(false);never executed: return QVariant(false); | 0 | ||||||||||||||||||||||||
| 138 | case never executed: SetFocusOnTouchRelease:case SetFocusOnTouchRelease:never executed: case SetFocusOnTouchRelease: | 0 | ||||||||||||||||||||||||
| 139 | return never executed: QVariant(false);return QVariant(false);never executed: return QVariant(false); | 0 | ||||||||||||||||||||||||
| 140 | case never executed: MousePressAndHoldInterval:case MousePressAndHoldInterval:never executed: case MousePressAndHoldInterval: | 0 | ||||||||||||||||||||||||
| 141 | return never executed: QPlatformTheme::defaultThemeHint(QPlatformTheme::MousePressAndHoldInterval);return QPlatformTheme::defaultThemeHint(QPlatformTheme::MousePressAndHoldInterval);never executed: return QPlatformTheme::defaultThemeHint(QPlatformTheme::MousePressAndHoldInterval); | 0 | ||||||||||||||||||||||||
| 142 | case never executed: TabFocusBehavior:case TabFocusBehavior:never executed: case TabFocusBehavior: | 0 | ||||||||||||||||||||||||
| 143 | return never executed: QPlatformTheme::defaultThemeHint(QPlatformTheme::TabFocusBehavior);return QPlatformTheme::defaultThemeHint(QPlatformTheme::TabFocusBehavior);never executed: return QPlatformTheme::defaultThemeHint(QPlatformTheme::TabFocusBehavior); | 0 | ||||||||||||||||||||||||
| 144 | case never executed: ReplayMousePressOutsidePopup:case ReplayMousePressOutsidePopup:never executed: case ReplayMousePressOutsidePopup: | 0 | ||||||||||||||||||||||||
| 145 | return never executed: true;return true;never executed: return true; | 0 | ||||||||||||||||||||||||
| 146 | case never executed: ItemViewActivateItemOnSingleClick:case ItemViewActivateItemOnSingleClick:never executed: case ItemViewActivateItemOnSingleClick: | 0 | ||||||||||||||||||||||||
| 147 | return never executed: QPlatformTheme::defaultThemeHint(QPlatformTheme::ItemViewActivateItemOnSingleClick);return QPlatformTheme::defaultThemeHint(QPlatformTheme::ItemViewActivateItemOnSingleClick);never executed: return QPlatformTheme::defaultThemeHint(QPlatformTheme::ItemViewActivateItemOnSingleClick); | 0 | ||||||||||||||||||||||||
| 148 | } | - | ||||||||||||||||||||||||
| 149 | - | |||||||||||||||||||||||||
| 150 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 151 | } | - | ||||||||||||||||||||||||
| 152 | - | |||||||||||||||||||||||||
| 153 | Qt::WindowState QPlatformIntegration::defaultWindowState(Qt::WindowFlags flags) const | - | ||||||||||||||||||||||||
| 154 | { | - | ||||||||||||||||||||||||
| 155 | - | |||||||||||||||||||||||||
| 156 | if (flags & Qt::Popup & ~Qt::Window
| 0 | ||||||||||||||||||||||||
| 157 | return never executed: Qt::WindowNoState;return Qt::WindowNoState;never executed: return Qt::WindowNoState; | 0 | ||||||||||||||||||||||||
| 158 | - | |||||||||||||||||||||||||
| 159 | if (styleHint(QPlatformIntegration::ShowIsFullScreen).toBool()
| 0 | ||||||||||||||||||||||||
| 160 | return never executed: Qt::WindowFullScreen;return Qt::WindowFullScreen;never executed: return Qt::WindowFullScreen; | 0 | ||||||||||||||||||||||||
| 161 | else if (styleHint(QPlatformIntegration::ShowIsMaximized).toBool()
| 0 | ||||||||||||||||||||||||
| 162 | return never executed: Qt::WindowMaximized;return Qt::WindowMaximized;never executed: return Qt::WindowMaximized; | 0 | ||||||||||||||||||||||||
| 163 | - | |||||||||||||||||||||||||
| 164 | return never executed: Qt::WindowNoState;return Qt::WindowNoState;never executed: return Qt::WindowNoState; | 0 | ||||||||||||||||||||||||
| 165 | } | - | ||||||||||||||||||||||||
| 166 | - | |||||||||||||||||||||||||
| 167 | Qt::KeyboardModifiers QPlatformIntegration::queryKeyboardModifiers() const | - | ||||||||||||||||||||||||
| 168 | { | - | ||||||||||||||||||||||||
| 169 | return never executed: QGuiApplication::keyboardModifiers();return QGuiApplication::keyboardModifiers();never executed: return QGuiApplication::keyboardModifiers(); | 0 | ||||||||||||||||||||||||
| 170 | } | - | ||||||||||||||||||||||||
| 171 | QList<int> QPlatformIntegration::possibleKeys(const QKeyEvent *) const | - | ||||||||||||||||||||||||
| 172 | { | - | ||||||||||||||||||||||||
| 173 | return never executed: QList<int>();return QList<int>();never executed: return QList<int>(); | 0 | ||||||||||||||||||||||||
| 174 | } | - | ||||||||||||||||||||||||
| 175 | void QPlatformIntegration::screenAdded(QPlatformScreen *ps, bool isPrimary) | - | ||||||||||||||||||||||||
| 176 | { | - | ||||||||||||||||||||||||
| 177 | QScreen *screen = new QScreen(ps); | - | ||||||||||||||||||||||||
| 178 | - | |||||||||||||||||||||||||
| 179 | if (isPrimary
| 0 | ||||||||||||||||||||||||
| 180 | QGuiApplicationPrivate::screen_list.prepend(screen); | - | ||||||||||||||||||||||||
| 181 | } never executed: else {end of block | 0 | ||||||||||||||||||||||||
| 182 | QGuiApplicationPrivate::screen_list.append(screen); | - | ||||||||||||||||||||||||
| 183 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 184 | (static_cast<QGuiApplication *>(QCoreApplication::instance()))->screenAdded(screen); | - | ||||||||||||||||||||||||
| 185 | - | |||||||||||||||||||||||||
| 186 | if (isPrimary
| 0 | ||||||||||||||||||||||||
| 187 | (static_cast< never executed: QGuiApplication *>(QCoreApplication::instance()))->primaryScreenChanged(screen);(static_cast<QGuiApplication *>(QCoreApplication::instance()))->primaryScreenChanged(screen);never executed: (static_cast<QGuiApplication *>(QCoreApplication::instance()))->primaryScreenChanged(screen); | 0 | ||||||||||||||||||||||||
| 188 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 189 | - | |||||||||||||||||||||||||
| 190 | - | |||||||||||||||||||||||||
| 191 | - | |||||||||||||||||||||||||
| 192 | - | |||||||||||||||||||||||||
| 193 | - | |||||||||||||||||||||||||
| 194 | - | |||||||||||||||||||||||||
| 195 | - | |||||||||||||||||||||||||
| 196 | void QPlatformIntegration::removeScreen(QScreen *screen) | - | ||||||||||||||||||||||||
| 197 | { | - | ||||||||||||||||||||||||
| 198 | const bool wasPrimary = (!QGuiApplicationPrivate::screen_list.isEmpty()
| 0 | ||||||||||||||||||||||||
| 199 | QGuiApplicationPrivate::screen_list.removeOne(screen); | - | ||||||||||||||||||||||||
| 200 | - | |||||||||||||||||||||||||
| 201 | if (wasPrimary
| 0 | ||||||||||||||||||||||||
| 202 | (static_cast< never executed: QGuiApplication *>(QCoreApplication::instance()))->primaryScreenChanged(QGuiApplicationPrivate::screen_list[0]);(static_cast<QGuiApplication *>(QCoreApplication::instance()))->primaryScreenChanged(QGuiApplicationPrivate::screen_list[0]);never executed: (static_cast<QGuiApplication *>(QCoreApplication::instance()))->primaryScreenChanged(QGuiApplicationPrivate::screen_list[0]); | 0 | ||||||||||||||||||||||||
| 203 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 204 | void QPlatformIntegration::destroyScreen(QPlatformScreen *screen) | - | ||||||||||||||||||||||||
| 205 | { | - | ||||||||||||||||||||||||
| 206 | QScreen *qScreen = screen->screen(); | - | ||||||||||||||||||||||||
| 207 | removeScreen(qScreen); | - | ||||||||||||||||||||||||
| 208 | delete qScreen; | - | ||||||||||||||||||||||||
| 209 | delete screen; | - | ||||||||||||||||||||||||
| 210 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 211 | void QPlatformIntegration::setPrimaryScreen(QPlatformScreen *newPrimary) | - | ||||||||||||||||||||||||
| 212 | { | - | ||||||||||||||||||||||||
| 213 | QScreen* newPrimaryScreen = newPrimary->screen(); | - | ||||||||||||||||||||||||
| 214 | int idx = QGuiApplicationPrivate::screen_list.indexOf(newPrimaryScreen); | - | ||||||||||||||||||||||||
| 215 | ((!(idx >= 0)) ? qt_assert("idx >= 0",__FILE__,505) : qt_noop()); | - | ||||||||||||||||||||||||
| 216 | if (idx == 0
| 0 | ||||||||||||||||||||||||
| 217 | return; never executed: return; | 0 | ||||||||||||||||||||||||
| 218 | - | |||||||||||||||||||||||||
| 219 | QGuiApplicationPrivate::screen_list.swap(0, idx); | - | ||||||||||||||||||||||||
| 220 | (static_cast<QGuiApplication *>(QCoreApplication::instance()))->primaryScreenChanged(newPrimaryScreen); | - | ||||||||||||||||||||||||
| 221 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 222 | - | |||||||||||||||||||||||||
| 223 | QStringList QPlatformIntegration::themeNames() const | - | ||||||||||||||||||||||||
| 224 | { | - | ||||||||||||||||||||||||
| 225 | return never executed: QStringList();return QStringList();never executed: return QStringList(); | 0 | ||||||||||||||||||||||||
| 226 | } | - | ||||||||||||||||||||||||
| 227 | - | |||||||||||||||||||||||||
| 228 | class QPlatformTheme *QPlatformIntegration::createPlatformTheme(const QString &name) const | - | ||||||||||||||||||||||||
| 229 | { | - | ||||||||||||||||||||||||
| 230 | (void)name; | - | ||||||||||||||||||||||||
| 231 | return never executed: new QPlatformTheme;return new QPlatformTheme;never executed: return new QPlatformTheme; | 0 | ||||||||||||||||||||||||
| 232 | } | - | ||||||||||||||||||||||||
| 233 | - | |||||||||||||||||||||||||
| 234 | - | |||||||||||||||||||||||||
| 235 | - | |||||||||||||||||||||||||
| 236 | - | |||||||||||||||||||||||||
| 237 | - | |||||||||||||||||||||||||
| 238 | - | |||||||||||||||||||||||||
| 239 | QPlatformOffscreenSurface *QPlatformIntegration::createPlatformOffscreenSurface(QOffscreenSurface *surface) const | - | ||||||||||||||||||||||||
| 240 | { | - | ||||||||||||||||||||||||
| 241 | (void)surface; | - | ||||||||||||||||||||||||
| 242 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 243 | } | - | ||||||||||||||||||||||||
| 244 | QPlatformSessionManager *QPlatformIntegration::createPlatformSessionManager(const QString &id, const QString &key) const | - | ||||||||||||||||||||||||
| 245 | { | - | ||||||||||||||||||||||||
| 246 | return never executed: new QPlatformSessionManager(id, key);return new QPlatformSessionManager(id, key);never executed: return new QPlatformSessionManager(id, key); | 0 | ||||||||||||||||||||||||
| 247 | } | - | ||||||||||||||||||||||||
| 248 | void QPlatformIntegration::sync() | - | ||||||||||||||||||||||||
| 249 | { | - | ||||||||||||||||||||||||
| 250 | } | - | ||||||||||||||||||||||||
| 251 | QOpenGLContext::OpenGLModuleType QPlatformIntegration::openGLModuleType() | - | ||||||||||||||||||||||||
| 252 | { | - | ||||||||||||||||||||||||
| 253 | QMessageLogger(__FILE__, 582, __PRETTY_FUNCTION__).warning("This plugin does not support dynamic OpenGL loading!"); | - | ||||||||||||||||||||||||
| 254 | return never executed: QOpenGLContext::LibGL;return QOpenGLContext::LibGL;never executed: return QOpenGLContext::LibGL; | 0 | ||||||||||||||||||||||||
| 255 | } | - | ||||||||||||||||||||||||
| 256 | void QPlatformIntegration::setApplicationIcon(const QIcon &icon) const | - | ||||||||||||||||||||||||
| 257 | { | - | ||||||||||||||||||||||||
| 258 | (void)icon;; | - | ||||||||||||||||||||||||
| 259 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 260 | - | |||||||||||||||||||||||||
| 261 | - | |||||||||||||||||||||||||
| Switch to Source code | Preprocessed file |