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

void setInputContext ( QInputContext inputContext  ) 

QApplication::NormalColors

Use NormalColor instead.

QApplication::CustomColors

Use CustomColor instead.

qApp

A global pointer referring to the unique application object. It is equivalent to the pointer returned by the QCoreApplication::instance() function except that, in GUI applications, it is a pointer to a QApplication instance.

Only one application object can be created.

See also:
QCoreApplication::instance()
This function replaces the QInputContext instance used by the application with inputContext.

See also:
inputContext()

Definition at line 4288 of file qapplication.cpp.

{
    Q_D(QApplication);
    Q_UNUSED(d);// only static members being used.
    if (!inputContext) {
        qWarning("QApplication::setInputContext: called with 0 input context");
        return;
    }
    if (d->inputContext)
        delete d->inputContext;
    d->inputContext = inputContext;
}


Generated by  Doxygen 1.6.0   Back to index