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

Gutenbrowser Class Reference

#include </home/clem/local/src/opie/noncore/apps/opie-gutenbrowser/gutenbrowser.h>

Collaboration diagram for Gutenbrowser:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Gutenbrowser (QWidget *p=0, const char *name=0, WFlags fl=0)
 ~Gutenbrowser ()

Static Public Member Functions

static QString appName ()

Public Attributes

LibraryDialogLibraryDlg
QButton * InfoBar
QFile newindexLib
QFile indexLib
QListBox * mainList
QPrinter * printer
QString brow
QString file_name
QString fontStr
QString pointSizeStr
QString weightStr
QString italicStr
QString boldStr
QString ftp_base_dir
QString ftp_host
QString iniFile
QString listItemFile
QString listItemNumber
QString listItemTitle
QString listItemYear
QString local_index
QString local_library
QString networkUrl
QString pattern
QString prefBrowser
QString s_Wrap
QString status
QString statusTop
QString title
QPushButton * DownloadButton
QPushButton * LibraryButton
QPushButton * OpenButton
QPushButton * ForwardButton
QPushButton * BackButton
QPushButton * PrintButton
QPushButton * SearchButton
QPushButton * dictionaryButton
QPushButton * beginButton
QPushButton * ExitButton
QPushButton * OptionsButton
QPushButton * FontButton
QPushButton * ClearButton
QPushButton * HelpButton
QPushButton * setBookmarkButton
MenuButtonlastBmkButton
SearchDialogsearchDlg
bool buttonsHidden
bool italic
bool bold
bool loadCheck
bool useSplitter
char host [1024]
char login [1024]
char password [1024]
int check
int direction
int i_pageNum
int lastScrollRow
int lineCheck
int pages
int pointSize
int weight

Protected Slots

void hideView ()
void BackBtn ()
void Bookmark (int)
void ByeBye ()
void ChangeFont ()
void ClearEdit ()
void DownloadIndex ()
void ForwardBtn ()
void HelpBtn ()
void InfoBarClick ()
void LibraryBtn ()
void LookupBtn ()
void OpenBtn ()
void PrintBtn ()
void SearchBtn ()
void annotations ()
void doOptions ()
void donateByteMonkie ()
void donateGutenberg ()
void downloadFtpList ()
void downloadLibIndex ()
void enableButtons (bool)
void fillWithTitles ()
void fixKeys ()
void initButtonBar ()
void initConfig ()
void initMenuBar ()
void initSlots ()
void initStatusBar ()
void initView ()
void menuGoogle ()
void menuOpen ()
void searchGoogle (const QString &)
void setBookmark ()
void toggleButtonIcons (bool usingIcons)

Protected Member Functions

bool UnZipIt (const QString &zipFile)
bool queryExit ()
int doSearch (const QString &s_pattern, bool case_sensitive, bool forward, int line, int col)
void focusInEvent (QFocusEvent *)
void focusOutEvent (QFocusEvent *)
void keyPressEvent (QKeyEvent *)
void keyReleaseEvent (QKeyEvent *e)
void resizeEvent (QResizeEvent *)
void writeConfig ()

Protected Attributes

bool b_queryExit
bool showMainList
bool useIcons
bool working

Private Slots

bool load (const char *fileName)
bool setStatus ()
void BeginBtn ()
void TopBtn ()
void cleanUp ()
void doBeginBtn ()
void goGetit (const QString &url, bool showMsg)
void infoGutenbrowser ()
void listClickedSlot (QListBoxItem *)
void mainListPressed (int, QListBoxItem *, const QPoint &)
void menuEditTitle ()
void search_slot ()
void searchdone_slot ()
void setDocument (const QString &)
void slotFilePrint ()

Private Member Functions

bool getTitle (const char *file)
bool setTitle ()
int repeatSearch ()
void Search ()
void OnNetworkDialog (const QString &networkUrl, const QString &output)
void hideButtons ()

Private Attributes

QArray< int > pageStopArray
MultiLine_Ex * Lview
QBoxLayout * buttons2
QBoxLayout * buttons
QBoxLayout * edits
QBoxLayout * menu
QBoxLayout * topLayout
QFile f
QPEMenuBarmenubar
QPopupMenu * fileMenu
QPopupMenu * editMenu
QPopupMenu * viewMenu
QPopupMenu * DownloadMenu
QPopupMenu * optionsMenu
QPopupMenu * bookmarksMenu
QPopupMenu * donateMenu
QPopupMenu * helpMenu
bool useWrap
int fileHandle
int currentFilePos
int currentLine
int last_search

Constructor & Destructor Documentation

Gutenbrowser::Gutenbrowser QWidget *  p = 0,
const char *  name = 0,
WFlags  fl = 0
 

Definition at line 74 of file gutenbrowser.cpp.

References bookmarksMenu, buttons2, edits, enableButtons(), FALSE, fillWithTitles(), hideView(), QDir::homeDirPath(), i, indexLib, initButtonBar(), initConfig(), initMenuBar(), initSlots(), initStatusBar(), initView(), QString::isEmpty(), LibraryDlg, load(), loadCheck, local_library, Lview, mainList, mainListPressed(), newindexLib, QString::number(), odebug, oendl, qApp, qDebug(), Config::readEntry(), Config::readNumEntry(), QPEApplication::RightOnHold, Config::setGroup(), QFile::setName(), QPEApplication::setStylusOperation(), showMainList, tempFileName, toggleButtonIcons(), QString::toInt(), topLayout, TRUE, useIcons, useSplitter, working, and writeConfig().

Gutenbrowser::~Gutenbrowser  ) 
 

Definition at line 177 of file gutenbrowser.cpp.

References odebug, and oendl.


Member Function Documentation

void Gutenbrowser::annotations  )  [protected, slot]
 

Definition at line 1666 of file gutenbrowser.cpp.

static QString Gutenbrowser::appName  )  [inline, static]
 

Definition at line 54 of file gutenbrowser.h.

References QString::fromLatin1().

void Gutenbrowser::BackBtn  )  [protected, slot]
 

Definition at line 465 of file gutenbrowser.cpp.

References QFile::at(), BackButton, currentFilePos, currentLine, f, FALSE, i_pageNum, Lview, QString::number(), odebug, oendl, pageSize, pageStopArray, QFile::readLine(), QString::replace(), s, setStatus(), and useWrap.

Referenced by initSlots(), and keyReleaseEvent().

void Gutenbrowser::BeginBtn  )  [private, slot]
 

Definition at line 561 of file gutenbrowser.cpp.

References QFile::at(), QFile::atEnd(), currentFilePos, currentLine, f, QString::find(), i_pageNum, Lview, odebug, oendl, pageSize, pageStopArray, pos, qApp, QFile::readLine(), s, TRUE, and useWrap.

Referenced by doBeginBtn(), and keyReleaseEvent().

void Gutenbrowser::Bookmark int   )  [protected, slot]
 

Definition at line 673 of file gutenbrowser.cpp.

References QFile::at(), QFile::atEnd(), QString::contains(), currentFilePos, currentLine, f, FALSE, file_name, i_pageNum, load(), local_library, Lview, mainList, odebug, oendl, pageSize, pageStopArray, Config::readEntry(), QFile::readLine(), Config::readNumEntry(), s, Config::setGroup(), showMainList, title, and useWrap.

Referenced by initButtonBar(), and initSlots().

void Gutenbrowser::ByeBye  )  [protected, slot]
 

Definition at line 321 of file gutenbrowser.cpp.

References b_queryExit, qApp, and queryExit().

Referenced by initMenuBar(), and keyReleaseEvent().

void Gutenbrowser::ChangeFont  )  [protected, slot]
 

Definition at line 1140 of file gutenbrowser.cpp.

References bold, boldStr, fontStr, italic, italicStr, Lview, pointSize, pointSizeStr, QString::setNum(), useSplitter, weight, and weightStr.

Referenced by keyReleaseEvent().

void Gutenbrowser::cleanUp  )  [private, slot]
 

Definition at line 1730 of file gutenbrowser.cpp.

References QFile::close(), f, QPEApplication::grabKeyboard(), QIODevice::isOpen(), QPEApplication::ungrabKeyboard(), and writeConfig().

Referenced by initSlots().

void Gutenbrowser::ClearEdit  )  [protected, slot]
 

Definition at line 1225 of file gutenbrowser.cpp.

References donateMenu, enableButtons(), fillWithTitles(), i_pageNum, InfoBar, loadCheck, Lview, mainList, qApp, showMainList, status, tr, and TRUE.

Referenced by initMenuBar(), and keyReleaseEvent().

void Gutenbrowser::doBeginBtn  )  [private, slot]
 

Definition at line 525 of file gutenbrowser.cpp.

References BeginBtn(), loadCheck, and qApp.

Referenced by initMenuBar().

void Gutenbrowser::donateByteMonkie  )  [protected, slot]
 

Definition at line 1625 of file gutenbrowser.cpp.

void Gutenbrowser::donateGutenberg  )  [protected, slot]
 

Definition at line 1615 of file gutenbrowser.cpp.

void Gutenbrowser::doOptions  )  [protected, slot]
 

Definition at line 1482 of file gutenbrowser.cpp.

References optionsDialog::b_qExit, b_queryExit, brow, optionsDialog::browserName, optionsDialog::downloadDirEdit, QDir::exists(), FALSE, fillWithTitles(), optionsDialog::fontDlg, optionsDialog::ftp_base_dir, ftp_base_dir, optionsDialog::ftp_host, ftp_host, QString::latin1(), Lview, mainList, odebug, oendl, qApp, QString::right(), FontDialog::selectedFont, Config::setGroup(), showMainList, toggleButtonIcons(), TRUE, optionsDialog::useIcon, optionsDialog::useWordWrap_CheckBox, useWrap, and Config::writeEntry().

Referenced by initMenuBar().

int Gutenbrowser::doSearch const QString s_pattern,
bool  case_sensitive,
bool  forward,
int  line,
int  col
[protected]
 

Definition at line 909 of file gutenbrowser.cpp.

References FALSE, QString::find(), QString::findRev(), i, l, last_search, QString::length(), Lview, pattern, pos, Opie::Internal::string(), and TRUE.

Referenced by search_slot().

void Gutenbrowser::downloadFtpList  )  [protected, slot]
 

Definition at line 361 of file gutenbrowser.cpp.

References optionsDialog::getSite(), and qApp.

Referenced by DownloadIndex().

void Gutenbrowser::DownloadIndex  )  [protected, slot]
 

Definition at line 336 of file gutenbrowser.cpp.

References downloadFtpList(), downloadLibIndex(), and tr.

Referenced by keyReleaseEvent().

void Gutenbrowser::downloadLibIndex  )  [protected, slot]
 

Definition at line 373 of file gutenbrowser.cpp.

References QDir::cd(), goGetit(), local_library, and TRUE.

Referenced by DownloadIndex(), and initMenuBar().

void Gutenbrowser::enableButtons bool   )  [protected, slot]
 

Definition at line 1746 of file gutenbrowser.cpp.

References BackButton, dictionaryButton, editMenu, ForwardButton, InfoBar, SearchButton, and setBookmarkButton.

Referenced by ClearEdit(), Gutenbrowser(), and load().

void Gutenbrowser::fillWithTitles  )  [protected, slot]
 

Definition at line 1762 of file gutenbrowser.cpp.

References i, Opie::Core::OResource::loadPixmap(), mainList, Config::readEntry(), Config::readNumEntry(), Config::setGroup(), QString::setNum(), and Opie::Core::OResource::SmallIcon.

Referenced by ClearEdit(), doOptions(), Gutenbrowser(), LibraryBtn(), and OpenBtn().

void Gutenbrowser::fixKeys  )  [protected, slot]
 

Definition at line 1740 of file gutenbrowser.cpp.

References odebug, and oendl.

void Gutenbrowser::focusInEvent QFocusEvent *   )  [protected]
 

Definition at line 1723 of file gutenbrowser.cpp.

void Gutenbrowser::focusOutEvent QFocusEvent *   )  [protected]
 

Definition at line 1726 of file gutenbrowser.cpp.

void Gutenbrowser::ForwardBtn  )  [protected, slot]
 

Definition at line 411 of file gutenbrowser.cpp.

References QFile::at(), currentFilePos, currentLine, f, ForwardButton, i_pageNum, Lview, odebug, oendl, pageSize, pageStopArray, QFile::readLine(), QString::replace(), s, setStatus(), and useWrap.

Referenced by initSlots(), and keyReleaseEvent().

bool Gutenbrowser::getTitle const char *  file  )  [private]
 

Definition at line 1246 of file gutenbrowser.cpp.

References QString::contains(), f, QFileInfo::fileName(), i, local_library, Config::readEntry(), Config::setGroup(), QString::setNum(), title, QString::toInt(), and TRUE.

void Gutenbrowser::goGetit const QString url,
bool  showMsg
[private, slot]
 

Definition at line 200 of file gutenbrowser.cpp.

References brow, FALSE, ftp_base_dir, ftp_host, local_library, Output::OutputEdit, qApp, Config::readEntry(), Config::setGroup(), tr, and TRUE.

Referenced by downloadLibIndex(), LookupBtn(), and searchGoogle().

void Gutenbrowser::HelpBtn  )  [protected, slot]
 

Definition at line 330 of file gutenbrowser.cpp.

Referenced by keyReleaseEvent().

void Gutenbrowser::hideButtons  )  [private]
 

Definition at line 1674 of file gutenbrowser.cpp.

References BackButton, beginButton, buttonsHidden, ClearButton, dictionaryButton, DownloadButton, ExitButton, FALSE, FontButton, ForwardButton, HelpButton, InfoBar, lastBmkButton, LibraryButton, OpenButton, OptionsButton, PrintButton, SearchButton, setBookmarkButton, TRUE, and useSplitter.

Referenced by keyReleaseEvent().

void Gutenbrowser::hideView  )  [protected, slot]
 

Definition at line 339 of file gutenbrowserData.cpp.

References Lview, and mainList.

Referenced by Gutenbrowser().

void Gutenbrowser::InfoBarClick  )  [protected, slot]
 

Definition at line 185 of file gutenbrowser.cpp.

References Lview, searchGoogle(), and text.

Referenced by initSlots(), and load().

void Gutenbrowser::infoGutenbrowser  )  [private, slot]
 

Definition at line 1820 of file gutenbrowser.cpp.

References message.

Referenced by initMenuBar().

void Gutenbrowser::initButtonBar  )  [protected, slot]
 

Definition at line 217 of file gutenbrowserData.cpp.

References BackButton, Bookmark(), bookmarksMenu, buttons2, buttonsHidden, dictionaryButton, ForwardButton, InfoBar, lastBmkButton, LibraryButton, OpenButton, SearchButton, setBookmarkButton, TabFocus, topLayout, and TRUE.

Referenced by Gutenbrowser().

void Gutenbrowser::initConfig  )  [protected, slot]
 

Definition at line 48 of file gutenbrowserData.cpp.

References b_queryExit, brow, d, QDir::exists(), FALSE, QString::find(), QString::findRev(), ftp_base_dir, ftp_host, height, iniFile, QString::isEmpty(), QString::left(), QString::length(), local_library, QDir::mkdir(), qDebug(), Config::readEntry(), QString::right(), Config::setGroup(), QString::sprintf(), str, QString::stripWhiteSpace(), QString::toInt(), TRUE, useIcons, useSplitter, and width.

Referenced by Gutenbrowser().

void Gutenbrowser::initMenuBar  )  [protected, slot]
 

Definition at line 171 of file gutenbrowserData.cpp.

References ByeBye(), ClearEdit(), doBeginBtn(), donateMenu, doOptions(), downloadLibIndex(), editMenu, fileMenu, infoGutenbrowser(), Opie::Core::OResource::loadPixmap(), menubar, OpenBtn(), optionsMenu, qDebug(), SCALED, SearchBtn(), TopBtn(), and topLayout.

Referenced by Gutenbrowser().

void Gutenbrowser::initSlots  )  [protected, slot]
 

Definition at line 33 of file gutenbrowserData.cpp.

References BackBtn(), BackButton, Bookmark(), bookmarksMenu, cleanUp(), dictionaryButton, ForwardBtn(), ForwardButton, InfoBar, InfoBarClick(), LibraryBtn(), LibraryButton, listClickedSlot(), LookupBtn(), mainList, OpenBtn(), OpenButton, qApp, SearchBtn(), SearchButton, setBookmark(), and setBookmarkButton.

Referenced by Gutenbrowser().

void Gutenbrowser::initStatusBar  )  [protected, slot]
 

Definition at line 272 of file gutenbrowserData.cpp.

References qDebug().

Referenced by Gutenbrowser().

void Gutenbrowser::initView  )  [protected, slot]
 

Definition at line 282 of file gutenbrowserData.cpp.

References edits, italic, Lview, mainList, MultiLine_Ex(), qDebug(), Config::readBoolEntry(), Config::readEntry(), Config::readNumEntry(), Config::setGroup(), topLayout, TRUE, and useWrap.

Referenced by Gutenbrowser().

void Gutenbrowser::keyPressEvent QKeyEvent *   )  [protected]
 

Definition at line 1445 of file gutenbrowser.cpp.

void Gutenbrowser::keyReleaseEvent QKeyEvent *  e  )  [protected]
 

Definition at line 1309 of file gutenbrowser.cpp.

References BackBtn(), BackButton, BeginBtn(), ByeBye(), ChangeFont(), ClearEdit(), DownloadIndex(), ForwardBtn(), ForwardButton, HelpBtn(), hideButtons(), Key_B, Key_C, Key_D, Key_E, Key_F, Key_F10, Key_F11, Key_F12, Key_F13, Key_F9, Key_H, Key_I, Key_K, Key_L, Key_M, Key_O, Key_P, Key_R, Key_S, Key_T, Key_U, LibraryBtn(), loadCheck, LookupBtn(), menubar, OpenBtn(), PrintBtn(), and SearchBtn().

void Gutenbrowser::LibraryBtn  )  [protected, slot]
 

Definition at line 983 of file gutenbrowser.cpp.

References LibraryDialog::DlglistItemFile, LibraryDialog::DlglistItemNumber, LibraryDialog::DlglistItemTitle, LibraryDialog::DlglistItemYear, QFile::exists(), FALSE, LibraryDialog::File_Name, file_name, fillWithTitles(), QString::find(), i_pageNum, QString::isEmpty(), QString::isNull(), QString::length(), LibraryDlg, listItemFile, listItemNumber, listItemTitle, listItemYear, load(), local_library, Lview, mainList, message, odebug, oendl, printf, qApp, remove(), Config::setGroup(), setTitle(), showMainList, title, tr, UnZipIt(), LibraryDialog::useSmallInterface, and useSplitter.

Referenced by initSlots(), and keyReleaseEvent().

void Gutenbrowser::listClickedSlot QListBoxItem *   )  [private, slot]
 

Definition at line 1781 of file gutenbrowser.cpp.

References FALSE, file_name, i_pageNum, load(), Lview, mainList, odebug, oendl, qApp, Config::readEntry(), Config::readNumEntry(), Config::setGroup(), QString::setNum(), showMainList, and title.

Referenced by initSlots(), and menuOpen().

bool Gutenbrowser::load const char *  fileName  )  [private, slot]
 

Definition at line 759 of file gutenbrowser.cpp.

References QFile::at(), QFile::close(), currentFilePos, currentLine, donateMenu, enableButtons(), f, file_name, fileHandle, QFile::handle(), height, i_pageNum, InfoBarClick(), IO_ReadOnly, QIODevice::isOpen(), loadCheck, Lview, message, odebug, oendl, QFile::open(), pageStopArray, pointSize, QTextStream::readLine(), QString::replace(), s, Config::setGroup(), QFile::setName(), t, title, tr, TRUE, useWrap, Config::write(), and Config::writeEntry().

Referenced by Bookmark(), Gutenbrowser(), LibraryBtn(), listClickedSlot(), OpenBtn(), and setDocument().

void Gutenbrowser::LookupBtn  )  [protected, slot]
 

Definition at line 1208 of file gutenbrowser.cpp.

References goGetit(), Lview, qApp, and text.

Referenced by initSlots(), and keyReleaseEvent().

void Gutenbrowser::mainListPressed int  ,
QListBoxItem *  ,
const QPoint & 
[private, slot]
 

Definition at line 1849 of file gutenbrowser.cpp.

References menuEditTitle(), menuGoogle(), menuOpen(), pos, and tr.

Referenced by Gutenbrowser().

void Gutenbrowser::menuEditTitle  )  [private, slot]
 

Definition at line 1896 of file gutenbrowser.cpp.

References i, Opie::Core::OResource::loadPixmap(), mainList, Edit_Title::newTitle, Config::readEntry(), Config::setGroup(), QString::setNum(), Opie::Core::OResource::SmallIcon, QString::toInt(), TRUE, and Config::writeEntry().

Referenced by mainListPressed().

void Gutenbrowser::menuGoogle  )  [protected, slot]
 

Definition at line 1872 of file gutenbrowser.cpp.

References mainList, and searchGoogle().

Referenced by mainListPressed().

void Gutenbrowser::menuOpen  )  [protected, slot]
 

Definition at line 1868 of file gutenbrowser.cpp.

References listClickedSlot(), and mainList.

Referenced by mainListPressed().

void Gutenbrowser::OnNetworkDialog const QString networkUrl,
const QString output
[private]
 

Definition at line 1600 of file gutenbrowser.cpp.

void Gutenbrowser::OpenBtn  )  [protected, slot]
 

Definition at line 1077 of file gutenbrowser.cpp.

References FALSE, OpenEtext::file, file_name, fillWithTitles(), i_pageNum, QString::isEmpty(), QString::length(), load(), Lview, mainList, odebug, oendl, OpenEtext::openFileTitle, qApp, showMainList, status, and title.

Referenced by initMenuBar(), initSlots(), and keyReleaseEvent().

void Gutenbrowser::PrintBtn  )  [protected, slot]
 

Definition at line 398 of file gutenbrowser.cpp.

Referenced by keyReleaseEvent().

bool Gutenbrowser::queryExit  )  [protected]
 

Definition at line 304 of file gutenbrowser.cpp.

References qApp, and writeConfig().

Referenced by ByeBye().

int Gutenbrowser::repeatSearch  )  [private]
 

void Gutenbrowser::resizeEvent QResizeEvent *   )  [protected]
 

Definition at line 1469 of file gutenbrowser.cpp.

References LibraryDlg.

void Gutenbrowser::Search  )  [private]
 

Definition at line 847 of file gutenbrowser.cpp.

References Lview, odebug, oendl, search_slot(), searchDlg, searchdone_slot(), SearchDialog::searchString, Opie::Internal::string(), and tr.

Referenced by SearchBtn().

void Gutenbrowser::search_slot  )  [private, slot]
 

Definition at line 866 of file gutenbrowser.cpp.

References col, doSearch(), SearchDialog::forward_search(), SearchDialog::get_direction(), SearchDialog::get_text(), last_search, QString::length(), lineCheck, Lview, pattern, searchDlg, Opie::Internal::string(), and TRUE.

Referenced by Search().

void Gutenbrowser::SearchBtn  )  [protected, slot]
 

Definition at line 401 of file gutenbrowser.cpp.

References loadCheck, odebug, oendl, and Search().

Referenced by initMenuBar(), initSlots(), and keyReleaseEvent().

void Gutenbrowser::searchdone_slot  )  [private, slot]
 

Definition at line 1274 of file gutenbrowser.cpp.

References last_search.

Referenced by Search().

void Gutenbrowser::searchGoogle const QString  )  [protected, slot]
 

Definition at line 1876 of file gutenbrowser.cpp.

References goGetit(), qApp, QString::replace(), and text.

Referenced by InfoBarClick(), and menuGoogle().

void Gutenbrowser::setBookmark  )  [protected, slot]
 

Definition at line 633 of file gutenbrowser.cpp.

References QFile::at(), bookmarksMenu, currentFilePos, f, file_name, i_pageNum, Lview, QString::number(), odebug, oendl, pageStopArray, qApp, Config::readEntry(), row, Config::setGroup(), title, Config::write(), and Config::writeEntry().

Referenced by initSlots().

void Gutenbrowser::setDocument const QString  )  [private, slot]
 

Definition at line 1826 of file gutenbrowser.cpp.

References AppLnk::comment(), FALSE, AppLnk::file(), load(), Lview, mainList, qApp, qWarning(), showMainList, and title.

bool Gutenbrowser::setStatus  )  [private, slot]
 

Definition at line 1286 of file gutenbrowser.cpp.

References QString::append(), QString::find(), i_pageNum, InfoBar, QString::left(), loadCheck, pages, QString::setNum(), QString::sprintf(), status, statusTop, title, and TRUE.

Referenced by BackBtn(), ForwardBtn(), and TopBtn().

bool Gutenbrowser::setTitle  )  [private]
 

Definition at line 1564 of file gutenbrowser.cpp.

References QString::contains(), f, file_name, QFileInfo::fileName(), i, listItemTitle, local_library, Config::readEntry(), Config::setGroup(), QString::setNum(), QString::toInt(), and Config::writeEntry().

Referenced by LibraryBtn().

void Gutenbrowser::slotFilePrint  )  [private, slot]
 

Definition at line 318 of file gutenbrowser.cpp.

void Gutenbrowser::toggleButtonIcons bool  usingIcons  )  [protected, slot]
 

Definition at line 283 of file gutenbrowser.cpp.

References BackButton, dictionaryButton, QPEApplication::documentDir(), ForwardButton, InfoBar, lastBmkButton, LibraryButton, Opie::Core::OResource::loadPixmap(), odebug, oendl, OpenButton, QPEApplication::qpeDir(), SearchButton, setBookmarkButton, Opie::Core::OResource::SmallIcon, TRUE, and useIcons.

Referenced by doOptions(), and Gutenbrowser().

void Gutenbrowser::TopBtn  )  [private, slot]
 

Definition at line 533 of file gutenbrowser.cpp.

References QFile::at(), currentLine, f, i_pageNum, loadCheck, Lview, odebug, oendl, pageSize, qApp, QFile::readLine(), QString::replace(), s, setStatus(), and useWrap.

Referenced by initMenuBar().

bool Gutenbrowser::UnZipIt const QString zipFile  )  [protected]
 

Definition at line 1938 of file gutenbrowser.cpp.

References QFile::exists(), QString::latin1(), QString::left(), local_library, message, odebug, oendl, remove(), tr, and TRUE.

Referenced by LibraryBtn().

void Gutenbrowser::writeConfig  )  [protected]
 

Definition at line 1629 of file gutenbrowser.cpp.

Referenced by cleanUp(), Gutenbrowser(), and queryExit().


Member Data Documentation

bool Gutenbrowser::b_queryExit [protected]
 

Definition at line 157 of file gutenbrowser.h.

Referenced by ByeBye(), doOptions(), and initConfig().

QPushButton * Gutenbrowser::BackButton
 

Definition at line 85 of file gutenbrowser.h.

Referenced by BackBtn(), enableButtons(), hideButtons(), initButtonBar(), initSlots(), keyReleaseEvent(), and toggleButtonIcons().

QPushButton * Gutenbrowser::beginButton
 

Definition at line 85 of file gutenbrowser.h.

Referenced by hideButtons().

bool Gutenbrowser::bold
 

Definition at line 90 of file gutenbrowser.h.

Referenced by ChangeFont().

QString Gutenbrowser::boldStr
 

Definition at line 68 of file gutenbrowser.h.

Referenced by ChangeFont().

QPopupMenu * Gutenbrowser::bookmarksMenu [private]
 

Definition at line 122 of file gutenbrowser.h.

Referenced by Gutenbrowser(), initButtonBar(), initSlots(), and setBookmark().

QString Gutenbrowser::brow
 

Definition at line 66 of file gutenbrowser.h.

Referenced by doOptions(), goGetit(), and initConfig().

QBoxLayout* Gutenbrowser::buttons [private]
 

Definition at line 116 of file gutenbrowser.h.

QBoxLayout* Gutenbrowser::buttons2 [private]
 

Definition at line 115 of file gutenbrowser.h.

Referenced by Gutenbrowser(), and initButtonBar().

bool Gutenbrowser::buttonsHidden
 

Definition at line 89 of file gutenbrowser.h.

Referenced by hideButtons(), and initButtonBar().

int Gutenbrowser::check
 

Definition at line 96 of file gutenbrowser.h.

QPushButton * Gutenbrowser::ClearButton
 

Definition at line 85 of file gutenbrowser.h.

Referenced by hideButtons().

int Gutenbrowser::currentFilePos [private]
 

Definition at line 124 of file gutenbrowser.h.

Referenced by BackBtn(), BeginBtn(), Bookmark(), ForwardBtn(), load(), and setBookmark().

int Gutenbrowser::currentLine [private]
 

Definition at line 124 of file gutenbrowser.h.

Referenced by BackBtn(), BeginBtn(), Bookmark(), ForwardBtn(), load(), and TopBtn().

QPushButton * Gutenbrowser::dictionaryButton
 

Definition at line 85 of file gutenbrowser.h.

Referenced by enableButtons(), hideButtons(), initButtonBar(), initSlots(), and toggleButtonIcons().

int Gutenbrowser::direction
 

Definition at line 97 of file gutenbrowser.h.

QPopupMenu * Gutenbrowser::donateMenu [private]
 

Definition at line 122 of file gutenbrowser.h.

Referenced by ClearEdit(), initMenuBar(), and load().

QPushButton* Gutenbrowser::DownloadButton
 

Definition at line 85 of file gutenbrowser.h.

Referenced by hideButtons().

QPopupMenu * Gutenbrowser::DownloadMenu [private]
 

Definition at line 122 of file gutenbrowser.h.

QPopupMenu * Gutenbrowser::editMenu [private]
 

Definition at line 122 of file gutenbrowser.h.

Referenced by enableButtons(), and initMenuBar().

QBoxLayout* Gutenbrowser::edits [private]
 

Definition at line 117 of file gutenbrowser.h.

Referenced by Gutenbrowser(), and initView().

QPushButton * Gutenbrowser::ExitButton
 

Definition at line 85 of file gutenbrowser.h.

Referenced by hideButtons().

QFile Gutenbrowser::f [private]
 

Definition at line 120 of file gutenbrowser.h.

Referenced by BackBtn(), BeginBtn(), Bookmark(), cleanUp(), ForwardBtn(), getTitle(), load(), setBookmark(), setTitle(), and TopBtn().

QString Gutenbrowser::file_name
 

Definition at line 67 of file gutenbrowser.h.

Referenced by Bookmark(), LibraryBtn(), listClickedSlot(), load(), OpenBtn(), setBookmark(), and setTitle().

int Gutenbrowser::fileHandle [private]
 

Definition at line 124 of file gutenbrowser.h.

Referenced by load().

QPopupMenu* Gutenbrowser::fileMenu [private]
 

Definition at line 122 of file gutenbrowser.h.

Referenced by initMenuBar().

QPushButton * Gutenbrowser::FontButton
 

Definition at line 85 of file gutenbrowser.h.

Referenced by hideButtons().

QString Gutenbrowser::fontStr
 

Definition at line 68 of file gutenbrowser.h.

Referenced by ChangeFont().

QPushButton * Gutenbrowser::ForwardButton
 

Definition at line 85 of file gutenbrowser.h.

Referenced by enableButtons(), ForwardBtn(), hideButtons(), initButtonBar(), initSlots(), keyReleaseEvent(), and toggleButtonIcons().

QString Gutenbrowser::ftp_base_dir
 

Definition at line 69 of file gutenbrowser.h.

Referenced by doOptions(), goGetit(), and initConfig().

QString Gutenbrowser::ftp_host
 

Definition at line 70 of file gutenbrowser.h.

Referenced by doOptions(), goGetit(), and initConfig().

QPushButton * Gutenbrowser::HelpButton
 

Definition at line 85 of file gutenbrowser.h.

Referenced by hideButtons().

QPopupMenu * Gutenbrowser::helpMenu [private]
 

Definition at line 122 of file gutenbrowser.h.

char Gutenbrowser::host[1024]
 

Definition at line 93 of file gutenbrowser.h.

int Gutenbrowser::i_pageNum
 

Definition at line 98 of file gutenbrowser.h.

Referenced by BackBtn(), BeginBtn(), Bookmark(), ClearEdit(), ForwardBtn(), LibraryBtn(), listClickedSlot(), load(), OpenBtn(), setBookmark(), setStatus(), and TopBtn().

QFile Gutenbrowser::indexLib
 

Definition at line 63 of file gutenbrowser.h.

Referenced by Gutenbrowser().

QButton* Gutenbrowser::InfoBar
 

Definition at line 62 of file gutenbrowser.h.

Referenced by ClearEdit(), enableButtons(), hideButtons(), initButtonBar(), initSlots(), setStatus(), and toggleButtonIcons().

QString Gutenbrowser::iniFile
 

Definition at line 71 of file gutenbrowser.h.

Referenced by initConfig().

bool Gutenbrowser::italic
 

Definition at line 90 of file gutenbrowser.h.

Referenced by ChangeFont(), and initView().

QString Gutenbrowser::italicStr
 

Definition at line 68 of file gutenbrowser.h.

Referenced by ChangeFont().

int Gutenbrowser::last_search [private]
 

Definition at line 125 of file gutenbrowser.h.

Referenced by doSearch(), search_slot(), and searchdone_slot().

MenuButton* Gutenbrowser::lastBmkButton
 

Definition at line 86 of file gutenbrowser.h.

Referenced by hideButtons(), initButtonBar(), and toggleButtonIcons().

int Gutenbrowser::lastScrollRow
 

Definition at line 99 of file gutenbrowser.h.

QPushButton * Gutenbrowser::LibraryButton
 

Definition at line 85 of file gutenbrowser.h.

Referenced by hideButtons(), initButtonBar(), initSlots(), and toggleButtonIcons().

LibraryDialog* Gutenbrowser::LibraryDlg
 

Definition at line 61 of file gutenbrowser.h.

Referenced by Gutenbrowser(), LibraryBtn(), and resizeEvent().

int Gutenbrowser::lineCheck
 

Definition at line 100 of file gutenbrowser.h.

Referenced by search_slot().

QString Gutenbrowser::listItemFile
 

Definition at line 72 of file gutenbrowser.h.

Referenced by LibraryBtn().

QString Gutenbrowser::listItemNumber
 

Definition at line 73 of file gutenbrowser.h.

Referenced by LibraryBtn().

QString Gutenbrowser::listItemTitle
 

Definition at line 74 of file gutenbrowser.h.

Referenced by LibraryBtn(), and setTitle().

QString Gutenbrowser::listItemYear
 

Definition at line 75 of file gutenbrowser.h.

Referenced by LibraryBtn().

bool Gutenbrowser::loadCheck
 

Definition at line 91 of file gutenbrowser.h.

Referenced by ClearEdit(), doBeginBtn(), Gutenbrowser(), keyReleaseEvent(), load(), SearchBtn(), setStatus(), and TopBtn().

QString Gutenbrowser::local_index
 

Definition at line 76 of file gutenbrowser.h.

QString Gutenbrowser::local_library
 

Definition at line 77 of file gutenbrowser.h.

Referenced by Bookmark(), downloadLibIndex(), getTitle(), goGetit(), Gutenbrowser(), initConfig(), LibraryBtn(), setTitle(), and UnZipIt().

char Gutenbrowser::login[1024]
 

Definition at line 94 of file gutenbrowser.h.

MultiLine_Ex* Gutenbrowser::Lview [private]
 

Definition at line 114 of file gutenbrowser.h.

Referenced by BackBtn(), BeginBtn(), Bookmark(), ChangeFont(), ClearEdit(), doOptions(), doSearch(), ForwardBtn(), Gutenbrowser(), hideView(), InfoBarClick(), initView(), LibraryBtn(), listClickedSlot(), load(), LookupBtn(), OpenBtn(), Search(), search_slot(), setBookmark(), setDocument(), and TopBtn().

QListBox* Gutenbrowser::mainList
 

Definition at line 64 of file gutenbrowser.h.

Referenced by Bookmark(), ClearEdit(), doOptions(), fillWithTitles(), Gutenbrowser(), hideView(), initSlots(), initView(), LibraryBtn(), listClickedSlot(), menuEditTitle(), menuGoogle(), menuOpen(), OpenBtn(), and setDocument().

QBoxLayout* Gutenbrowser::menu [private]
 

Definition at line 118 of file gutenbrowser.h.

QPEMenuBar* Gutenbrowser::menubar [private]
 

Definition at line 121 of file gutenbrowser.h.

Referenced by initMenuBar(), and keyReleaseEvent().

QString Gutenbrowser::networkUrl
 

Definition at line 78 of file gutenbrowser.h.

QFile Gutenbrowser::newindexLib
 

Definition at line 63 of file gutenbrowser.h.

Referenced by Gutenbrowser().

QPushButton * Gutenbrowser::OpenButton
 

Definition at line 85 of file gutenbrowser.h.

Referenced by hideButtons(), initButtonBar(), initSlots(), and toggleButtonIcons().

QPushButton * Gutenbrowser::OptionsButton
 

Definition at line 85 of file gutenbrowser.h.

Referenced by hideButtons().

QPopupMenu * Gutenbrowser::optionsMenu [private]
 

Definition at line 122 of file gutenbrowser.h.

Referenced by initMenuBar().

int Gutenbrowser::pages
 

Definition at line 101 of file gutenbrowser.h.

Referenced by setStatus().

QArray<int> Gutenbrowser::pageStopArray [private]
 

Definition at line 112 of file gutenbrowser.h.

Referenced by BackBtn(), BeginBtn(), Bookmark(), ForwardBtn(), load(), and setBookmark().

char Gutenbrowser::password[1024]
 

Definition at line 95 of file gutenbrowser.h.

QString Gutenbrowser::pattern
 

Definition at line 79 of file gutenbrowser.h.

Referenced by doSearch(), and search_slot().

int Gutenbrowser::pointSize
 

Definition at line 102 of file gutenbrowser.h.

Referenced by ChangeFont(), and load().

QString Gutenbrowser::pointSizeStr
 

Definition at line 68 of file gutenbrowser.h.

Referenced by ChangeFont().

QString Gutenbrowser::prefBrowser
 

Definition at line 80 of file gutenbrowser.h.

QPushButton * Gutenbrowser::PrintButton
 

Definition at line 85 of file gutenbrowser.h.

Referenced by hideButtons().

QPrinter* Gutenbrowser::printer
 

Definition at line 65 of file gutenbrowser.h.

QString Gutenbrowser::s_Wrap
 

Definition at line 81 of file gutenbrowser.h.

QPushButton * Gutenbrowser::SearchButton
 

Definition at line 85 of file gutenbrowser.h.

Referenced by enableButtons(), hideButtons(), initButtonBar(), initSlots(), and toggleButtonIcons().

SearchDialog* Gutenbrowser::searchDlg
 

Definition at line 87 of file gutenbrowser.h.

Referenced by Search(), and search_slot().

QPushButton * Gutenbrowser::setBookmarkButton
 

Definition at line 85 of file gutenbrowser.h.

Referenced by enableButtons(), hideButtons(), initButtonBar(), initSlots(), and toggleButtonIcons().

bool Gutenbrowser::showMainList [protected]
 

Definition at line 159 of file gutenbrowser.h.

Referenced by Bookmark(), ClearEdit(), doOptions(), Gutenbrowser(), LibraryBtn(), listClickedSlot(), OpenBtn(), and setDocument().

QString Gutenbrowser::status
 

Definition at line 82 of file gutenbrowser.h.

Referenced by ClearEdit(), OpenBtn(), and setStatus().

QString Gutenbrowser::statusTop
 

Definition at line 83 of file gutenbrowser.h.

Referenced by setStatus().

QString Gutenbrowser::title
 

Definition at line 84 of file gutenbrowser.h.

Referenced by Bookmark(), getTitle(), LibraryBtn(), listClickedSlot(), load(), OpenBtn(), setBookmark(), setDocument(), and setStatus().

QBoxLayout* Gutenbrowser::topLayout [private]
 

Definition at line 119 of file gutenbrowser.h.

Referenced by Gutenbrowser(), initButtonBar(), initMenuBar(), and initView().

bool Gutenbrowser::useIcons [protected]
 

Definition at line 160 of file gutenbrowser.h.

Referenced by Gutenbrowser(), initConfig(), and toggleButtonIcons().

bool Gutenbrowser::useSplitter
 

Definition at line 92 of file gutenbrowser.h.

Referenced by ChangeFont(), Gutenbrowser(), hideButtons(), initConfig(), and LibraryBtn().

bool Gutenbrowser::useWrap [private]
 

Definition at line 123 of file gutenbrowser.h.

Referenced by BackBtn(), BeginBtn(), Bookmark(), doOptions(), ForwardBtn(), initView(), load(), and TopBtn().

QPopupMenu * Gutenbrowser::viewMenu [private]
 

Definition at line 122 of file gutenbrowser.h.

int Gutenbrowser::weight
 

Definition at line 102 of file gutenbrowser.h.

Referenced by ChangeFont().

QString Gutenbrowser::weightStr
 

Definition at line 68 of file gutenbrowser.h.

Referenced by ChangeFont().

bool Gutenbrowser::working [protected]
 

Definition at line 161 of file gutenbrowser.h.

Referenced by Gutenbrowser().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:34:31 2005 for OPIE by  doxygen 1.4.2