3
// Copyright (c) 1998-2010 by The VoxBo Development Team
5
// This file is part of VoxBo
7
// VoxBo is free software: you can redistribute it and/or modify it
8
// under the terms of the GNU General Public License as published by
9
// the Free Software Foundation, either version 3 of the License, or
10
// (at your option) any later version.
12
// VoxBo is distributed in the hope that it will be useful, but
13
// WITHOUT ANY WARRANTY; without even the implied warranty of
14
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
// General Public License for more details.
17
// You should have received a copy of the GNU General Public License
18
// along with VoxBo. If not, see <http://www.gnu.org/licenses/>.
20
// For general information on VoxBo, including the latest complete
21
// source code and binary distributions, manual, and associated files,
22
// see the VoxBo home page at: http://www.voxbo.org/
24
// original version written by Tom King and Daniel Y. Kimberg
28
#include <qapplication.h>
30
#include <qlineedit.h>
31
#include <qpushbutton.h>
33
#include <q3listbox.h>
34
#include <q3groupbox.h>
37
#include <q3whatsthis.h>
40
#include <q3popupmenu.h>
41
#include <q3toolbar.h>
45
int main( int argc, char ** argv )
47
QApplication a(argc,argv);
50
QFont font( "SansSerif", 10, 0 );
51
font.setStyleHint( QFont::SansSerif );
56
v.ShowDirectoriesAlso(1);
57
v.ShowImageInformation(1);
59
a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()) );
61
tokenlist ff=v.ReturnFiles();
62
for (int i=0; i<ff.size(); i++) {
63
cout << ff[i] << endl;