src/gui/text/qtextoption.h
changeset 33 3e2da88830cd
parent 18 2f34d5167611
--- a/src/gui/text/qtextoption.h	Tue Jul 06 15:10:48 2010 +0300
+++ b/src/gui/text/qtextoption.h	Wed Aug 18 10:37:55 2010 +0300
@@ -68,6 +68,8 @@
 
     struct Q_GUI_EXPORT Tab {
         inline Tab() : position(80), type(QTextOption::LeftTab) { }
+        inline Tab(qreal pos, TabType tabType, QChar delim = QChar())
+            : position(pos), type(tabType), delimiter(delim) {}
 
         inline bool operator==(const Tab &other) const {
             return type == other.type
@@ -134,8 +136,8 @@
     uint align : 8;
     uint wordWrap : 4;
     uint design : 1;
-    uint direction : 1;
-    uint unused : 19;
+    uint direction : 2;
+    uint unused : 18;
     uint f;
     qreal tab;
     QTextOptionPrivate *d;