[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/libs/kotext/styles
From:       Sebastian Sauer <mail () dipe ! org>
Date:       2010-08-10 2:53:10
Message-ID: 20100810025310.D31E8AC7E8 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1161329 by sebsauer:

dox++ and const++ (falls under the 'trivial changes' category and doesn't change \
logic or so therefore no review needed)

 M  +1 -1      KoListStyle.cpp  
 M  +3 -2      KoListStyle.h  


--- trunk/koffice/libs/kotext/styles/KoListStyle.cpp #1161328:1161329
@@ -132,7 +132,7 @@
     return llp;
 }
 
-QTextListFormat KoListStyle::listFormat(int level)
+QTextListFormat KoListStyle::listFormat(int level) const
 {
     KoListLevelProperties llp = levelProperties(level);
     QTextListFormat format;
--- trunk/koffice/libs/kotext/styles/KoListStyle.h #1161328:1161329
@@ -107,7 +107,7 @@
         Thai,       ///< Thai characters for normal 10-base counting
         Abjad,      ///< Abjad sequence.
         AbjadMinor, ///< A lesser known version of the Abjad sequence.
-        ArabicAlphabet,
+        ArabicAlphabet, ///< Arabic alphabet.
         /// an image for the bullet
         ImageItem
 
@@ -190,7 +190,8 @@
      */
     void removeLevelProperties(int level);
 
-    QTextListFormat listFormat(int level);
+    /// return a QTextListFormat that contains formatting information for the level.
+    QTextListFormat listFormat(int level) const;
 
     /// return the configured list levels that hasLevelProperties would return true \
to.  QList<int> listLevels() const;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic