//**************************************************************************** //! \file main.cpp //! \date 02-10-2004 //! The main application file of the Weird Reader //**************************************************************************** // This file is part of Weird Reader. // // The Weird Reader is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 of the License, or // (at your option) any later version. // // The Weird Reader is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with Weird Reader; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //**************************************************************************** //! \mainpage The Weird Reader (wreader) //! The Weird Reader is an ebook for mainly for Project Gutenberg like text files. //! Copyright 2004 by the Weird Bird Corp. #include #include #include #include "tmainwindow.hpp" int main( int argc, char ** argv ) { KCmdLineArgs::init(argc, argv, "wreader", "Weird Reader", "Weird E-Text Reader", "0.01"); KApplication a; TMainWindow *w = new TMainWindow(); w->setGeometry( QRect( 100, 100, 640, 480)); a.setMainWidget( w); w->show(); a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) ); return a.exec(); }