Revision: 6428
Author: nogu.dev
Date: Tue Jun  8 03:16:28 2010
Log: * qt4/immodule/quiminputcontext.h
  - Cosmetic changes.
  - (PreeditSegment): Define as struct because all members are public.
  - (PreeditSegment::PreeditSegment): Use "this" keyword.
http://code.google.com/p/uim/source/detail?r=6428

Modified:
 /trunk/qt4/immodule/quiminputcontext.h

=======================================
--- /trunk/qt4/immodule/quiminputcontext.h      Sat Jun  5 16:15:18 2010
+++ /trunk/qt4/immodule/quiminputcontext.h      Tue Jun  8 03:16:28 2010
@@ -55,13 +55,12 @@
 class Compose;
 #endif

-class PreeditSegment
-{
-public:
-    PreeditSegment( int p_attr, const QString &p_str )
-    {
-        attr = p_attr;
-        str = p_str;
+struct PreeditSegment
+{
+    PreeditSegment( int attr, const QString &str )
+    {
+        this->attr = attr;
+        this->str = str;
     }

     int attr;

Reply via email to