28 #include <QApplication> 37 QApplication *
app =
new QApplication(argc, argv);
40 mainWindow->showNormal();
48 app->connect( app, SIGNAL( lastWindowClosed() ),
49 app, SLOT( quit() ) );
54 UINFO(
"All done! closing...");
int main(int argc, char *argv[])
static void setLevel(ULogger::Level level)
static void setType(Type type, const std::string &fileName=kDefaultLogFileName, bool append=true)
bool openDatabase(const QString &path)
ULogger class and convenient macros.