72 for (
int i =
keys.
size()-1; i >= 0; --i)
93 for (
int i = 0; i <
keys.
size(); ++i) {
125 #if defined(Q_WS_X11) QBool contains(QChar c, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
void update()
This virtual function is called when a state in the focus widget has changed.
static QInputContext * create(const QString &key, QObject *parent)
QVariant value(const QString &key, const QVariant &defaultValue=QVariant()) const
Returns the value for setting key.
#define QT_END_NAMESPACE
This macro expands to.
void setSeparator(bool b)
If b is true then this action will be considered a separator.
void setFocusWidget(QWidget *w)
Sets the widget that has an input focus for this input context.
The QSettings class provides persistent platform-independent application settings.
static QString displayName(const QString &key)
Returns a user friendly internationalized name of the QInputContext object specified by key...
void beginGroup(const QString &prefix)
Appends prefix to the current group.
QString toString() const
Returns the variant as a QString if the variant has type() String , Bool , ByteArray ...
virtual bool isComposing() const =0
This function indicates whether InputMethodStart event had been sent to the current focus widget...
static QString tr(const char *sourceText, const char *comment=0, int n=-1)
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
long ASN1_INTEGER_get ASN1_INTEGER * a
QString identifierName()
This function must be implemented in any subclasses to return the identifier name of the input method...
QWidget * focusWidget() const
Returns the widget that has an input focus for this input context.
The QString class provides a Unicode character string.
virtual bool event(QEvent *)
This virtual function receives events to an object and should return true if the event e was recogniz...
virtual QList< QAction * > actions()
This is a preliminary interface for Qt 4.
The QActionGroup class groups actions together.
void setData(const QVariant &var)
Sets the action's internal data to the given userData.
void widgetDestroyed(QWidget *w)
This virtual function is called when the specified widget is destroyed.
QFont font() const
Returns the font of the current input widget.
void append(const T &t)
Inserts value at the end of the list.
QList< QAction * > actions()
This is a preliminary interface for Qt 4.
int indexOf(const QRegExp &rx, int from=0) const
Returns the index position of the first exact match of rx in the list, searching forward from index p...
#define QT_BEGIN_NAMESPACE
This macro expands to.
virtual void widgetDestroyed(QWidget *w)
This virtual function is called when the specified widget is destroyed.
virtual void update()
This virtual function is called when a state in the focus widget has changed.
static bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
Creates a connection of the given type from the signal in the sender object to the method in the rece...
bool isEmpty() const
Returns true if the string has no characters; otherwise returns false.
QString language()
This function must be implemented in any subclasses to return a language code (e. ...
QAction * addAction(QAction *a)
Adds the action to this group, and returns it.
const T & at(int i) const
Returns the item at index position i in the list.
QList< QInputContext * > slaves
void mouseHandler(int x, QMouseEvent *event)
This function can be reimplemented in a subclass to handle mouse press, release, double-click, and move events within the preedit text.
virtual void mouseHandler(int x, QMouseEvent *event)
This function can be reimplemented in a subclass to handle mouse press, release, double-click, and move events within the preedit text.
static QStringList keys()
Returns the list of keys this factory can create input contexts for.
virtual QString identifierName()=0
This function must be implemented in any subclasses to return the identifier name of the input method...
void replace(int i, const T &t)
Replaces the item at index position i with value.
virtual QFont font() const
Returns the font of the current input widget.
The QMouseEvent class contains parameters that describe a mouse event.
virtual QString language()=0
This function must be implemented in any subclasses to return a language code (e. ...
bool filterEvent(const QEvent *event)
This function can be reimplemented in a subclass to filter input events.
The QFont class specifies a font used for drawing text.
QVariant data() const
Returns the user data as set in QAction::setData.
int size() const
Returns the number of items in the list.
virtual void reset()=0
This function can be reimplemented in a subclass to reset the state of the input method.
bool isComposing() const
This function indicates whether InputMethodStart event had been sent to the current focus widget...
virtual bool x11FilterEvent(QWidget *keywidget, XEvent *event)
This function may be overridden only if input method is depending on X11 and you need raw XEvent...
The QInputContext class abstracts the input method dependent data and composing state.
void reset()
This function can be reimplemented in a subclass to reset the state of the input method.
virtual void setFocusWidget(QWidget *w)
Sets the widget that has an input focus for this input context.
The QEvent class is the base class of all event classes.
QWidget * focusWidget() const
void changeSlave(QAction *)
bool x11FilterEvent(QWidget *keywidget, XEvent *event)
This function may be overridden only if input method is depending on X11 and you need raw XEvent...
The QAction class provides an abstract user interface action that can be inserted into widgets...
virtual bool filterEvent(const QEvent *event)
This function can be reimplemented in a subclass to filter input events.
The QList class is a template class that provides lists.
void removeAt(int i)
Removes the item at index position i.