File indexing completed on 2024-05-05 04:39:48
0001 #include <tests/autotestshell.h> 0002 #include <tests/testcore.h> 0003 #include "templateclassassistant.h" 0004 #include <QApplication> 0005 using namespace KDevelop; 0006 0007 int main(int argc, char** argv) 0008 { 0009 QApplication app(argc, argv); 0010 AutoTestShell::init(); 0011 TestCore::initialize(Core::NoUi); 0012 0013 auto* assistant = new TemplateClassAssistant(QApplication::activeWindow(), QUrl::fromLocalFile(QStringLiteral("/tmp/"))); 0014 assistant->setAttribute(Qt::WA_DeleteOnClose); 0015 assistant->show(); 0016 return app.exec(); 0017 }