1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
#include <tests/autotestshell.h>
#include <tests/testcore.h>
#include "templateclassassistant.h"
#include <QApplication>
using namespace KDevelop;
int main(int argc, char** argv)
{
QApplication app(argc, argv);
AutoTestShell::init();
TestCore::initialize(Core::NoUi);
auto* assistant = new TemplateClassAssistant(QApplication::activeWindow(), QUrl::fromLocalFile(QStringLiteral("/tmp/")));
assistant->setAttribute(Qt::WA_DeleteOnClose);
assistant->show();
return app.exec();
}
|