mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-26 11:52:54 +00:00
18 lines
494 B
C++
18 lines
494 B
C++
![]() |
#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);
|
||
|
|
||
|
TemplateClassAssistant* assistant = new TemplateClassAssistant(QApplication::activeWindow(), KUrl("/tmp/"));
|
||
|
assistant->setAttribute(Qt::WA_DeleteOnClose);
|
||
|
assistant->show();
|
||
|
return app.exec();
|
||
|
}
|