~ubuntu-branches/ubuntu/oneiric/qwt/oneiric-proposed

« back to all changes in this revision

Viewing changes to qwt-5.1.1/examples/realtime_plot/realtime.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2008-05-26 10:26:31 UTC
  • mfrom: (1.1.3 upstream) (2.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080526102631-bp95mfccnrb957nx
Tags: 5.1.1-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include <qapplication.h>
 
2
#include "mainwindow.h"
 
3
 
 
4
int main(int argc, char **argv)
 
5
{
 
6
    QApplication a(argc, argv);
 
7
 
 
8
    MainWindow w;
 
9
    w.show();
 
10
#if QT_VERSION < 0x040000
 
11
    a.setMainWidget(&w);
 
12
#endif
 
13
 
 
14
    return a.exec();
 
15
}