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

TVKeyEdit Class Reference

#include </home/clem/local/src/opie/noncore/apps/tableviewer/ui/tvkeyedit.h>

Collaboration diagram for TVKeyEdit:

Collaboration graph
[legend]
List of all members.

Signals

void listView ()
void browseView ()

Public Member Functions

 TVKeyEdit (TableState *ts, QWidget *parent=0, const char *name=0, WFlags fl=0)
 ~TVKeyEdit ()

Static Public Member Functions

static KeyListopenEditKeysDialog (TableState *ts, QWidget *parent)

Protected Slots

void newTerm ()
void deleteTerm ()
void clearTerms ()
void updateTerm (int)
void updateTerm (const QString &)
void setTerm (QListViewItem *)

Private Attributes

TableStatets
int num_keys
KeyList working_state

Constructor & Destructor Documentation

TVKeyEdit::TVKeyEdit TableState ts,
QWidget *  parent = 0,
const char *  name = 0,
WFlags  fl = 0
 

Definition at line 97 of file tvkeyedit.cpp.

References QIntDictIterator< type >::current(), QIntDictIterator< type >::currentKey(), FALSE, KeyList::getNumFields(), i, _TableState::kRep, num_keys, setTerm(), QPEApplication::showDialog(), ts, TVVariant::typeToName(), KeyList::validIndex(), and working_state.

Referenced by openEditKeysDialog().

TVKeyEdit::~TVKeyEdit  ) 
 

Destroys the TVKeyEdit widget

Definition at line 147 of file tvkeyedit.cpp.


Member Function Documentation

void TVKeyEdit::browseView  )  [signal]
 

void TVKeyEdit::clearTerms  )  [protected, slot]
 

Definition at line 220 of file tvkeyedit.cpp.

References deleteTerm(), and warning().

void TVKeyEdit::deleteTerm  )  [protected, slot]
 

Definition at line 203 of file tvkeyedit.cpp.

References FALSE, TVKEListViewItem::getPos(), i, KeyList::setDeleteFlag(), TRUE, and working_state.

Referenced by clearTerms().

void TVKeyEdit::listView  )  [signal]
 

void TVKeyEdit::newTerm  )  [protected, slot]
 

Definition at line 152 of file tvkeyedit.cpp.

References KeyList::addKey(), i, num_keys, setTerm(), TVVariant::String, TRUE, and working_state.

KeyList * TVKeyEdit::openEditKeysDialog TableState ts,
QWidget *  parent
[static]
 

Definition at line 241 of file tvkeyedit.cpp.

References TVKeyEdit(), and working_state.

Referenced by TableViewerWindow::editKeysSlot().

void TVKeyEdit::setTerm QListViewItem *   )  [protected, slot]
 

Definition at line 232 of file tvkeyedit.cpp.

References t.

Referenced by newTerm(), and TVKeyEdit().

void TVKeyEdit::updateTerm const QString  )  [protected, slot]
 

Definition at line 175 of file tvkeyedit.cpp.

References TVKEListViewItem::getPos(), i, KeyList::setKeyName(), TVKEListViewItem::setName(), and working_state.

void TVKeyEdit::updateTerm int   )  [protected, slot]
 

Definition at line 186 of file tvkeyedit.cpp.

References TVKEListViewItem::getPos(), i, KeyList::setKeyType(), TVKEListViewItem::setKeyType(), and working_state.


Member Data Documentation

int TVKeyEdit::num_keys [private]
 

Definition at line 52 of file tvkeyedit.h.

Referenced by newTerm(), and TVKeyEdit().

TableState* TVKeyEdit::ts [private]
 

Definition at line 51 of file tvkeyedit.h.

Referenced by TVKeyEdit().

KeyList TVKeyEdit::working_state [private]
 

Definition at line 53 of file tvkeyedit.h.

Referenced by deleteTerm(), newTerm(), openEditKeysDialog(), TVKeyEdit(), and updateTerm().


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