File indexing completed on 2024-05-12 03:54:20
0001 /* 0002 SPDX-FileCopyrightText: 2005 Helge Deller <deller@kde.org> 0003 0004 SPDX-License-Identifier: MIT 0005 */ 0006 0007 #include "test9.h" 0008 #include <QDebug> 0009 #include <QDir> 0010 #include <QGuiApplication> 0011 0012 int main(int argc, char **argv) 0013 { 0014 QGuiApplication app(argc, argv); 0015 Q_UNUSED(app); 0016 Test9 *t = new Test9(QString(), QString()); 0017 0018 QStringList myPathsList2 = t->myPathsList2(); 0019 qWarning() << myPathsList2; 0020 0021 // add another path 0022 QStringList newlist; 0023 myPathsList2 << QDir::homePath() + QLatin1String("/.kde"); 0024 qWarning() << myPathsList2; 0025 0026 t->setMyPathsList2(myPathsList2); 0027 qWarning() << t->myPathsList2(); 0028 0029 delete t; 0030 return 0; 0031 }