File indexing completed on 2024-06-16 06:57:01

0001 /*
0002     This file is part of the KDE libraries
0003     SPDX-FileCopyrightText: 2015 David Edmundson <davidedmundson@kde.org>
0004 
0005     SPDX-License-Identifier: LGPL-2.0-or-later
0006 */
0007 
0008 #include <KFilePlacesModel>
0009 #include <KUrlNavigator>
0010 #include <QApplication>
0011 #include <QDir>
0012 #include <QUrl>
0013 
0014 int main(int argc, char **argv)
0015 {
0016     QApplication::setApplicationName(QStringLiteral("kurlnavigatortest"));
0017     QApplication app(argc, argv);
0018 
0019     KUrlNavigator urlNavigator(new KFilePlacesModel, QUrl::fromLocalFile(QDir::homePath()), nullptr);
0020     urlNavigator.show();
0021 
0022     return app.exec();
0023 }