diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-30 11:36:13 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-30 11:36:13 -0600 |
commit | 664e37abfe5c796c1279b8295fb030f126b0a7d8 (patch) | |
tree | 85f4e661e5c615f01ee1cdf51ca1250b96efe315 /example/main.cpp | |
download | tqscintilla-664e37abfe5c796c1279b8295fb030f126b0a7d8.tar.gz tqscintilla-664e37abfe5c796c1279b8295fb030f126b0a7d8.zip |
Initial import of qscintilla from 2007
Diffstat (limited to 'example/main.cpp')
-rw-r--r-- | example/main.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/example/main.cpp b/example/main.cpp new file mode 100644 index 0000000..3c2722c --- /dev/null +++ b/example/main.cpp @@ -0,0 +1,21 @@ +/**************************************************************************** +** $Id: main.cpp,v 1.1 2004/09/18 17:31:23 phil Exp $ +** +** Copyright (C) 1992-2000 Trolltech AS. All rights reserved. +** +** This file is part of an example program for Qt. This example +** program may be used, distributed and modified without limitation. +** +*****************************************************************************/ + +#include <qapplication.h> +#include "application.h" + +int main( int argc, char ** argv ) { + QApplication a( argc, argv ); + ApplicationWindow *mw = new ApplicationWindow(); + mw->setCaption( "QScintilla Example - Application" ); + mw->show(); + a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()) ); + return a.exec(); +} |