You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tqscintilla/example/main.cpp

22 lines
770 B

/****************************************************************************
** $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 TQt. This example
** program may be used, distributed and modified without limitation.
**
*****************************************************************************/
#include <tqapplication.h>
#include "application.h"
int main( int argc, char ** argv ) {
TQApplication a( argc, argv );
ApplicationWindow *mw = new ApplicationWindow();
mw->setCaption( "TQScintilla Example - Application" );
mw->show();
a.connect( &a, TQT_SIGNAL(lastWindowClosed()), &a, TQT_SLOT(quit()) );
return a.exec();
}