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

List:       kde-commits
Subject:    KDE/kdeutils/khexedit
From:       Henrique Pinto <tawhaki () gmail ! com>
Date:       2007-08-12 3:32:25
Message-ID: 1186889545.328367.5493.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 699143 by henrique:

 * Mark constructors as explicit


 M  +1 -1      bitswapwidget.h  
 M  +1 -1      chartabledialog.h  
 M  +1 -1      exportdialog.h  
 M  +1 -1      fileinfodialog.h  
 M  +3 -3      hexdrag.h  
 M  +4 -4      hexmanagerwidget.h  
 M  +1 -1      hextoolwidget.h  
 M  +1 -1      listview.h  
 M  +2 -2      optiondialog.h  
 M  +2 -2      statusbarprogress.h  


--- trunk/KDE/kdeutils/khexedit/bitswapwidget.h #699142:699143
@@ -34,7 +34,7 @@
   Q_OBJECT
 
   public:
-    CDigitLabel( QWidget *parent, uint digit = 0 );
+    explicit CDigitLabel( QWidget *parent, uint digit = 0 );
     ~CDigitLabel( void );
 
     virtual QSize sizeHint() const;
--- trunk/KDE/kdeutils/khexedit/chartabledialog.h #699142:699143
@@ -38,7 +38,7 @@
   Q_OBJECT
   
   public:
-    CCharTableDialog( QWidget *parent=0, const char *name=0,bool modal=false );
+    explicit CCharTableDialog( QWidget *parent=0, const char *name=0,bool modal=false );
     ~CCharTableDialog( void );
 
   signals:
--- trunk/KDE/kdeutils/khexedit/exportdialog.h #699142:699143
@@ -52,7 +52,7 @@
       option_max
     };
 
-    CExportDialog( QWidget *parent = 0, char *name = 0, bool modal = false );
+    explicit CExportDialog( QWidget *parent = 0, char *name = 0, bool modal = false );
     ~CExportDialog( void );
     void writeConfiguration( void );
 
--- trunk/KDE/kdeutils/khexedit/fileinfodialog.h #699142:699143
@@ -40,7 +40,7 @@
   Q_OBJECT
   
   public:
-    CFileInfoDialog( QWidget *parent=0, const char *name=0,bool modal=false );
+    explicit CFileInfoDialog( QWidget *parent=0, const char *name=0,bool modal=false );
     ~CFileInfoDialog( void );
 
     void setStatistics( void );
--- trunk/KDE/kdeutils/khexedit/hexdrag.h #699142:699143
@@ -30,9 +30,9 @@
   Q_OBJECT
 
   public:
-    CHexDrag( const QByteArray &data, QWidget *dragSource = 0, 
-	      const char *name = 0 );
-    CHexDrag( QWidget *dragSource = 0, const char *name = 0 );
+    explicit CHexDrag( const QByteArray &data, QWidget *dragSource = 0, 
+                       const char *name = 0 );
+    explicit CHexDrag( QWidget *dragSource = 0, const char *name = 0 );
 
     void setData( const QByteArray &data );
     const char* format ( int i ) const; 
--- trunk/KDE/kdeutils/khexedit/hexmanagerwidget.h #699142:699143
@@ -113,10 +113,10 @@
     };
 
   public:
-    CHexManagerWidget( QWidget *parent = 0,
-		       EConversionPosition state = Embed,
-		       EPosition tabBarPosition = HideItem,
-		       EPosition searchBarPosition = HideItem );
+    explicit CHexManagerWidget( QWidget *parent = 0,
+                                EConversionPosition state = Embed,
+                                EPosition tabBarPosition = HideItem,
+                                EPosition searchBarPosition = HideItem );
     ~CHexManagerWidget( void );
 
     inline bool isValid( void );
--- trunk/KDE/kdeutils/khexedit/hextoolwidget.h #699142:699143
@@ -40,7 +40,7 @@
   Q_OBJECT
 
   public:
-    CHexToolWidget( QWidget *parent = 0, const char *name = 0 );
+    explicit CHexToolWidget( QWidget *parent = 0, const char *name = 0 );
     ~CHexToolWidget( void );
 
     void writeConfiguration( KConfig &config );
--- trunk/KDE/kdeutils/khexedit/listview.h #699142:699143
@@ -28,7 +28,7 @@
   Q_OBJECT
 
   public:
-    CListView( QWidget *parent=0, int visibleItem=10 );
+    explicit CListView( QWidget *parent=0, int visibleItem=10 );
     
     void setVisibleItem( int visibleItem, bool updateSize=true );
     virtual QSize sizeHint( void ) const; 
--- trunk/KDE/kdeutils/khexedit/optiondialog.h #699142:699143
@@ -51,7 +51,7 @@
   Q_OBJECT
 
   public:
-    CColorListBox( QWidget *parent=0, Qt::WFlags f=0 );
+    explicit CColorListBox( QWidget *parent=0, Qt::WFlags f=0 );
     void setColor( uint index, const QColor &color );
     const QColor color( uint index );
 
@@ -78,7 +78,7 @@
 class CColorListItem : public Q3ListBoxItem
 {
   public:
-    CColorListItem( const QString &text, const QColor &color=Qt::black );
+    explicit CColorListItem( const QString &text, const QColor &color=Qt::black );
     const QColor &color( void );
     void  setColor( const QColor &color );
   
--- trunk/KDE/kdeutils/khexedit/statusbarprogress.h #699142:699143
@@ -49,12 +49,12 @@
   /** 
   * Construct a default progress bar. Orientation is horizontal. 
   */
-  CStatusBarProgress(QWidget *parent=0, const char *name=0);
+  explicit CStatusBarProgress(QWidget *parent=0, const char *name=0);
 
   /** 
   * Construct a KProgress bar with an orientation. 
   */
-  CStatusBarProgress(Orientation, QWidget *parent=0, const char *name=0);
+  explicit CStatusBarProgress(Orientation, QWidget *parent=0, const char *name=0);
 
   /** 
   * Construct a KProgress bar with minimum, maximum and initial value. 
[prev in list] [next in list] [prev in thread] [next in thread] 

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