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

List:       kde-commits
Subject:    kdeextragear-1/datakiosk/src
From:       Adam Treat <manyoso () yahoo ! com>
Date:       2005-05-01 15:18:03
Message-ID: 20050501151803.4CEE0666 () office ! kde ! org
[Download RAW message or body]

CVS commit by treat: 

* Change == QString::null to isEmpty()


  M +1 -1      datafield.cpp   1.12
  M +1 -1      datareport.cpp   1.15
  M +3 -3      datatable.cpp   1.35
  M +2 -2      datatableeditorfactory.cpp   1.33
  M +1 -1      datatablesearch.cpp   1.9
  M +1 -1      relationeditordialogimpl.cpp   1.13


--- kdeextragear-1/datakiosk/src/datafield.cpp  #1.11:1.12
@@ -405,5 +405,5 @@ static QStringList listFromRx( const QSt
 QVariant DataField::calculateField( DataRecordList currentRecords )
 {
-    if ( !m_calculated || m_equation == QString::null || !currentRecords.count() )
+    if ( !m_calculated || m_equation.isEmpty() || !currentRecords.count() )
         return QVariant();
 

--- kdeextragear-1/datakiosk/src/datareport.cpp  #1.14:1.15
@@ -108,5 +108,5 @@ void DataReport::initialize()
 QStringList DataReport::readTemplateFields() const
 {
-    if ( m_templateURL == QString::null )
+    if ( m_templateURL.isEmpty() )
         return QStringList();
 

--- kdeextragear-1/datakiosk/src/datatable.cpp  #1.34:1.35
@@ -106,9 +106,9 @@ bool DataTable::initialize()
     m_tableEdit->setSqlCursor( m_tableView->sqlCursor() );
 
-    initializeFields( parentName() == QString::null );
+    initializeFields( parentName().isEmpty() );
 
     m_updatesAllowed = TRUE;
 
-    if ( parentName() == QString::null )
+    if ( parentName().isEmpty() )
         slotSelectFirstRow();
     else
@@ -553,5 +553,5 @@ void DataTable::slotDetailFromMaster( QS
 void DataTable::slotFilterToBuffer( QSqlRecord * record )
 {
-    if ( parentName() == QString::null )
+    if ( parentName().isEmpty() )
         return;
 

--- kdeextragear-1/datakiosk/src/datatableeditorfactory.cpp  #1.32:1.33
@@ -519,5 +519,5 @@ void RelationCombo::initializeFields( bo
         {
             if ( ( *it ) ->hidden() &&
-                    ( *it ) ->relation() ->constraint() == QString::null )
+                    ( *it ) ->relation() ->constraint().isEmpty() )
                 continue;
 
@@ -637,5 +637,5 @@ QString RelationCombo::relationId() cons
 {
     QString txt = lineEdit()->text();
-    if ( txt == QString::null || txt == "" )
+    if ( txt.isEmpty() )
         return "NULL";
     else

--- kdeextragear-1/datakiosk/src/datatablesearch.cpp  #1.8:1.9
@@ -288,5 +288,5 @@ QStringList DataTableSearch::getInherita
     while ( dataTable ->name() != root )
     {
-        if ( root == QString::null )
+        if ( root.isEmpty() )
             return QStringList();
 

--- kdeextragear-1/datakiosk/src/relationeditordialogimpl.cpp  #1.12:1.13
@@ -332,5 +332,5 @@ void RelationEditorDialog::newField()
                             i18n( "Choose Field" ), i18n( "Field:" ), lst, 0, false, 0, this );
 
-    if ( fieldName == QString::null )
+    if ( fieldName.isEmpty() )
         return ;
 


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

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