cf12defd28
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
24 lines
579 B
C++
24 lines
579 B
C++
/*
|
|
This file is part of the KDE libraries
|
|
SPDX-FileCopyrightText: 2015 David Edmundson <davidedmundson@kde.org>
|
|
|
|
SPDX-License-Identifier: LGPL-2.0-or-later
|
|
*/
|
|
|
|
#include <KFilePlacesModel>
|
|
#include <KUrlNavigator>
|
|
#include <QApplication>
|
|
#include <QDir>
|
|
#include <QUrl>
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
QApplication::setApplicationName(QStringLiteral("kurlnavigatortest"));
|
|
QApplication app(argc, argv);
|
|
|
|
KUrlNavigator urlNavigator(new KFilePlacesModel, QUrl::fromLocalFile(QDir::homePath()), nullptr);
|
|
urlNavigator.show();
|
|
|
|
return app.exec();
|
|
}
|