source: vendor/trolltech/current/examples/fileiconview/main.cpp

Last change on this file was 160, checked in by dmik, 19 years ago

Imported table and iconview modules and a bunch of dependent examples from the official release 3.3.1 from Trolltech.

  • Property svn:keywords set to Id
File size: 706 bytes
Line 
1/****************************************************************************
2** $Id: main.cpp 160 2006-12-11 20:15:57Z dmik $
3**
4** Copyright (C) 1992-2000 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 "mainwindow.h"
12#include "qfileiconview.h"
13
14#include <qapplication.h>
15
16
17int main( int argc, char **argv )
18{
19 QApplication a( argc, argv );
20
21 FileMainWindow mw;
22 mw.resize( 680, 480 );
23 a.setMainWidget( &mw );
24 mw.fileView()->setDirectory( "/" );
25 mw.show();
26 return a.exec();
27}
Note: See TracBrowser for help on using the repository browser.