tests/auto/qfiledialog/tst_qfiledialog.cpp
branchRCL_3
changeset 4 3b1da2848fc7
parent 0 1918ee327afb
child 8 3f74d0d4af4c
equal deleted inserted replaced
3:41300fa6a67c 4:3b1da2848fc7
     1 /****************************************************************************
     1 /****************************************************************************
     2 **
     2 **
     3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     4 ** All rights reserved.
     4 ** All rights reserved.
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     6 **
     6 **
     7 ** This file is part of the test suite of the Qt Toolkit.
     7 ** This file is part of the test suite of the Qt Toolkit.
     8 **
     8 **
   947     dialog->show();
   947     dialog->show();
   948     QTest::qWait(500);
   948     QTest::qWait(500);
   949     QLineEdit *lineEdit = qFindChild<QLineEdit*>(dialog, "fileNameEdit");
   949     QLineEdit *lineEdit = qFindChild<QLineEdit*>(dialog, "fileNameEdit");
   950     QVERIFY(lineEdit);
   950     QVERIFY(lineEdit);
   951     QCOMPARE(lineEdit->text(),QLatin1String("blah"));
   951     QCOMPARE(lineEdit->text(),QLatin1String("blah"));
       
   952     delete dialog;
   952 }
   953 }
   953 
   954 
   954 void tst_QFiledialog::viewMode()
   955 void tst_QFiledialog::viewMode()
   955 {
   956 {
   956     QNonNativeFileDialog fd;
   957     QNonNativeFileDialog fd;