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

SettingsImpl Class Reference

#include </home/clem/local/src/opie/noncore/settings/aqpkg/settingsimpl.h>

Collaboration diagram for SettingsImpl:

Collaboration graph
[legend]
List of all members.

Public Slots

void editServer (int s)
void changeServerDetails ()
void newServer ()
void removeServer ()
void editDestination (int s)
void changeDestinationDetails ()
void newDestination ()
void removeDestination ()
void proxyApplyChanges ()

Public Member Functions

 SettingsImpl (DataManager *dataManager, QWidget *parent=0, const char *name=0, bool modal=FALSE, WFlags fl=0)
 ~SettingsImpl ()
bool showDlg ()

Private Member Functions

QWidget * initServerTab ()
QWidget * initDestinationTab ()
QWidget * initProxyTab ()
void setupConnections ()
void setupData ()

Private Attributes

QListBox * servers
QLineEdit * servername
QLineEdit * serverurl
QCheckBox * active
QListBox * destinations
QLineEdit * destinationname
QLineEdit * destinationurl
QCheckBox * linkToRoot
QLineEdit * txtHttpProxy
QCheckBox * chkHttpProxyEnabled
QLineEdit * txtFtpProxy
QCheckBox * chkFtpProxyEnabled
QLineEdit * txtUsername
QLineEdit * txtPassword
DataManagerdataMgr
QString serverName
QString destinationName
int currentSelectedServer
int currentSelectedDestination
bool changed
bool newserver
bool newdestination

Constructor & Destructor Documentation

SettingsImpl::SettingsImpl DataManager dataManager,
QWidget *  parent = 0,
const char *  name = 0,
bool  modal = FALSE,
WFlags  fl = 0
 

Definition at line 50 of file settingsimpl.cpp.

References Opie::Ui::OTabWidget::addTab(), changed, dataMgr, initDestinationTab(), initProxyTab(), initServerTab(), newdestination, newserver, Opie::Ui::OTabWidget::setCurrentTab(), setupData(), and tr.

SettingsImpl::~SettingsImpl  ) 
 

Definition at line 76 of file settingsimpl.cpp.


Member Function Documentation

void SettingsImpl::changeDestinationDetails  )  [slot]
 

Definition at line 425 of file settingsimpl.cpp.

References changed, d, dataMgr, destinationName, destinationname, destinations, destinationurl, DataManager::getDestination(), DataManager::getDestinationList(), linkToRoot, newdestination, Config::setGroup(), val, and Config::writeEntry().

Referenced by initDestinationTab().

void SettingsImpl::changeServerDetails  )  [slot]
 

Definition at line 332 of file settingsimpl.cpp.

References active, changed, dataMgr, DataManager::getServer(), DataManager::getServerList(), i, QString::latin1(), QString::length(), newserver, s, serverName, servername, servers, and serverurl.

Referenced by initServerTab().

void SettingsImpl::editDestination int  s  )  [slot]
 

Definition at line 385 of file settingsimpl.cpp.

References currentSelectedDestination, d, dataMgr, destinationname, destinationName, destinations, destinationurl, DataManager::getDestination(), Destination::getDestinationName(), Destination::getDestinationPath(), Destination::linkToRoot(), and linkToRoot.

Referenced by initDestinationTab().

void SettingsImpl::editServer int  s  )  [slot]
 

Definition at line 292 of file settingsimpl.cpp.

References active, currentSelectedServer, dataMgr, DataManager::getServer(), Server::getServerName(), Server::getServerUrl(), Server::isServerActive(), s, servername, serverName, servers, and serverurl.

Referenced by initServerTab().

QWidget * SettingsImpl::initDestinationTab  )  [private]
 

Definition at line 148 of file settingsimpl.cpp.

References changeDestinationDetails(), destinationname, destinations, destinationurl, editDestination(), linkToRoot, Opie::Core::OResource::loadPixmap(), newDestination(), removeDestination(), Opie::Core::OResource::SmallIcon, tr, and Qt::Vertical.

Referenced by SettingsImpl().

QWidget * SettingsImpl::initProxyTab  )  [private]
 

Definition at line 206 of file settingsimpl.cpp.

References chkFtpProxyEnabled, chkHttpProxyEnabled, Opie::Core::OResource::loadPixmap(), proxyApplyChanges(), Opie::Core::OResource::SmallIcon, tr, txtFtpProxy, txtHttpProxy, txtPassword, txtUsername, and Qt::Vertical.

Referenced by SettingsImpl().

QWidget * SettingsImpl::initServerTab  )  [private]
 

Definition at line 89 of file settingsimpl.cpp.

References active, changeServerDetails(), editServer(), Opie::Core::OResource::loadPixmap(), newServer(), removeServer(), servername, servers, serverurl, Opie::Core::OResource::SmallIcon, tr, and Qt::Vertical.

Referenced by SettingsImpl().

void SettingsImpl::newDestination  )  [slot]
 

Definition at line 405 of file settingsimpl.cpp.

References destinationname, destinationurl, linkToRoot, and newdestination.

Referenced by initDestinationTab().

void SettingsImpl::newServer  )  [slot]
 

Definition at line 312 of file settingsimpl.cpp.

References active, newserver, servername, and serverurl.

Referenced by initServerTab().

void SettingsImpl::proxyApplyChanges  )  [slot]
 

Definition at line 480 of file settingsimpl.cpp.

References changed, chkFtpProxyEnabled, chkHttpProxyEnabled, dataMgr, DataManager::setFtpProxy(), DataManager::setFtpProxyEnabled(), DataManager::setHttpProxy(), DataManager::setHttpProxyEnabled(), DataManager::setProxyPassword(), DataManager::setProxyUsername(), txtFtpProxy, txtHttpProxy, txtPassword, and txtUsername.

Referenced by initProxyTab().

void SettingsImpl::removeDestination  )  [slot]
 

Definition at line 414 of file settingsimpl.cpp.

References changed, currentSelectedDestination, d, dataMgr, destinations, DataManager::getDestination(), and DataManager::getDestinationList().

Referenced by initDestinationTab().

void SettingsImpl::removeServer  )  [slot]
 

Definition at line 321 of file settingsimpl.cpp.

References changed, currentSelectedServer, dataMgr, DataManager::getServer(), DataManager::getServerList(), s, and servers.

Referenced by initServerTab().

void SettingsImpl::setupConnections  )  [private]
 

void SettingsImpl::setupData  )  [private]
 

Definition at line 261 of file settingsimpl.cpp.

References chkFtpProxyEnabled, chkHttpProxyEnabled, dataMgr, destinations, DataManager::getDestinationList(), DataManager::getFtpProxy(), DataManager::getFtpProxyEnabled(), DataManager::getHttpProxy(), DataManager::getHttpProxyEnabled(), DataManager::getProxyPassword(), DataManager::getProxyUsername(), DataManager::getServerList(), LOCAL_IPKGS, LOCAL_SERVER, serverName, servers, txtFtpProxy, txtHttpProxy, txtPassword, and txtUsername.

Referenced by SettingsImpl().

bool SettingsImpl::showDlg  ) 
 

Definition at line 80 of file settingsimpl.cpp.

References changed, dataMgr, QPEApplication::execDialog(), and DataManager::writeOutIpkgConf().

Referenced by MainWindow::displaySettings().


Member Data Documentation

QCheckBox* SettingsImpl::active [private]
 

Definition at line 51 of file settingsimpl.h.

Referenced by changeServerDetails(), editServer(), initServerTab(), and newServer().

bool SettingsImpl::changed [private]
 

Definition at line 68 of file settingsimpl.h.

Referenced by changeDestinationDetails(), changeServerDetails(), proxyApplyChanges(), removeDestination(), removeServer(), SettingsImpl(), and showDlg().

QCheckBox* SettingsImpl::chkFtpProxyEnabled [private]
 

Definition at line 59 of file settingsimpl.h.

Referenced by initProxyTab(), proxyApplyChanges(), and setupData().

QCheckBox* SettingsImpl::chkHttpProxyEnabled [private]
 

Definition at line 57 of file settingsimpl.h.

Referenced by initProxyTab(), proxyApplyChanges(), and setupData().

int SettingsImpl::currentSelectedDestination [private]
 

Definition at line 67 of file settingsimpl.h.

Referenced by editDestination(), and removeDestination().

int SettingsImpl::currentSelectedServer [private]
 

Definition at line 66 of file settingsimpl.h.

Referenced by editServer(), and removeServer().

DataManager* SettingsImpl::dataMgr [private]
 

Definition at line 63 of file settingsimpl.h.

Referenced by changeDestinationDetails(), changeServerDetails(), editDestination(), editServer(), proxyApplyChanges(), removeDestination(), removeServer(), SettingsImpl(), setupData(), and showDlg().

QString SettingsImpl::destinationName [private]
 

Definition at line 65 of file settingsimpl.h.

Referenced by changeDestinationDetails(), and editDestination().

QLineEdit* SettingsImpl::destinationname [private]
 

Definition at line 53 of file settingsimpl.h.

Referenced by changeDestinationDetails(), editDestination(), initDestinationTab(), and newDestination().

QListBox* SettingsImpl::destinations [private]
 

Definition at line 52 of file settingsimpl.h.

Referenced by changeDestinationDetails(), editDestination(), initDestinationTab(), removeDestination(), and setupData().

QLineEdit* SettingsImpl::destinationurl [private]
 

Definition at line 54 of file settingsimpl.h.

Referenced by changeDestinationDetails(), editDestination(), initDestinationTab(), and newDestination().

QCheckBox* SettingsImpl::linkToRoot [private]
 

Definition at line 55 of file settingsimpl.h.

Referenced by changeDestinationDetails(), editDestination(), initDestinationTab(), and newDestination().

bool SettingsImpl::newdestination [private]
 

Definition at line 70 of file settingsimpl.h.

Referenced by changeDestinationDetails(), newDestination(), and SettingsImpl().

bool SettingsImpl::newserver [private]
 

Definition at line 69 of file settingsimpl.h.

Referenced by changeServerDetails(), newServer(), and SettingsImpl().

QString SettingsImpl::serverName [private]
 

Definition at line 64 of file settingsimpl.h.

Referenced by changeServerDetails(), editServer(), and setupData().

QLineEdit* SettingsImpl::servername [private]
 

Definition at line 49 of file settingsimpl.h.

Referenced by changeServerDetails(), editServer(), initServerTab(), and newServer().

QListBox* SettingsImpl::servers [private]
 

Definition at line 48 of file settingsimpl.h.

Referenced by changeServerDetails(), editServer(), initServerTab(), removeServer(), and setupData().

QLineEdit* SettingsImpl::serverurl [private]
 

Definition at line 50 of file settingsimpl.h.

Referenced by changeServerDetails(), editServer(), initServerTab(), and newServer().

QLineEdit* SettingsImpl::txtFtpProxy [private]
 

Definition at line 58 of file settingsimpl.h.

Referenced by initProxyTab(), proxyApplyChanges(), and setupData().

QLineEdit* SettingsImpl::txtHttpProxy [private]
 

Definition at line 56 of file settingsimpl.h.

Referenced by initProxyTab(), proxyApplyChanges(), and setupData().

QLineEdit* SettingsImpl::txtPassword [private]
 

Definition at line 61 of file settingsimpl.h.

Referenced by initProxyTab(), proxyApplyChanges(), and setupData().

QLineEdit* SettingsImpl::txtUsername [private]
 

Definition at line 60 of file settingsimpl.h.

Referenced by initProxyTab(), proxyApplyChanges(), and setupData().


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