diff options
author | Marius Storm-Olsen <marius.storm-olsen@nokia.com> | 2009-11-09 12:38:17 +0100 |
---|---|---|
committer | Marius Storm-Olsen <marius.storm-olsen@nokia.com> | 2009-11-09 12:38:17 +0100 |
commit | e9a06e6f9765c9632103c86fe190e8154ce4a9f8 (patch) | |
tree | cc9fc9c931423674081b6ab843d22bc643a5df64 /src/gui/widgets/qlineedit.h | |
parent | 00aeefeeaff4d8c3e25c6f388c5e51c239541f87 (diff) | |
parent | a2a3adf7de2ffc9784fea177a43f3124862a992a (diff) | |
download | qt4-tools-e9a06e6f9765c9632103c86fe190e8154ce4a9f8.tar.gz |
Merge branch '4.6-api-review' into 4.6
Diffstat (limited to 'src/gui/widgets/qlineedit.h')
-rw-r--r-- | src/gui/widgets/qlineedit.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/qlineedit.h b/src/gui/widgets/qlineedit.h index 214509a505..ac918c716e 100644 --- a/src/gui/widgets/qlineedit.h +++ b/src/gui/widgets/qlineedit.h @@ -44,6 +44,7 @@ #include <QtGui/qframe.h> #include <QtCore/qstring.h> +#include <QtCore/qmargins.h> QT_BEGIN_HEADER @@ -158,7 +159,9 @@ public: bool hasAcceptableInput() const; void setTextMargins(int left, int top, int right, int bottom); + void setTextMargins(const QMargins &margins); void getTextMargins(int *left, int *top, int *right, int *bottom) const; + QMargins textMargins() const; public Q_SLOTS: void setText(const QString &); |