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

mainview.h

Go to the documentation of this file.
00001 /*
00002 Opie-uBrowser.  a very small web browser, using on QTextBrowser for html display/parsing
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 <qpe/resource.h>
00018 #include <qtoolbar.h>
00019 #include <qpe/applnk.h>
00020 
00021 #include <qapplication.h>
00022 #include <qmainwindow.h>
00023 #include <qwidget.h>
00024 #include <qtextbrowser.h>
00025 #include <qtoolbutton.h>
00026 #include <qcombobox.h>
00027 #include <qlayout.h>
00028 #include <qlineedit.h>
00029 #include <qdir.h>
00030 
00031 #include <stdio.h>
00032 
00033 #include "httpfactory.h"
00034 
00035 class MainView : public QMainWindow
00036 {
00037         Q_OBJECT
00038 public:
00039         static QString appName() { return QString::fromLatin1("ubrowser"); }
00040         MainView(QWidget *parent=0, const char *name=0, WFlags fl = 0);
00041 public slots:
00042         void goClicked();
00043         void textChanged();
00044         void setDocument( const QString& applnk_filename );
00045 private:
00046         QToolButton *back;
00047         QToolButton *forward;
00048         QToolButton *home;
00049         QToolButton *go;
00050         QComboBox *location;
00051         QTextBrowser *browser;
00052         HttpFactory *http;
00053 };

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