Warning, file /kdevelop/kdevelop/plugins/debuggercommon/tests/debuggees/debugeeqt.cpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* 0002 Copyright 2011 Niko Sams <niko.sams@gmail.com> 0003 0004 This library is free software; you can redistribute it and/or 0005 modify it under the terms of the GNU Library General Public 0006 License version 2 as published by the Free Software Foundation. 0007 0008 This library is distributed in the hope that it will be useful, 0009 but WITHOUT ANY WARRANTY; without even the implied warranty of 0010 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0011 Library General Public License for more details. 0012 0013 You should have received a copy of the GNU Library General Public License 0014 along with this library; see the file COPYING.LIB. If not, write to 0015 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 0016 Boston, MA 02110-1301, USA. 0017 */ 0018 #include <QDebug> 0019 #include <QString> 0020 0021 int main() 0022 { 0023 qDebug(); 0024 for(int i=0; i<10; ++i) { 0025 QString x(QStringLiteral("foobar")); 0026 x += QString::number(i); 0027 qDebug() << x; 0028 } 0029 return 0; 0030 }