tests/auto/qcompleter/tst_qcompleter.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
   265         completer->setCurrentRow(row);
   265         completer->setCurrentRow(row);
   266     }
   266     }
   267 
   267 
   268     //QModelIndex si = completer->currentIndex();
   268     //QModelIndex si = completer->currentIndex();
   269     //QCOMPARE(completer->model()->data(si).toString(), completion);
   269     //QCOMPARE(completer->model()->data(si).toString(), completion);
   270     QCOMPARE(completer->currentCompletion(), completionText);
   270     QVERIFY(0 == QString::compare(completer->currentCompletion(), completionText, completer->caseSensitivity()));
   271 }
   271 }
   272 
   272 
   273 // Testing get/set functions
   273 // Testing get/set functions
   274 void tst_QCompleter::getSetCheck()
   274 void tst_QCompleter::getSetCheck()
   275 {
   275 {