|
a/src/qtgui/main.cpp |
|
b/src/qtgui/main.cpp |
1 |
#ifndef lint
|
1 |
#ifndef lint
|
2 |
static char rcsid[] = "@(#$Id: main.cpp,v 1.56 2006-12-05 15:23:50 dockes Exp $ (C) 2005 J.F.Dockes";
|
2 |
static char rcsid[] = "@(#$Id: main.cpp,v 1.57 2006-12-16 15:39:54 dockes Exp $ (C) 2005 J.F.Dockes";
|
3 |
#endif
|
3 |
#endif
|
4 |
/*
|
4 |
/*
|
5 |
* This program is free software; you can redistribute it and/or modify
|
5 |
* This program is free software; you can redistribute it and/or modify
|
6 |
* it under the terms of the GNU General Public License as published by
|
6 |
* it under the terms of the GNU General Public License as published by
|
7 |
* the Free Software Foundation; either version 2 of the License, or
|
7 |
* the Free Software Foundation; either version 2 of the License, or
|
|
... |
|
... |
279 |
|
279 |
|
280 |
rcldb = new Rcl::Db;
|
280 |
rcldb = new Rcl::Db;
|
281 |
|
281 |
|
282 |
// Connect exit handlers etc..
|
282 |
// Connect exit handlers etc..
|
283 |
app.connect(&app, SIGNAL(lastWindowClosed()), &app, SLOT(quit()));
|
283 |
app.connect(&app, SIGNAL(lastWindowClosed()), &app, SLOT(quit()));
|
|
|
284 |
app.connect(&app, SIGNAL(aboutToQuit()), mainWindow, SLOT(close()));
|
284 |
QTimer *timer = new QTimer(&app);
|
285 |
QTimer *timer = new QTimer(&app);
|
285 |
mainWindow->connect(timer, SIGNAL(timeout()),
|
286 |
mainWindow->connect(timer, SIGNAL(timeout()),
|
286 |
mainWindow, SLOT(periodic100()));
|
287 |
mainWindow, SLOT(periodic100()));
|
287 |
timer->start(100);
|
288 |
timer->start(100);
|
288 |
|
289 |
|