Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

poqetp.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           poqetp.h  -  description
00003                              -------------------
00004     begin                : Thu Jul 11 2002
00005     copyright            : (C) 2002 by Ryan Rusaw
00006     email                : rrusaw@sasktel.net
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 #ifndef POQETP_H
00018 #define POQETP_H
00019 
00020 #include <qmainwindow.h>
00021 #include <qpixmap.h>
00022 #include <qimage.h>
00023 #include <qstack.h>
00024 #include <qvector.h>
00025 #include <qslider.h>
00026 #include <qaction.h>
00027 #include <qlabel.h>
00028 #include <qpe/process.h>
00029 #include "poqet.h"
00030 #include "pbrowser.h"
00031 
00036 class PoqetP : public PoqetPresenter
00037 {
00038     Q_OBJECT
00039 
00040 public:
00047     PoqetP( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
00051     ~PoqetP();
00056     void documentOpen(const DocLnk &lnkDoc);
00061     void documentOpen(const QString &str);
00066     void importMetaData(pXmlNode *meta);
00072     void copyDocLnk(const DocLnk &source, DocLnk &target);
00077     void parseXMLFiles(const DocLnk &lnkDoc);
00078 
00079 public slots:
00080 
00084     virtual void fileOpen();
00088     virtual void fileExit();
00092     virtual void helpAbout();
00096     virtual void viewNextPage();
00100     virtual void viewPrevPage();
00104     virtual void selectorShow();
00108     virtual void selectorHide();
00112     virtual void updatePage();
00117     virtual void updatePage(int i);
00122     virtual void selectorFileOpen(const DocLnk &lnkDoc);
00127     virtual void setDocument(const QString &fileref);
00132     virtual void magnifyUpdate(int index);
00137     virtual void startProgressBar(int count);
00141     virtual void stopProgressBar();
00145     virtual void offFullscreenHandler();
00150     virtual void keyPressEvent(QKeyEvent *e);
00154     virtual void bitBltNow();
00155 
00156 private:
00160     bool fullscreen;
00164     void setPrevNext();
00168     QStack<QListViewItem> stack;
00172     bool documentModified;
00173 };
00174 #endif

Generated on Sun Feb 2 21:28:28 2003 for PoqetPresenter by doxygen1.2.18