[Kita-svn] [2359] add `explicit'

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 7月 5日 (日) 11:30:13 JST


Revision: 2359
          http://sourceforge.jp/projects/kita/svn/view?view=rev&revision=2359
Author:   nogu
Date:     2009-07-05 11:30:13 +0900 (Sun, 05 Jul 2009)

Log Message:
-----------
add `explicit'

Modified Paths:
--------------
    kita/branches/KITA-KDE4/kita/src/bbstabwidget.h
    kita/branches/KITA-KDE4/kita/src/bbsview.h
    kita/branches/KITA-KDE4/kita/src/boardtabwidget.h
    kita/branches/KITA-KDE4/kita/src/kitaui/listviewitem.h
    kita/branches/KITA-KDE4/kita/src/kitaui/tabwidgetbase.h
    kita/branches/KITA-KDE4/kita/src/threadtabwidget.h
    kita/branches/KITA-KDE4/kita/src/writetabwidget.h

Modified: kita/branches/KITA-KDE4/kita/src/bbstabwidget.h
===================================================================
--- kita/branches/KITA-KDE4/kita/src/bbstabwidget.h	2009-07-05 02:07:04 UTC (rev 2358)
+++ kita/branches/KITA-KDE4/kita/src/bbstabwidget.h	2009-07-05 02:30:13 UTC (rev 2359)
@@ -23,7 +23,7 @@
     Q_OBJECT
 
 public:
-    KitaBBSTabWidget( QWidget* parent, Qt::WFlags fl = 0 );
+    explicit KitaBBSTabWidget( QWidget* parent, Qt::WFlags fl = 0 );
     ~KitaBBSTabWidget();
 
 public slots:

Modified: kita/branches/KITA-KDE4/kita/src/bbsview.h
===================================================================
--- kita/branches/KITA-KDE4/kita/src/bbsview.h	2009-07-05 02:07:04 UTC (rev 2358)
+++ kita/branches/KITA-KDE4/kita/src/bbsview.h	2009-07-05 02:30:13 UTC (rev 2359)
@@ -67,7 +67,7 @@
     void slotMenuOpenWithBrowser();
 
 public:
-    KitaBBSView( QWidget *parent, const char *name = 0 );
+    explicit KitaBBSView( QWidget *parent, const char *name = 0 );
     ~KitaBBSView();
 
     void loadOpened();

Modified: kita/branches/KITA-KDE4/kita/src/boardtabwidget.h
===================================================================
--- kita/branches/KITA-KDE4/kita/src/boardtabwidget.h	2009-07-05 02:07:04 UTC (rev 2358)
+++ kita/branches/KITA-KDE4/kita/src/boardtabwidget.h	2009-07-05 02:30:13 UTC (rev 2359)
@@ -24,7 +24,7 @@
     Q_OBJECT
 
 public:
-    KitaBoardTabWidget( QWidget* parent = 0, Qt::WFlags f = 0 );
+    explicit KitaBoardTabWidget( QWidget* parent = 0, Qt::WFlags f = 0 );
     ~KitaBoardTabWidget();
 
     void updateBoardView( const KUrl& datURL );

Modified: kita/branches/KITA-KDE4/kita/src/kitaui/listviewitem.h
===================================================================
--- kita/branches/KITA-KDE4/kita/src/kitaui/listviewitem.h	2009-07-05 02:07:04 UTC (rev 2358)
+++ kita/branches/KITA-KDE4/kita/src/kitaui/listviewitem.h	2009-07-05 02:30:13 UTC (rev 2359)
@@ -34,9 +34,9 @@
                       QString = QString::null, QString = QString::null,
                       QString = QString::null, QString = QString::null );
 
-        ListViewItem( Q3ListView* parent, QString = QString::null, QString = QString::null );
+        explicit ListViewItem( Q3ListView* parent, QString = QString::null, QString = QString::null );
 
-        ListViewItem( Q3ListViewItem* parent, QString = QString::null, QString = QString::null );
+        explicit ListViewItem( Q3ListViewItem* parent, QString = QString::null, QString = QString::null );
 
         ~ListViewItem();
 

Modified: kita/branches/KITA-KDE4/kita/src/kitaui/tabwidgetbase.h
===================================================================
--- kita/branches/KITA-KDE4/kita/src/kitaui/tabwidgetbase.h	2009-07-05 02:07:04 UTC (rev 2358)
+++ kita/branches/KITA-KDE4/kita/src/kitaui/tabwidgetbase.h	2009-07-05 02:30:13 UTC (rev 2359)
@@ -54,7 +54,7 @@
 
 
 public:
-    KitaTabWidgetBase( QWidget* parent = 0, Qt::WFlags f = 0 );
+    explicit KitaTabWidgetBase( QWidget* parent = 0, Qt::WFlags f = 0 );
     virtual ~KitaTabWidgetBase();
 
 public slots:

Modified: kita/branches/KITA-KDE4/kita/src/threadtabwidget.h
===================================================================
--- kita/branches/KITA-KDE4/kita/src/threadtabwidget.h	2009-07-05 02:07:04 UTC (rev 2358)
+++ kita/branches/KITA-KDE4/kita/src/threadtabwidget.h	2009-07-05 02:30:13 UTC (rev 2359)
@@ -23,7 +23,7 @@
     Q_OBJECT
 
 public:
-    KitaThreadTabWidget( QWidget* parent = 0, Qt::WFlags f = 0 );
+    explicit KitaThreadTabWidget( QWidget* parent = 0, Qt::WFlags f = 0 );
     ~KitaThreadTabWidget();
 
 public slots:

Modified: kita/branches/KITA-KDE4/kita/src/writetabwidget.h
===================================================================
--- kita/branches/KITA-KDE4/kita/src/writetabwidget.h	2009-07-05 02:07:04 UTC (rev 2358)
+++ kita/branches/KITA-KDE4/kita/src/writetabwidget.h	2009-07-05 02:30:13 UTC (rev 2359)
@@ -23,7 +23,7 @@
     Q_OBJECT
 
 public:
-    KitaWriteTabWidget( QWidget* parent = 0, Qt::WFlags f = 0 );
+    explicit KitaWriteTabWidget( QWidget* parent = 0, Qt::WFlags f = 0 );
     ~KitaWriteTabWidget();
     void slotShowWriteView( const KUrl& url, const QString& resStr );
 




Kita-svn メーリングリストの案内
Back to archive index