[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-18 12:31:26
Message-ID: 1187440286.701164.9767.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 701474 by henrique:

 * Pass parameters by reference, as suggested by Krazy


 M  +1 -1      draglabel.cc  
 M  +1 -1      draglabel.h  
 M  +2 -2      fileinfodialog.cc  


--- trunk/KDE/kdeutils/khexedit/draglabel.cc #701473:701474
@@ -93,7 +93,7 @@
 }
 
 
-void CDragLabel::setDragMask( const QPixmap pix )
+void CDragLabel::setDragMask( const QPixmap &pix )
 {
   mDragMask = pix;
 }
--- trunk/KDE/kdeutils/khexedit/draglabel.h #701473:701474
@@ -40,7 +40,7 @@
     ~CDragLabel( void );
 
     void setUrl( const QString &url );
-    void setDragMask( const QPixmap pix );
+    void setDragMask( const QPixmap &pix );
 
   protected:
     void mousePressEvent( QMouseEvent * );
--- trunk/KDE/kdeutils/khexedit/fileinfodialog.cc #701473:701474
@@ -35,8 +35,8 @@
 {
   public:
     CStatisticListViewItem( Q3ListView * parent, Q3ListViewItem * after,
-                            QString label1, QString label2, QString label3, QString \
                label4,
-                            QString label5, QString label6, QString label7, int i, \
int o) +                            const QString &label1, const QString &label2, \
const QString &label3, const QString &label4, +                            const \
                QString &label5, const QString &label6, const QString &label7, int i, \
                int o)
     : Q3ListViewItem( parent, after, label1, label2, label3, label4, label5, label6, \
label7),  item( i ),
       occurrence( o )


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

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