summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qtextoption.h
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2012-04-10 14:30:52 +0200
committerQt by Nokia <qt-info@nokia.com>2012-04-11 01:42:12 +0200
commit97f9c6f8cdc0dd0f676c6ccfeb1cd6096e72fd48 (patch)
treef71ac466fc39dabdf4ebb69982debef0e8703f3a /src/gui/text/qtextoption.h
parent784076fccbc7f5644259bff274db371747fecee2 (diff)
Minor clean up in QTextOption API
Source compatible, but binary incompatible, change to QTextOption API to make it consistent with Qt's coding style. Change-Id: I368f13925339fa41025a570f684f4b944844a022 Reviewed-by: Jiang Jiang <jiang.jiang@nokia.com>
Diffstat (limited to 'src/gui/text/qtextoption.h')
-rw-r--r--src/gui/text/qtextoption.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/text/qtextoption.h b/src/gui/text/qtextoption.h
index a0a4c76282..f2a9f52a26 100644
--- a/src/gui/text/qtextoption.h
+++ b/src/gui/text/qtextoption.h
@@ -122,10 +122,10 @@ public:
inline void setTabStop(qreal tabStop);
inline qreal tabStop() const { return tab; }
- void setTabArray(QList<qreal> tabStops);
+ void setTabArray(const QList<qreal> &tabStops);
QList<qreal> tabArray() const;
- void setTabs(QList<Tab> tabStops);
+ void setTabs(const QList<Tab> &tabStops);
QList<Tab> tabs() const;
void setUseDesignMetrics(bool b) { design = b; }