Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

QInputContext * QApplication::inputContext (  )  const

Returns the QInputContext instance used by the application.

See also:

Definition at line 4306 of file qapplication.cpp.

References inputContext().

Referenced by inputContext().

    Q_D(const QApplication);
    Q_UNUSED(d);// only static members being used.
#ifdef Q_WS_X11
    if (!X11)
        return 0;
    if (!d->inputContext) {
        QApplication *that = const_cast<QApplication *>(this);
        that->d_func()->inputContext = QInputContextFactory::create(X11->default_im, that);
    return d->inputContext;

Generated by  Doxygen 1.6.0   Back to index