source: trunk/examples/network/infoprotocol/infourlclient/main.cpp

Last change on this file was 2, checked in by dmik, 20 years ago

Imported xplatform parts of the official release 3.3.1 from Trolltech

  • Property svn:keywords set to Id
File size: 720 bytes
Line 
1/****************************************************************************
2** $Id: main.cpp 2 2005-11-16 15:49:26Z dmik $
3**
4** Copyright (C) 1992-2002 Trolltech AS. All rights reserved.
5**
6** This file is part of an example program for Qt. This example
7** program may be used, distributed and modified without limitation.
8**
9*****************************************************************************/
10
11#include <qapplication.h>
12
13#include "qip.h"
14#include "client.h"
15
16int main( int argc, char** argv )
17{
18 QApplication app( argc, argv );
19 QNetworkProtocol::registerNetworkProtocol( "qip", new QNetworkProtocolFactory< Qip > );
20 ClientInfo info;
21 app.setMainWidget( &info );
22 info.show();
23 return app.exec();
24}
Note: See TracBrowser for help on using the repository browser.