From 018da8727bf5e4f2e7e9ba09491fce88ea7c9886 Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Sat, 18 Apr 2020 23:51:50 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A2=D0=B5=D1=81=D1=82=20=D0=B4=D0=BB=D1=8F?= =?UTF-8?q?=20qt-keyword?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/cmlib-example/main.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/cmlib-example/main.cpp b/src/cmlib-example/main.cpp index 0f9f19e..40a22be 100644 --- a/src/cmlib-example/main.cpp +++ b/src/cmlib-example/main.cpp @@ -7,5 +7,13 @@ int main( int argc, char** argv ) { QCoreApplication app( argc, argv ); + // qt-keywords + QList il; + il << 111 << 222 << 333; + foreach(int i, il) + { + qDebug() << i; + } + return( 0 ); }