Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

fviewer.h

Go to the documentation of this file.
00001 /*
00002 Opie-sh.  convinience app to allow you to use qdialogs in scripts (mainly shell scripts)
00003 Copyright (C) 2002 Thomas Stephens
00004 
00005 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public
00006 License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later
00007 version.
00008 
00009 This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
00010 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
00011 Public License for more details.
00012 
00013 You should have received a copy of the GNU General Public License along with this program; if not, write to the Free
00014 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
00015 */
00016 
00017 #include <qwidget.h>
00018 #include <qfile.h>
00019 #include <qtextstream.h>
00020 #include <qtextbrowser.h>
00021 #include <qlayout.h>
00022 #include <qtimer.h>
00023 #include <qdir.h>
00024 
00025 class FViewer :public QWidget
00026 {
00027         Q_OBJECT
00028 public:
00029         FViewer(QString icon, QString filename, QString title, QWidget *parent=0, const char*name=0);
00030 private:
00031         QFile *file;
00032         QTextBrowser *textView;
00033         QTextStream *stream;
00034         QTimer *timer;
00035 };

Generated on Sat Nov 5 16:18:01 2005 for OPIE by  doxygen 1.4.2