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

ODict Class Reference

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

Collaboration diagram for ODict:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ODict (QWidget *parent=0, const char *name=0, WFlags fl=0)

Static Public Member Functions

static QString appName ()

Public Attributes

QVBox * vbox
QTextBrowser * browser_top
QTextBrowser * browser_bottom
DingWidgetding

Private Slots

void slotStartQuery ()
void slotSettings ()
void slotSetParameter (int)
void slotMethodChanged (const QString &)

Private Member Functions

void setupMenus ()
void loadConfig ()
void saveConfig ()
void lookupLanguageNames (QString)

Private Attributes

QPopupMenu * help
QPopupMenu * settings
QPopupMenu * parameter
QMenuBar * menu
QHBox * hbox
QLineEdit * query_le
QComboBox * query_co
QPushButton * ok_button
QVBoxLayout * vbox_layout
QAction * setting_a
QAction * setting_b
bool casesens
bool completewords
QString activated_name
QLabel * bottom_name
QLabel * top_name
QString top_name_content
QString bottom_name_content

Constructor & Destructor Documentation

ODict::ODict QWidget *  parent = 0,
const char *  name = 0,
WFlags  fl = 0
 

Definition at line 35 of file odict.cpp.

References activated_name, bottom_name, browser_bottom, browser_top, ding, hbox, loadConfig(), QString::null, ok_button, query_co, query_le, setupMenus(), slotMethodChanged(), slotStartQuery(), top_name, tr, and vbox.


Member Function Documentation

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

Definition at line 37 of file odict.h.

References QString::fromLatin1().

void ODict::loadConfig  )  [private]
 

Definition at line 65 of file odict.cpp.

References QValueList< T >::begin(), bottom_name, bottom_name_content, casesens, ding, QValueList< T >::end(), i, DingWidget::loadDict(), DingWidget::loadValues(), lookupLanguageNames(), name, QString::null, query_co, Config::readEntry(), Config::setGroup(), top_name, and top_name_content.

Referenced by ODict().

void ODict::lookupLanguageNames QString   )  [private]
 

Definition at line 114 of file odict.cpp.

References bottom_name_content, Config::readEntry(), Config::setGroup(), and top_name_content.

Referenced by loadConfig(), and slotMethodChanged().

void ODict::saveConfig  )  [private]
 

Definition at line 122 of file odict.cpp.

References casesens, query_co, Config::setGroup(), and Config::writeEntry().

Referenced by slotSetParameter(), and slotSettings().

void ODict::setupMenus  )  [private]
 

Definition at line 201 of file odict.cpp.

References Opie::Core::OResource::loadPixmap(), QString::null, parameter, setting_a, setting_b, settings, slotSetParameter(), slotSettings(), Opie::Core::OResource::SmallIcon, and tr.

Referenced by ODict().

void ODict::slotMethodChanged const QString  )  [private, slot]
 

Definition at line 187 of file odict.cpp.

References activated_name, bottom_name, bottom_name_content, ding, DingWidget::loadDict(), DingWidget::loadedDict(), lookupLanguageNames(), top_name, and top_name_content.

Referenced by ODict().

void ODict::slotSetParameter int   )  [private, slot]
 

Definition at line 174 of file odict.cpp.

References casesens, and saveConfig().

Referenced by setupMenus().

void ODict::slotSettings  )  [private, slot]
 

Definition at line 167 of file odict.cpp.

References saveConfig().

Referenced by setupMenus(), and slotStartQuery().

void ODict::slotStartQuery  )  [private, slot]
 

Definition at line 130 of file odict.cpp.

References BroswerContent::bottom, browser_bottom, browser_top, casesens, ding, QString::isEmpty(), query_co, query_le, DingWidget::setCaseSensitive(), DingWidget::setText(), slotSettings(), BroswerContent::top, and tr.

Referenced by ODict().


Member Data Documentation

QString ODict::activated_name [private]
 

Definition at line 57 of file odict.h.

Referenced by ODict(), and slotMethodChanged().

QLabel* ODict::bottom_name [private]
 

Definition at line 58 of file odict.h.

Referenced by loadConfig(), ODict(), and slotMethodChanged().

QString ODict::bottom_name_content [private]
 

Definition at line 61 of file odict.h.

Referenced by loadConfig(), lookupLanguageNames(), and slotMethodChanged().

QTextBrowser * ODict::browser_bottom
 

Definition at line 34 of file odict.h.

Referenced by ODict(), and slotStartQuery().

QTextBrowser* ODict::browser_top
 

Definition at line 34 of file odict.h.

Referenced by ODict(), and slotStartQuery().

bool ODict::casesens [private]
 

Definition at line 52 of file odict.h.

Referenced by loadConfig(), saveConfig(), slotSetParameter(), and slotStartQuery().

bool ODict::completewords [private]
 

Definition at line 52 of file odict.h.

DingWidget* ODict::ding
 

Definition at line 36 of file odict.h.

Referenced by loadConfig(), ODict(), slotMethodChanged(), and slotStartQuery().

QHBox* ODict::hbox [private]
 

Definition at line 41 of file odict.h.

Referenced by ODict().

QPopupMenu* ODict::help [private]
 

Definition at line 39 of file odict.h.

QMenuBar* ODict::menu [private]
 

Definition at line 40 of file odict.h.

QPushButton* ODict::ok_button [private]
 

Definition at line 44 of file odict.h.

Referenced by ODict().

QPopupMenu * ODict::parameter [private]
 

Definition at line 39 of file odict.h.

Referenced by setupMenus().

QComboBox* ODict::query_co [private]
 

Definition at line 43 of file odict.h.

Referenced by loadConfig(), ODict(), saveConfig(), and slotStartQuery().

QLineEdit* ODict::query_le [private]
 

Definition at line 42 of file odict.h.

Referenced by ODict(), and slotStartQuery().

QAction* ODict::setting_a [private]
 

Definition at line 48 of file odict.h.

Referenced by setupMenus().

QAction * ODict::setting_b [private]
 

Definition at line 48 of file odict.h.

Referenced by setupMenus().

QPopupMenu * ODict::settings [private]
 

Definition at line 39 of file odict.h.

Referenced by setupMenus().

QLabel * ODict::top_name [private]
 

Definition at line 58 of file odict.h.

Referenced by loadConfig(), ODict(), and slotMethodChanged().

QString ODict::top_name_content [private]
 

Definition at line 61 of file odict.h.

Referenced by loadConfig(), lookupLanguageNames(), and slotMethodChanged().

QVBox* ODict::vbox
 

Definition at line 33 of file odict.h.

Referenced by ODict().

QVBoxLayout* ODict::vbox_layout [private]
 

Definition at line 46 of file odict.h.


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