File indexing completed on 2024-05-05 05:41:38
0001 #include <QtCore/qglobal.h> 0002 #include <QtCore/qbytearray.h> 0003 0004 int test() 0005 { 0006 0007 qgetenv("Foo").isEmpty(); 0008 bool b = qgetenv("Foo").isNull(); 0009 QByteArray ba = qgetenv("Foo"); 0010 int fixmeWarnAboutBaseChange = qgetenv("Foo").toInt(); 0011 int fixmeWarnAboutBaseChangeAndKeepOk = qgetenv("Foo").toInt(&b); 0012 int dontfix = qgetenv("Foo").toInt(&b, 16); 0013 int fixmeWithoutChangingInternalBase = qgetenv("Foo").toInt(&b, 0); 0014 int fixmeWithoutChangingInternalBaseAndIgnoringOk = qgetenv("Foo").toInt(nullptr, 0); 0015 return 0; 0016 }