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

optionsDialog Class Reference

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

Collaboration diagram for optionsDialog:

Collaboration graph
[legend]
List of all members.

Public Slots

void getConfig ()
void getSite ()
void select_site (const char *index)
void getSelection (QListBoxItem *item)

Public Member Functions

 optionsDialog (QWidget *parent=0, const char *name=0, bool modal=FALSE, WFlags fl=0)
 ~optionsDialog ()
void initDialog ()
void initConnections ()
bool parseFtpList (QString outputFile)

Public Attributes

QListBox * listBox
QListBox * http_ListBox1
QPushButton * buttonOk
QPushButton * fontChangeButton
QPushButton * PushButton_Browse
QTabWidget * tabWidget
QWidget * tab
QWidget * Widget3
QWidget * Widget2
QWidget * fontWidget
QCheckBox * Ftp_CheckBox
QCheckBox * Http_CheckBox
QString s_Wrap
QCheckBox * useWordWrap_CheckBox
QCheckBox * cb_queryExit
bool b_qExit
QLabel * TextLabel2
QLabel * TextLabel3
QListBox * ftp_QListBox_1
QPushButton * ftp_DownloadButton
QLabel * TextLabel3_3
QLabel * TextLabel4
QLabel * TextLabel5
QComboBox * ComboBox1
QLineEdit * downloadDirEdit
 * * ComboBoxStyle,*/ ;
bool changedFonts
QString ftp_base_dir
QString ftp_host
QString brow
QString local_library
bool useIcon
QString ftpSite
QString ListFile
QString s_site
QString host
QString base_dir
QString browserName
FontDialogfontDlg

Protected Slots

void listBoxMainSel (int index)
void setHttp (int)
void select_title (int index)
void BrowseSelected ()

Protected Member Functions

void openSiteList ()
void doOptions ()
 optionsDialog
void ftpSiteDlg ()
void BrowserDlg ()

Private Slots

void slotWordWrap (bool)
void slotQueryExit ()
void changeFonts ()

Constructor & Destructor Documentation

optionsDialog::optionsDialog QWidget *  parent = 0,
const char *  name = 0,
bool  modal = FALSE,
WFlags  fl = 0
 

Definition at line 53 of file optionsDialog.cpp.

References b_qExit, BrowserDlg(), changedFonts, FALSE, ftpSiteDlg(), initDialog(), and TRUE.

optionsDialog::~optionsDialog  ) 
 

Definition at line 69 of file optionsDialog.cpp.


Member Function Documentation

void optionsDialog::BrowserDlg  )  [protected]
 

Definition at line 22 of file browserDialog.cpp.

References http_ListBox1, and tr.

Referenced by optionsDialog().

void optionsDialog::BrowseSelected  )  [protected, slot]
 

Definition at line 39 of file browserDialog.cpp.

References QPEApplication::documentDir(), OFileDialog::getOpenFileName(), QMap< Key, T >::insert(), QString::isEmpty(), QString::isNull(), QString::null, Config::readEntry(), str, text, and tr.

Referenced by initConnections().

void optionsDialog::changeFonts  )  [private, slot]
 

Definition at line 201 of file optionsDialog.cpp.

References changedFonts, and TRUE.

void optionsDialog::doOptions  )  [protected]
 

optionsDialog

Definition at line 76 of file optionsDialog.cpp.

References getConfig().

Referenced by initDialog().

void optionsDialog::ftpSiteDlg  )  [protected]
 

Definition at line 33 of file ftpsitedlg.cpp.

References QDir::exists(), getSite(), QDir::homeDirPath(), ListFile, local_library, QDir::mkdir(), openSiteList(), qDebug(), QPEApplication::qpeDir(), and warning().

Referenced by optionsDialog().

void optionsDialog::getConfig  )  [slot]
 

Definition at line 82 of file optionsDialog.cpp.

References b_qExit, brow, browserName, cb_queryExit, ComboBox1, downloadDirEdit, FALSE, ftp_base_dir, Ftp_CheckBox, ftp_host, local_library, odebug, oendl, Config::readBoolEntry(), Config::readEntry(), Config::setGroup(), TextLabel3, TextLabel3_3, TRUE, and useWordWrap_CheckBox.

Referenced by doOptions().

void optionsDialog::getSelection QListBoxItem *  item  )  [slot]
 

Definition at line 217 of file ftpsitedlg.cpp.

References select_site().

Referenced by initConnections().

void optionsDialog::getSite  )  [slot]
 

Definition at line 65 of file ftpsitedlg.cpp.

References FALSE, ftp_QListBox_1, ListFile, Output::OutputEdit, parseFtpList(), qApp, qDebug(), tr, and TRUE.

Referenced by Gutenbrowser::downloadFtpList(), ftpSiteDlg(), and initConnections().

void optionsDialog::initConnections  ) 
 

Definition at line 141 of file optionsDialogData.cpp.

References BrowseSelected(), cb_queryExit, ftp_DownloadButton, ftp_QListBox_1, getSelection(), getSite(), http_ListBox1, PushButton_Browse, select_title(), slotQueryExit(), slotWordWrap(), and useWordWrap_CheckBox.

Referenced by initDialog().

void optionsDialog::initDialog  ) 
 

Definition at line 23 of file optionsDialogData.cpp.

References cb_queryExit, ComboBox1, doOptions(), downloadDirEdit, FALSE, fontDlg, Ftp_CheckBox, ftp_DownloadButton, ftp_QListBox_1, QDir::homeDirPath(), http_ListBox1, initConnections(), local_library, PushButton_Browse, tab, tabWidget, TextLabel3, TextLabel3_3, tr, useWordWrap_CheckBox, Widget2, and Widget3.

Referenced by optionsDialog().

void optionsDialog::listBoxMainSel int  index  )  [protected, slot]
 

Definition at line 169 of file optionsDialogData.cpp.

References tabWidget.

void optionsDialog::openSiteList  )  [protected]
 

Definition at line 192 of file ftpsitedlg.cpp.

References QTextStream::atEnd(), QFile::close(), f, ftp_host, ftp_QListBox_1, ftpSite, IO_ReadWrite, ListFile, message, QFile::open(), qDebug(), QTextStream::readLine(), t, tr, and TRUE.

Referenced by ftpSiteDlg().

bool optionsDialog::parseFtpList QString  outputFile  ) 
 

Definition at line 116 of file ftpsitedlg.cpp.

References QFile::close(), end, QTextStream::eof(), f, QString::find(), ftp_QListBox_1, ftpSite, IO_ReadWrite, IO_Truncate, QString::latin1(), QString::length(), ListFile, message, QString::mid(), QFile::open(), qDebug(), QTextStream::readLine(), QString::right(), s, start, t, tr, TRUE, and QFile::writeBlock().

Referenced by getSite().

void optionsDialog::select_site const char *  index  )  [slot]
 

Definition at line 226 of file ftpsitedlg.cpp.

References FALSE, QString::find(), ftp_base_dir, ftp_host, QString::left(), QString::length(), qDebug(), QString::right(), s_site, Config::setGroup(), TextLabel3, TRUE, and Config::writeEntry().

Referenced by getSelection().

void optionsDialog::select_title int  index  )  [protected, slot]
 

Definition at line 30 of file browserDialog.cpp.

References browserName, http_ListBox1, printf, Config::setGroup(), TextLabel3_3, and Config::writeEntry().

Referenced by initConnections().

void optionsDialog::setHttp int   )  [protected, slot]
 

Definition at line 77 of file browserDialog.cpp.

References odebug, oendl, Config::setGroup(), and Config::writeEntry().

void optionsDialog::slotQueryExit  )  [private, slot]
 

Definition at line 174 of file optionsDialog.cpp.

References b_qExit, cb_queryExit, FALSE, odebug, oendl, Config::setGroup(), TRUE, Config::write(), and Config::writeEntry().

Referenced by initConnections().

void optionsDialog::slotWordWrap bool   )  [private, slot]
 

Definition at line 207 of file optionsDialog.cpp.

References Config::setGroup(), Config::write(), and Config::writeEntry().

Referenced by initConnections().


Member Data Documentation

bool optionsDialog::b_qExit
 

Definition at line 54 of file optionsDialog.h.

Referenced by Gutenbrowser::doOptions(), getConfig(), optionsDialog(), and slotQueryExit().

QString optionsDialog::base_dir
 

Definition at line 73 of file optionsDialog.h.

QString optionsDialog::brow
 

Definition at line 68 of file optionsDialog.h.

Referenced by getConfig().

QString optionsDialog::browserName
 

Definition at line 73 of file optionsDialog.h.

Referenced by Gutenbrowser::doOptions(), getConfig(), and select_title().

QPushButton* optionsDialog::buttonOk
 

Definition at line 46 of file optionsDialog.h.

QCheckBox* optionsDialog::cb_queryExit
 

Definition at line 53 of file optionsDialog.h.

Referenced by getConfig(), initConnections(), initDialog(), and slotQueryExit().

bool optionsDialog::changedFonts
 

Definition at line 61 of file optionsDialog.h.

Referenced by changeFonts(), and optionsDialog().

QComboBox* optionsDialog::ComboBox1
 

Definition at line 59 of file optionsDialog.h.

Referenced by getConfig(), and initDialog().

QLineEdit* optionsDialog::downloadDirEdit
 

* * ComboBoxStyle,*/ ;

Definition at line 60 of file optionsDialog.h.

Referenced by Gutenbrowser::doOptions(), getConfig(), and initDialog().

QPushButton * optionsDialog::fontChangeButton
 

Definition at line 46 of file optionsDialog.h.

FontDialog* optionsDialog::fontDlg
 

Definition at line 76 of file optionsDialog.h.

Referenced by Gutenbrowser::doOptions(), and initDialog().

QWidget * optionsDialog::fontWidget
 

Definition at line 48 of file optionsDialog.h.

QString optionsDialog::ftp_base_dir
 

Definition at line 68 of file optionsDialog.h.

Referenced by Gutenbrowser::doOptions(), getConfig(), and select_site().

QCheckBox* optionsDialog::Ftp_CheckBox
 

Definition at line 49 of file optionsDialog.h.

Referenced by getConfig(), and initDialog().

QPushButton* optionsDialog::ftp_DownloadButton
 

Definition at line 57 of file optionsDialog.h.

Referenced by initConnections(), and initDialog().

QString optionsDialog::ftp_host
 

Definition at line 68 of file optionsDialog.h.

Referenced by Gutenbrowser::doOptions(), getConfig(), openSiteList(), and select_site().

QListBox* optionsDialog::ftp_QListBox_1
 

Definition at line 56 of file optionsDialog.h.

Referenced by getSite(), initConnections(), initDialog(), openSiteList(), and parseFtpList().

QString optionsDialog::ftpSite
 

Definition at line 73 of file optionsDialog.h.

Referenced by openSiteList(), and parseFtpList().

QString optionsDialog::host
 

Definition at line 73 of file optionsDialog.h.

QCheckBox * optionsDialog::Http_CheckBox
 

Definition at line 49 of file optionsDialog.h.

QListBox * optionsDialog::http_ListBox1
 

Definition at line 45 of file optionsDialog.h.

Referenced by BrowserDlg(), initConnections(), initDialog(), and select_title().

QListBox* optionsDialog::listBox
 

Definition at line 45 of file optionsDialog.h.

QString optionsDialog::ListFile
 

Definition at line 73 of file optionsDialog.h.

Referenced by ftpSiteDlg(), getSite(), openSiteList(), and parseFtpList().

QString optionsDialog::local_library
 

Definition at line 68 of file optionsDialog.h.

Referenced by ftpSiteDlg(), getConfig(), and initDialog().

QPushButton * optionsDialog::PushButton_Browse
 

Definition at line 46 of file optionsDialog.h.

Referenced by initConnections(), and initDialog().

QString optionsDialog::s_site
 

Definition at line 73 of file optionsDialog.h.

Referenced by select_site().

QString optionsDialog::s_Wrap
 

Definition at line 50 of file optionsDialog.h.

QWidget* optionsDialog::tab
 

Definition at line 48 of file optionsDialog.h.

Referenced by initDialog().

QTabWidget* optionsDialog::tabWidget
 

Definition at line 47 of file optionsDialog.h.

Referenced by initDialog(), and listBoxMainSel().

QLabel* optionsDialog::TextLabel2
 

Definition at line 55 of file optionsDialog.h.

QLabel * optionsDialog::TextLabel3
 

Definition at line 55 of file optionsDialog.h.

Referenced by getConfig(), initDialog(), and select_site().

QLabel* optionsDialog::TextLabel3_3
 

Definition at line 58 of file optionsDialog.h.

Referenced by getConfig(), initDialog(), and select_title().

QLabel * optionsDialog::TextLabel4
 

Definition at line 58 of file optionsDialog.h.

QLabel * optionsDialog::TextLabel5
 

Definition at line 58 of file optionsDialog.h.

bool optionsDialog::useIcon
 

Definition at line 71 of file optionsDialog.h.

Referenced by Gutenbrowser::doOptions().

QCheckBox* optionsDialog::useWordWrap_CheckBox
 

Definition at line 52 of file optionsDialog.h.

Referenced by Gutenbrowser::doOptions(), getConfig(), initConnections(), and initDialog().

QWidget * optionsDialog::Widget2
 

Definition at line 48 of file optionsDialog.h.

Referenced by initDialog().

QWidget * optionsDialog::Widget3
 

Definition at line 48 of file optionsDialog.h.

Referenced by initDialog().


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