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

ProfileEditorDialog Class Reference

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

Collaboration diagram for ProfileEditorDialog:

Collaboration graph
[legend]
List of all members.

Public Slots

void accept ()

Public Member Functions

 ProfileEditorDialog (MetaFactory *fact, const Profile &prof)
 ProfileEditorDialog (MetaFactory *fact)
 ~ProfileEditorDialog ()
Profile profile () const

Private Slots

void slotConActivated (const QString &)
void slotTermActivated (const QString &)
void slotKeyActivated (const QString &)

Private Member Functions

void initUI ()
QString profName () const
QCString profType () const

Private Attributes

MetaFactorym_fact
QHBoxLayout * m_lay
Profile m_prof
QLineEdit * m_name
QComboBox * m_conCmb
QComboBox * m_termCmb
QCheckBox * m_autoConnect
QScrollView * m_svCon
QScrollView * m_svTerm
QWidget * m_tabCon
QWidget * m_tabTerm
QWidget * m_tabKey
ProfileDialogWidgetm_con
ProfileDialogWidgetm_term
ProfileDialogWidgetm_key
QHBoxLayout * m_layCon
QHBoxLayout * m_layTerm
QHBoxLayout * m_layKey
Opie::Ui::OTabWidgettabWidget
QWidget * tabprof
int m_showconntab

Constructor & Destructor Documentation

ProfileEditorDialog::ProfileEditorDialog MetaFactory fact,
const Profile prof
 

Definition at line 19 of file profileeditordialog.cpp.

References initUI().

ProfileEditorDialog::ProfileEditorDialog MetaFactory fact  ) 
 

Definition at line 30 of file profileeditordialog.cpp.

References Profile::Black, initUI(), m_prof, tr, Profile::VT102, and Profile::White.

ProfileEditorDialog::~ProfileEditorDialog  ) 
 

Definition at line 138 of file profileeditordialog.cpp.


Member Function Documentation

void ProfileEditorDialog::accept  )  [slot]
 

Definition at line 141 of file profileeditordialog.cpp.

References MetaFactory::internal(), m_autoConnect, m_con, m_conCmb, m_fact, m_key, m_prof, m_term, m_termCmb, profName(), ProfileDialogWidget::save(), Profile::setAutoConnect(), Profile::setIOLayer(), Profile::setName(), Profile::setTerminalName(), and tr.

void ProfileEditorDialog::initUI  )  [private]
 

Definition at line 47 of file profileeditordialog.cpp.

References Profile::autoConnect(), QValueList< T >::begin(), MetaFactory::connectionWidgets(), QValueList< T >::end(), MetaFactory::external(), Profile::ioLayerName(), l, list, m_autoConnect, m_con, m_conCmb, m_fact, m_key, m_layCon, m_layKey, m_layTerm, m_name, m_prof, m_showconntab, m_svCon, m_svTerm, m_tabCon, m_tabKey, m_tabTerm, m_term, m_termCmb, Profile::name(), name, ComboboxHelper::setCurrent(), Opie::Ui::OTabWidget::setTabStyle(), slotConActivated(), slotKeyActivated(), slotTermActivated(), tabprof, tabWidget, Profile::terminalName(), MetaFactory::terminalWidgets(), OTabWidget::TextTab, and tr.

Referenced by ProfileEditorDialog().

Profile ProfileEditorDialog::profile  )  const
 

Definition at line 42 of file profileeditordialog.cpp.

References m_prof.

Referenced by ConfigDialog::slotAdd(), and ConfigDialog::slotEdit().

QString ProfileEditorDialog::profName  )  const [private]
 

Definition at line 170 of file profileeditordialog.cpp.

References m_name.

Referenced by accept().

QCString ProfileEditorDialog::profType  )  const [private]
 

Definition at line 175 of file profileeditordialog.cpp.

void ProfileEditorDialog::slotConActivated const QString  )  [private, slot]
 

Definition at line 186 of file profileeditordialog.cpp.

References MetaFactory::external(), Profile::Linux, ProfileDialogWidget::load(), m_autoConnect, m_con, m_conCmb, m_fact, m_prof, m_svCon, MetaFactory::newConnectionPlugin(), slotTermActivated(), Profile::terminalName(), tr, Profile::VT102, and Profile::writeEntry().

Referenced by initUI().

void ProfileEditorDialog::slotKeyActivated const QString  )  [private, slot]
 

Definition at line 228 of file profileeditordialog.cpp.

References m_fact, m_key, m_layKey, m_prof, m_tabKey, and MetaFactory::newKeyboardPlugin().

Referenced by initUI().

void ProfileEditorDialog::slotTermActivated const QString  )  [private, slot]
 

Definition at line 216 of file profileeditordialog.cpp.

References ProfileDialogWidget::load(), m_fact, m_prof, m_svTerm, m_term, and MetaFactory::newTerminalPlugin().

Referenced by initUI(), and slotConActivated().


Member Data Documentation

QCheckBox* ProfileEditorDialog::m_autoConnect [private]
 

Definition at line 49 of file profileeditordialog.h.

Referenced by accept(), initUI(), and slotConActivated().

ProfileDialogWidget* ProfileEditorDialog::m_con [private]
 

Definition at line 54 of file profileeditordialog.h.

Referenced by accept(), initUI(), and slotConActivated().

QComboBox* ProfileEditorDialog::m_conCmb [private]
 

Definition at line 48 of file profileeditordialog.h.

Referenced by accept(), initUI(), and slotConActivated().

MetaFactory* ProfileEditorDialog::m_fact [private]
 

Definition at line 43 of file profileeditordialog.h.

Referenced by accept(), initUI(), slotConActivated(), slotKeyActivated(), and slotTermActivated().

ProfileDialogWidget * ProfileEditorDialog::m_key [private]
 

Definition at line 54 of file profileeditordialog.h.

Referenced by accept(), initUI(), and slotKeyActivated().

QHBoxLayout* ProfileEditorDialog::m_lay [private]
 

Definition at line 44 of file profileeditordialog.h.

QHBoxLayout* ProfileEditorDialog::m_layCon [private]
 

Definition at line 55 of file profileeditordialog.h.

Referenced by initUI().

QHBoxLayout * ProfileEditorDialog::m_layKey [private]
 

Definition at line 55 of file profileeditordialog.h.

Referenced by initUI(), and slotKeyActivated().

QHBoxLayout * ProfileEditorDialog::m_layTerm [private]
 

Definition at line 55 of file profileeditordialog.h.

Referenced by initUI().

QLineEdit* ProfileEditorDialog::m_name [private]
 

Definition at line 47 of file profileeditordialog.h.

Referenced by initUI(), and profName().

Profile ProfileEditorDialog::m_prof [private]
 

Definition at line 45 of file profileeditordialog.h.

Referenced by accept(), initUI(), profile(), ProfileEditorDialog(), slotConActivated(), slotKeyActivated(), and slotTermActivated().

int ProfileEditorDialog::m_showconntab [private]
 

Definition at line 58 of file profileeditordialog.h.

Referenced by initUI().

QScrollView* ProfileEditorDialog::m_svCon [private]
 

Definition at line 51 of file profileeditordialog.h.

Referenced by initUI(), and slotConActivated().

QScrollView * ProfileEditorDialog::m_svTerm [private]
 

Definition at line 51 of file profileeditordialog.h.

Referenced by initUI(), and slotTermActivated().

QWidget* ProfileEditorDialog::m_tabCon [private]
 

Definition at line 53 of file profileeditordialog.h.

Referenced by initUI().

QWidget * ProfileEditorDialog::m_tabKey [private]
 

Definition at line 53 of file profileeditordialog.h.

Referenced by initUI(), and slotKeyActivated().

QWidget * ProfileEditorDialog::m_tabTerm [private]
 

Definition at line 53 of file profileeditordialog.h.

Referenced by initUI().

ProfileDialogWidget * ProfileEditorDialog::m_term [private]
 

Definition at line 54 of file profileeditordialog.h.

Referenced by accept(), initUI(), and slotTermActivated().

QComboBox * ProfileEditorDialog::m_termCmb [private]
 

Definition at line 48 of file profileeditordialog.h.

Referenced by accept(), and initUI().

QWidget* ProfileEditorDialog::tabprof [private]
 

Definition at line 57 of file profileeditordialog.h.

Referenced by initUI().

Opie::Ui::OTabWidget* ProfileEditorDialog::tabWidget [private]
 

Definition at line 56 of file profileeditordialog.h.

Referenced by initUI().


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