summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qlineedit.h
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@nokia.com>2009-11-19 08:58:03 (GMT)
committerPaul Olav Tvete <paul.tvete@nokia.com>2009-11-19 08:58:03 (GMT)
commit879e2ea7d15510ec5f94d6d7a005b157b115f69f (patch)
tree73aedd0bffe7ab39387229a9417aa50cecbbf0aa /src/gui/widgets/qlineedit.h
parent8fc2eec5b3282665f76f1e0313a03608bf4e7bc1 (diff)
parent80cd617b05ad3e647c87dc063d40cde0617344ca (diff)
downloadQt-879e2ea7d15510ec5f94d6d7a005b157b115f69f.zip
Qt-879e2ea7d15510ec5f94d6d7a005b157b115f69f.tar.gz
Qt-879e2ea7d15510ec5f94d6d7a005b157b115f69f.tar.bz2
Merge remote branch 'origin/4.6' into lighthouse
Conflicts: configure src/plugins/graphicssystems/graphicssystems.pro
Diffstat (limited to 'src/gui/widgets/qlineedit.h')
-rw-r--r--src/gui/widgets/qlineedit.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/qlineedit.h b/src/gui/widgets/qlineedit.h
index 214509a..ac918c7 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 &);