blob: 3c3551c4e6c52f36a8c794cc05619b43af552b42 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include "viewer.h"
#include <tqapplication.h>
int main( int argc, char **argv )
{
TQApplication app( argc, argv );
Viewer * textViewer = new Viewer();
textViewer->setCaption( "TQt Example - Simple TQFont Demo" );
app.setMainWidget( textViewer );
textViewer->show();
return app.exec();
}
|