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

OIpkgConfigDlg Class Reference

#include </home/clem/local/src/opie/noncore/settings/packagemanager/oipkgconfigdlg.h>

Collaboration diagram for OIpkgConfigDlg:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 OIpkgConfigDlg (OIpkg *ipkg=0l, bool installOptions=false, QWidget *parent=0l)

Protected Slots

void accept ()
void reject ()

Private Slots

void slotServerSelected (int index)
void slotServerNew ()
void slotServerEdit ()
void slotServerDelete ()
void slotDestSelected (int index)
void slotDestNew ()
void slotDestEdit ()
void slotDestDelete ()
void slotOptSelectSourceListsPath ()

Private Member Functions

void initServerWidget ()
void initDestinationWidget ()
void initProxyWidget ()
void initOptionsWidget ()
void initData ()

Private Attributes

OIpkgm_ipkg
OConfItemListm_configs
bool m_installOptions
int m_serverCurrent
int m_destCurrent
QVBoxLayout m_layout
Opie::Ui::OTabWidget m_tabWidget
QWidget * m_serverWidget
QWidget * m_destWidget
QWidget * m_proxyWidget
QWidget * m_optionsWidget
QListBox * m_serverList
QPushButton * m_serverEditBtn
QPushButton * m_serverDeleteBtn
QListBox * m_destList
QPushButton * m_destEditBtn
QPushButton * m_destDeleteBtn
QLineEdit * m_proxyHttpServer
QCheckBox * m_proxyHttpActive
QLineEdit * m_proxyFtpServer
QCheckBox * m_proxyFtpActive
QLineEdit * m_proxyUsername
QLineEdit * m_proxyPassword
QCheckBox * m_optForceDepends
QCheckBox * m_optForceReinstall
QCheckBox * m_optForceRemove
QCheckBox * m_optForceOverwrite
QComboBox * m_optVerboseIpkg
QLineEdit * m_optSourceLists

Constructor & Destructor Documentation

OIpkgConfigDlg::OIpkgConfigDlg OIpkg ipkg = 0l,
bool  installOptions = false,
QWidget *  parent = 0l
 

Definition at line 48 of file oipkgconfigdlg.cpp.

References Opie::Ui::OTabWidget::addTab(), initData(), initDestinationWidget(), initOptionsWidget(), initProxyWidget(), initServerWidget(), m_destWidget, m_installOptions, m_layout, m_optionsWidget, m_proxyWidget, m_serverWidget, m_tabWidget, Opie::Ui::OTabWidget::setCurrentTab(), and tr.


Member Function Documentation

void OIpkgConfigDlg::accept  )  [protected, slot]
 

Definition at line 88 of file oipkgconfigdlg.cpp.

References OIpkg::findConfItem(), FORCE_DEPENDS, FORCE_OVERWRITE, FORCE_REINSTALL, FORCE_REMOVE, listsDir, m_configs, m_installOptions, m_ipkg, m_optForceDepends, m_optForceOverwrite, m_optForceReinstall, m_optForceRemove, m_optSourceLists, m_optVerboseIpkg, m_proxyFtpActive, m_proxyFtpServer, m_proxyHttpActive, m_proxyHttpServer, m_proxyPassword, m_proxyUsername, QString::null, OConfItem::Option, OConfItem::Other, OConfItem::setActive(), OIpkg::setConfigItems(), OIpkg::setIpkgExecOptions(), OIpkg::setIpkgExecVerbosity(), and OConfItem::setValue().

void OIpkgConfigDlg::initData  )  [private]
 

Definition at line 370 of file oipkgconfigdlg.cpp.

References OIpkg::configItems(), OConfItem::Destination, FORCE_DEPENDS, FORCE_OVERWRITE, FORCE_REINSTALL, FORCE_REMOVE, OIpkg::ipkgExecOptions(), OIpkg::ipkgExecVerbosity(), m_configs, m_destList, m_installOptions, m_ipkg, m_optForceDepends, m_optForceOverwrite, m_optForceReinstall, m_optForceRemove, m_optSourceLists, m_optVerboseIpkg, m_proxyFtpActive, m_proxyFtpServer, m_proxyHttpActive, m_proxyHttpServer, m_proxyPassword, m_proxyUsername, m_serverList, OConfItem::Option, OConfItem::Other, and OConfItem::Source.

Referenced by OIpkgConfigDlg().

void OIpkgConfigDlg::initDestinationWidget  )  [private]
 

Definition at line 209 of file oipkgconfigdlg.cpp.

References add, Opie::Core::OResource::loadPixmap(), m_destDeleteBtn, m_destEditBtn, m_destList, m_destWidget, slotDestDelete(), slotDestEdit(), slotDestNew(), slotDestSelected(), Opie::Core::OResource::SmallIcon, AppLnk::smallIconSize(), and tr.

Referenced by OIpkgConfigDlg().

void OIpkgConfigDlg::initOptionsWidget  )  [private]
 

Definition at line 309 of file oipkgconfigdlg.cpp.

References add, l, Opie::Core::OResource::loadPixmap(), m_optForceDepends, m_optForceOverwrite, m_optForceReinstall, m_optForceRemove, m_optionsWidget, m_optSourceLists, m_optVerboseIpkg, QString::null, slotOptSelectSourceListsPath(), Opie::Core::OResource::SmallIcon, AppLnk::smallIconSize(), and tr.

Referenced by OIpkgConfigDlg().

void OIpkgConfigDlg::initProxyWidget  )  [private]
 

Definition at line 253 of file oipkgconfigdlg.cpp.

References add, m_proxyFtpActive, m_proxyFtpServer, m_proxyHttpActive, m_proxyHttpServer, m_proxyPassword, m_proxyUsername, m_proxyWidget, tr, and Qt::Vertical.

Referenced by OIpkgConfigDlg().

void OIpkgConfigDlg::initServerWidget  )  [private]
 

Definition at line 165 of file oipkgconfigdlg.cpp.

References add, Opie::Core::OResource::loadPixmap(), m_serverDeleteBtn, m_serverEditBtn, m_serverList, m_serverWidget, slotServerDelete(), slotServerEdit(), slotServerNew(), slotServerSelected(), Opie::Core::OResource::SmallIcon, AppLnk::smallIconSize(), and tr.

Referenced by OIpkgConfigDlg().

void OIpkgConfigDlg::reject  )  [protected, slot]
 

Definition at line 159 of file oipkgconfigdlg.cpp.

References m_configs.

void OIpkgConfigDlg::slotDestDelete  )  [private, slot]
 

Definition at line 547 of file oipkgconfigdlg.cpp.

References OConfItem::Destination, OIpkg::findConfItem(), m_configs, m_destCurrent, m_destList, and m_ipkg.

Referenced by initDestinationWidget().

void OIpkgConfigDlg::slotDestEdit  )  [private, slot]
 

Definition at line 528 of file oipkgconfigdlg.cpp.

References OConfItem::Destination, QPEApplication::execDialog(), OIpkg::findConfItem(), m_destCurrent, m_destList, m_ipkg, and OConfItem::name().

Referenced by initDestinationWidget().

void OIpkgConfigDlg::slotDestNew  )  [private, slot]
 

Definition at line 509 of file oipkgconfigdlg.cpp.

References Opie::MM::dest, OConfItem::Destination, QPEApplication::execDialog(), m_configs, and m_destList.

Referenced by initDestinationWidget().

void OIpkgConfigDlg::slotDestSelected int  index  )  [private, slot]
 

Definition at line 500 of file oipkgconfigdlg.cpp.

References m_destCurrent, m_destDeleteBtn, and m_destEditBtn.

Referenced by initDestinationWidget().

void OIpkgConfigDlg::slotOptSelectSourceListsPath  )  [private, slot]
 

Definition at line 560 of file oipkgconfigdlg.cpp.

References QString::at(), Opie::Ui::OFileDialog::getDirectory(), QString::isNull(), QString::length(), m_optSourceLists, and QString::truncate().

Referenced by initOptionsWidget().

void OIpkgConfigDlg::slotServerDelete  )  [private, slot]
 

Definition at line 487 of file oipkgconfigdlg.cpp.

References OIpkg::findConfItem(), m_configs, m_ipkg, m_serverCurrent, m_serverList, server, and OConfItem::Source.

Referenced by initServerWidget().

void OIpkgConfigDlg::slotServerEdit  )  [private, slot]
 

Definition at line 468 of file oipkgconfigdlg.cpp.

References QPEApplication::execDialog(), OIpkg::findConfItem(), m_ipkg, m_serverCurrent, m_serverList, OConfItem::name(), and OConfItem::Source.

Referenced by initServerWidget().

void OIpkgConfigDlg::slotServerNew  )  [private, slot]
 

Definition at line 449 of file oipkgconfigdlg.cpp.

References QPEApplication::execDialog(), m_configs, m_serverList, server, and OConfItem::Source.

Referenced by initServerWidget().

void OIpkgConfigDlg::slotServerSelected int  index  )  [private, slot]
 

Definition at line 440 of file oipkgconfigdlg.cpp.

References m_serverCurrent, m_serverDeleteBtn, and m_serverEditBtn.

Referenced by initServerWidget().


Member Data Documentation

OConfItemList* OIpkgConfigDlg::m_configs [private]
 

Definition at line 60 of file oipkgconfigdlg.h.

Referenced by accept(), initData(), reject(), slotDestDelete(), slotDestNew(), slotServerDelete(), and slotServerNew().

int OIpkgConfigDlg::m_destCurrent [private]
 

Definition at line 66 of file oipkgconfigdlg.h.

Referenced by slotDestDelete(), slotDestEdit(), and slotDestSelected().

QPushButton* OIpkgConfigDlg::m_destDeleteBtn [private]
 

Definition at line 84 of file oipkgconfigdlg.h.

Referenced by initDestinationWidget(), and slotDestSelected().

QPushButton* OIpkgConfigDlg::m_destEditBtn [private]
 

Definition at line 83 of file oipkgconfigdlg.h.

Referenced by initDestinationWidget(), and slotDestSelected().

QListBox* OIpkgConfigDlg::m_destList [private]
 

Definition at line 82 of file oipkgconfigdlg.h.

Referenced by initData(), initDestinationWidget(), slotDestDelete(), slotDestEdit(), and slotDestNew().

QWidget* OIpkgConfigDlg::m_destWidget [private]
 

Definition at line 72 of file oipkgconfigdlg.h.

Referenced by initDestinationWidget(), and OIpkgConfigDlg().

bool OIpkgConfigDlg::m_installOptions [private]
 

Definition at line 62 of file oipkgconfigdlg.h.

Referenced by accept(), initData(), and OIpkgConfigDlg().

OIpkg* OIpkgConfigDlg::m_ipkg [private]
 

Definition at line 59 of file oipkgconfigdlg.h.

Referenced by accept(), initData(), slotDestDelete(), slotDestEdit(), slotServerDelete(), and slotServerEdit().

QVBoxLayout OIpkgConfigDlg::m_layout [private]
 

Definition at line 69 of file oipkgconfigdlg.h.

Referenced by OIpkgConfigDlg().

QCheckBox* OIpkgConfigDlg::m_optForceDepends [private]
 

Definition at line 95 of file oipkgconfigdlg.h.

Referenced by accept(), initData(), and initOptionsWidget().

QCheckBox* OIpkgConfigDlg::m_optForceOverwrite [private]
 

Definition at line 98 of file oipkgconfigdlg.h.

Referenced by accept(), initData(), and initOptionsWidget().

QCheckBox* OIpkgConfigDlg::m_optForceReinstall [private]
 

Definition at line 96 of file oipkgconfigdlg.h.

Referenced by accept(), initData(), and initOptionsWidget().

QCheckBox* OIpkgConfigDlg::m_optForceRemove [private]
 

Definition at line 97 of file oipkgconfigdlg.h.

Referenced by accept(), initData(), and initOptionsWidget().

QWidget* OIpkgConfigDlg::m_optionsWidget [private]
 

Definition at line 74 of file oipkgconfigdlg.h.

Referenced by initOptionsWidget(), and OIpkgConfigDlg().

QLineEdit* OIpkgConfigDlg::m_optSourceLists [private]
 

Definition at line 100 of file oipkgconfigdlg.h.

Referenced by accept(), initData(), initOptionsWidget(), and slotOptSelectSourceListsPath().

QComboBox* OIpkgConfigDlg::m_optVerboseIpkg [private]
 

Definition at line 99 of file oipkgconfigdlg.h.

Referenced by accept(), initData(), and initOptionsWidget().

QCheckBox* OIpkgConfigDlg::m_proxyFtpActive [private]
 

Definition at line 90 of file oipkgconfigdlg.h.

Referenced by accept(), initData(), and initProxyWidget().

QLineEdit* OIpkgConfigDlg::m_proxyFtpServer [private]
 

Definition at line 89 of file oipkgconfigdlg.h.

Referenced by accept(), initData(), and initProxyWidget().

QCheckBox* OIpkgConfigDlg::m_proxyHttpActive [private]
 

Definition at line 88 of file oipkgconfigdlg.h.

Referenced by accept(), initData(), and initProxyWidget().

QLineEdit* OIpkgConfigDlg::m_proxyHttpServer [private]
 

Definition at line 87 of file oipkgconfigdlg.h.

Referenced by accept(), initData(), and initProxyWidget().

QLineEdit* OIpkgConfigDlg::m_proxyPassword [private]
 

Definition at line 92 of file oipkgconfigdlg.h.

Referenced by accept(), initData(), and initProxyWidget().

QLineEdit* OIpkgConfigDlg::m_proxyUsername [private]
 

Definition at line 91 of file oipkgconfigdlg.h.

Referenced by accept(), initData(), and initProxyWidget().

QWidget* OIpkgConfigDlg::m_proxyWidget [private]
 

Definition at line 73 of file oipkgconfigdlg.h.

Referenced by initProxyWidget(), and OIpkgConfigDlg().

int OIpkgConfigDlg::m_serverCurrent [private]
 

Definition at line 65 of file oipkgconfigdlg.h.

Referenced by slotServerDelete(), slotServerEdit(), and slotServerSelected().

QPushButton* OIpkgConfigDlg::m_serverDeleteBtn [private]
 

Definition at line 79 of file oipkgconfigdlg.h.

Referenced by initServerWidget(), and slotServerSelected().

QPushButton* OIpkgConfigDlg::m_serverEditBtn [private]
 

Definition at line 78 of file oipkgconfigdlg.h.

Referenced by initServerWidget(), and slotServerSelected().

QListBox* OIpkgConfigDlg::m_serverList [private]
 

Definition at line 77 of file oipkgconfigdlg.h.

Referenced by initData(), initServerWidget(), slotServerDelete(), slotServerEdit(), and slotServerNew().

QWidget* OIpkgConfigDlg::m_serverWidget [private]
 

Definition at line 71 of file oipkgconfigdlg.h.

Referenced by initServerWidget(), and OIpkgConfigDlg().

Opie::Ui::OTabWidget OIpkgConfigDlg::m_tabWidget [private]
 

Definition at line 70 of file oipkgconfigdlg.h.

Referenced by OIpkgConfigDlg().


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