Revision: 6198
Author: nogu.dev
Date: Sun Feb 28 14:58:56 2010
Log: * qt4/immodule/candidatewindow.h
* qt4/immodule/qhelpermanager.h
* qt4/immodule/qtextutil.h
* qt4/immodule/quiminputcontext.h
* qt4/immodule/quiminputcontext_with_slave.h
* qt4/immodule/subwindow.h
  - Use "explicit" for constructors.
http://code.google.com/p/uim/source/detail?r=6198

Modified:
 /trunk/qt4/immodule/candidatewindow.h
 /trunk/qt4/immodule/qhelpermanager.h
 /trunk/qt4/immodule/qtextutil.h
 /trunk/qt4/immodule/quiminputcontext.h
 /trunk/qt4/immodule/quiminputcontext_with_slave.h
 /trunk/qt4/immodule/subwindow.h

=======================================
--- /trunk/qt4/immodule/candidatewindow.h       Sun Feb 28 14:58:04 2010
+++ /trunk/qt4/immodule/candidatewindow.h       Sun Feb 28 14:58:56 2010
@@ -50,7 +50,7 @@
     Q_OBJECT

 public:
-    CandidateWindow( QWidget *parent );
+    explicit CandidateWindow( QWidget *parent );
     ~CandidateWindow();

     void activateCandwin( int dLimit );
@@ -109,7 +109,8 @@
     Q_OBJECT

 public:
-    CandidateListView( QWidget *parent = 0 ) : QTableWidget( parent ) {}
+    explicit CandidateListView( QWidget *parent = 0 )
+        : QTableWidget( parent ) {}
     ~CandidateListView() {}

     QSize sizeHint() const;
=======================================
--- /trunk/qt4/immodule/qhelpermanager.h        Tue Jan 20 18:11:15 2009
+++ /trunk/qt4/immodule/qhelpermanager.h        Sun Feb 28 14:58:56 2010
@@ -43,7 +43,7 @@
     Q_OBJECT

 public:
-    QUimHelperManager( QObject * parent = 0 );
+    explicit QUimHelperManager( QObject * parent = 0 );
     ~QUimHelperManager();

     void checkHelperConnection();
=======================================
--- /trunk/qt4/immodule/qtextutil.h     Sun Feb 28 14:55:40 2010
+++ /trunk/qt4/immodule/qtextutil.h     Sun Feb 28 14:58:56 2010
@@ -45,7 +45,7 @@
     Q_OBJECT

 public:
-    QUimTextUtil( QObject *parent = 0 );
+    explicit QUimTextUtil( QObject *parent = 0 );
     ~QUimTextUtil();

     static int acquire_text_cb( void *ptr, enum UTextArea text_id,
=======================================
--- /trunk/qt4/immodule/quiminputcontext.h      Tue Jan 20 18:11:15 2009
+++ /trunk/qt4/immodule/quiminputcontext.h      Sun Feb 28 14:58:56 2010
@@ -72,7 +72,7 @@
 {
     Q_OBJECT
 public:
-    QUimInputContext( const char *imname = 0, const char *lang = 0 );
+ explicit QUimInputContext( const char *imname = 0, const char *lang = 0 );
     ~QUimInputContext();

     virtual QString identifierName();
=======================================
--- /trunk/qt4/immodule/quiminputcontext_with_slave.h Tue Jan 20 18:11:15 2009 +++ /trunk/qt4/immodule/quiminputcontext_with_slave.h Sun Feb 28 14:58:56 2010
@@ -45,7 +45,8 @@
 {
     Q_OBJECT
 public:
- QUimInputContextWithSlave( const char *imname = 0, const char *lang = 0 );
+    explicit QUimInputContextWithSlave(const char *imname = 0,
+        const char *lang = 0 );
     ~QUimInputContextWithSlave();

     virtual void setFocus();
=======================================
--- /trunk/qt4/immodule/subwindow.h     Sun Feb 28 14:57:29 2010
+++ /trunk/qt4/immodule/subwindow.h     Sun Feb 28 14:58:56 2010
@@ -44,7 +44,7 @@
     Q_OBJECT

 public:
-    SubWindow( QWidget *parent = 0 );
+    explicit SubWindow( QWidget *parent = 0 );
     ~SubWindow();

     void layoutWindow( int x, int y );

Reply via email to