summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qwidget.h
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-04-20 14:06:27 (GMT)
committeraxis <qt-info@nokia.com>2009-05-04 13:24:40 (GMT)
commitce4faedea2b652c1d7fc5430bbd906972a3c93bf (patch)
tree9259c7222ef5601f2c6145f13b2df133a7593ebb /src/gui/kernel/qwidget.h
parent82840fcce074658bd39ad6425fd50022b9250dcf (diff)
downloadQt-ce4faedea2b652c1d7fc5430bbd906972a3c93bf.zip
Qt-ce4faedea2b652c1d7fc5430bbd906972a3c93bf.tar.gz
Qt-ce4faedea2b652c1d7fc5430bbd906972a3c93bf.tar.bz2
Added inputMethodHints API.
RevBy: denis
Diffstat (limited to 'src/gui/kernel/qwidget.h')
-rw-r--r--src/gui/kernel/qwidget.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/kernel/qwidget.h b/src/gui/kernel/qwidget.h
index 8ecf758..b92794f 100644
--- a/src/gui/kernel/qwidget.h
+++ b/src/gui/kernel/qwidget.h
@@ -212,6 +212,7 @@ class Q_GUI_EXPORT QWidget : public QObject, public QPaintDevice
#endif
Q_PROPERTY(QLocale locale READ locale WRITE setLocale RESET unsetLocale)
Q_PROPERTY(QString windowFilePath READ windowFilePath WRITE setWindowFilePath DESIGNABLE isWindow)
+ Q_PROPERTY(Qt::InputMethodHints inputMethodHints READ inputMethodHints WRITE setInputMethodHints)
public:
enum RenderFlag {
@@ -673,6 +674,10 @@ protected:
virtual void inputMethodEvent(QInputMethodEvent *);
public:
virtual QVariant inputMethodQuery(Qt::InputMethodQuery) const;
+
+ Qt::InputMethodHints inputMethodHints() const;
+ void setInputMethodHints(Qt::InputMethodHints hints);
+
protected:
void resetInputContext();
protected Q_SLOTS: